Changes between Initial Version and Version 1 of Ticket #1741, comment 6
- Timestamp:
- 2012-06-22T13:42:55Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1741, comment 6
initial v1 1 What I was thinking was that we could display unexpected warnings (captured using [http://docs.python.org/library/logging.html#logging.captureWarnings logging.captureWarnings] in a test that gets run last. That would mean that previous tests will have imported or exercised any code that would have caused a warning, whereas a standalone command option wouldn't necessarily do that. Then the definition of which warnings are expected would go just in that test, rather than being used by [source:src/allmydata/__init__.py].1 What I was thinking was that we could display unexpected warnings (captured using [http://docs.python.org/library/logging.html#logging.captureWarnings logging.captureWarnings]) in a test that gets run last. That would mean that previous tests will have imported or exercised any code that would have caused a warning, whereas a standalone command option wouldn't necessarily do that. Then the definition of which warnings are expected would go just in that test, rather than being used by [source:src/allmydata/__init__.py].