Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
5533ff6a2ea1560cf6700c07096f34c5b9bf5874
/
Lib
/
test
/
test_warnings.py
5533ff6
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
by Nick Coghlan
· 15 years ago
cd2e704
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
by Nick Coghlan
· 15 years ago
ce3d221
test_warnings ironically had a single test that was not protecting the warnings
by Brett Cannon
· 15 years ago
15ba4da
_warnings was importing itself to get an attribute. That's bad if warnings gets
by Brett Cannon
· 15 years ago
6c4cff0
Require implementations for warnings.showwarning() support the 'line' argument.
by Brett Cannon
· 15 years ago
d2e0938
Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
by Nick Coghlan
· 16 years ago
672237d
warnings.catch_warnings() now returns a list or None instead of the custom
by Brett Cannon
· 16 years ago
32476fc
Deprecate bsddb for removal in Python 3.0.
by Brett Cannon
· 16 years ago
1eaf074
Move test.test_support.catch_warning() to the warnings module, rename it
by Brett Cannon
· 16 years ago
38469e2
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
by Nick Coghlan
· 16 years ago
dea1b56
warnings.warn_explicit() did not have the proper TypeErrors in place to prevent
by Brett Cannon
· 16 years ago
8859822
Fix another "refleak" by clearing the filters after test.
by Georg Brandl
· 16 years ago
d295032
Fix logic error in Python/_warnings.c and add a test to verify
by Benjamin Peterson
· 16 years ago
e3dcb01
Fix a bug in the handling of the stacklevel argument in warnings.warn() where
by Brett Cannon
· 16 years ago
8a232cc
Add a DeprecationWarning for when warnings.showwarning() is set to a function
by Brett Cannon
· 16 years ago
64a4bbe
Fix the C implementation of 'warnings' to infer the filename of the module that
by Brett Cannon
· 16 years ago
607bff1
Some tests did not pass on repeated calls (regrtest -R::)
by Amaury Forgeot d'Arc
· 16 years ago
c477427
Fix spliting on colons on Windows machines with a file path by limiting the
by Brett Cannon
· 16 years ago
25bb818
Add an explicit check for output in a test to try to diagnose a failure on
by Brett Cannon
· 16 years ago
667bb4f
Fix test_warnings by making the state of things more consistent for each test
by Brett Cannon
· 16 years ago
e974689
Re-implement the 'warnings' module in C. This allows for usage of the
by Brett Cannon
· 16 years ago
905c31c
Add tests for the warnings module; specifically formatwarning and showwarning.
by Brett Cannon
· 17 years ago
855da6c
Make test_warnings re-entrant.
by Brett Cannon
· 17 years ago
2ee4128
Remove test.test_support.guard_warnings_filter.
by Brett Cannon
· 17 years ago
e6dae6c
Implement a contextmanager test.test_support.catch_warning that can
by Walter Dörwald
· 17 years ago
e1a9b42
Add tests for the filename.
by Walter Dörwald
· 17 years ago
8bd6500
Document that CatchWarningTests is reused by test_structmembers.py.
by Walter Dörwald
· 17 years ago
d815d35
Move the functionality for catching warnings in test_warnings.py into a separate
by Walter Dörwald
· 17 years ago
3249d00
Whitespace normalization.
by Tim Peters
· 18 years ago
53ab5b7
'warning's was improperly requiring that a command-line Warning category be
by Brett Cannon
· 18 years ago
767833d
Make test_warnings play nice with regrtest -R:: now that regrtest doesn't
by Thomas Wouters
· 18 years ago
ce4a9c9
Fix tests so they pass in -R mode
by Neal Norwitz
· 18 years ago
be66e94
Don't filter out OverflowWarning; should be a test failure if it is raised by
by Brett Cannon
· 18 years ago
c885443
Stop producing or using OverflowWarning. PEP 237 thought this would
by Tim Peters
· 20 years ago
d6f6e50
Reworked test_warnings.py:
by Raymond Hettinger
· 21 years ago
dc9dcf1
This test failed on WindowsME because the full file path did not get
by Raymond Hettinger
· 21 years ago
b6d2f3e
Don't include slash in search string; it's OS-specific.
by Jeremy Hylton
· 21 years ago
8501466
Change warnings to avoid importing re module during startup.
by Jeremy Hylton
· 21 years ago