Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
56e444f8df34cd502d6e3b110c90aed086883a72
/
Lib
/
test
/
test_warnings.py
40d736b
[2.7] bpo-31285: Don't raise a SystemError in warnings.warn_explicit() in case __loader__.get_source() has a bad splitlines() method. (GH-3219) (#3823)
by Oren Milman
· 8 years ago
004547f
[2.7] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry is not a dictionary. (GH-3485). (#3493)
by Serhiy Storchaka
· 8 years ago
cdb8be4
Issue #27528: Document and test warning messages must match at beginning
by Martin Panter
· 9 years ago
ccff2bb
Issue #23029: Fix catch_warnings() in test_filename_none
by Berker Peksag
· 9 years ago
f40fcb3
Issue #23637: Showing a warning no longer fails with UnicodeErrror.
by Serhiy Storchaka
· 10 years ago
e6b4243
Issue #23016: A warning no longer produces an AttributeError when sys.stderr
by Serhiy Storchaka
· 11 years ago
0140845
Issue #22191: Fix warnings.__all__.
by Brett Cannon
· 11 years ago
1f70221
Issue #19572: More silently skipped tests explicitly skipped.
by Zachary Ware
· 12 years ago
32e23e7
Issue #18702: All skipped tests now reported as skipped.
by Serhiy Storchaka
· 12 years ago
65c1535
Issue #12467: warnings: fix a race condition if a warning is emitted at
by Victor Stinner
· 14 years ago
c2077b0
#11565: Fix several typos. Patch by Piotr Kasprzyk.
by Ezio Melotti
· 14 years ago
2623a37
Merged revisions 86596 via svnmerge from
by Ezio Melotti
· 15 years ago
9c9e1b9
I'm only backporting the tests here.
by Antoine Pitrou
· 15 years ago
cdd98fb
fix PYTHONWARNINGS handling to not modify the original env value and improve
by Philip Jenvey
· 15 years ago
aebbaeb
#7301: add the environment variable $PYTHONWARNINGS to supplement the -W
by Philip Jenvey
· 15 years ago
fd37dd4
Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest"
by Florent Xicluna
· 15 years ago
7358854
#8155: Preserve backward compatibility for test_support.check_warnings(). Add regression tests.
by Florent Xicluna
· 15 years ago
aa98058
use assert[Not]In where appropriate
by Ezio Melotti
· 16 years ago
e78e5d2
Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
by Hirokazu Yamamoto
· 16 years ago
5c8da86
convert usage of fail* to assert*
by Benjamin Peterson
· 16 years ago
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
· 16 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
· 16 years ago
ce3d221
test_warnings ironically had a single test that was not protecting the warnings
by Brett Cannon
· 16 years ago
15ba4da
_warnings was importing itself to get an attribute. That's bad if warnings gets
by Brett Cannon
· 16 years ago
6c4cff0
Require implementations for warnings.showwarning() support the 'line' argument.
by Brett Cannon
· 16 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
· 17 years ago
672237d
warnings.catch_warnings() now returns a list or None instead of the custom
by Brett Cannon
· 17 years ago
32476fc
Deprecate bsddb for removal in Python 3.0.
by Brett Cannon
· 17 years ago
1eaf074
Move test.test_support.catch_warning() to the warnings module, rename it
by Brett Cannon
· 17 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
· 17 years ago
dea1b56
warnings.warn_explicit() did not have the proper TypeErrors in place to prevent
by Brett Cannon
· 17 years ago
8859822
Fix another "refleak" by clearing the filters after test.
by Georg Brandl
· 17 years ago
d295032
Fix logic error in Python/_warnings.c and add a test to verify
by Benjamin Peterson
· 17 years ago
e3dcb01
Fix a bug in the handling of the stacklevel argument in warnings.warn() where
by Brett Cannon
· 17 years ago
8a232cc
Add a DeprecationWarning for when warnings.showwarning() is set to a function
by Brett Cannon
· 17 years ago
64a4bbe
Fix the C implementation of 'warnings' to infer the filename of the module that
by Brett Cannon
· 17 years ago
607bff1
Some tests did not pass on repeated calls (regrtest -R::)
by Amaury Forgeot d'Arc
· 17 years ago
c477427
Fix spliting on colons on Windows machines with a file path by limiting the
by Brett Cannon
· 17 years ago
25bb818
Add an explicit check for output in a test to try to diagnose a failure on
by Brett Cannon
· 17 years ago
667bb4f
Fix test_warnings by making the state of things more consistent for each test
by Brett Cannon
· 17 years ago
e974689
Re-implement the 'warnings' module in C. This allows for usage of the
by Brett Cannon
· 17 years ago
905c31c
Add tests for the warnings module; specifically formatwarning and showwarning.
by Brett Cannon
· 18 years ago
855da6c
Make test_warnings re-entrant.
by Brett Cannon
· 18 years ago
2ee4128
Remove test.test_support.guard_warnings_filter.
by Brett Cannon
· 18 years ago
e6dae6c
Implement a contextmanager test.test_support.catch_warning that can
by Walter Dörwald
· 18 years ago
e1a9b42
Add tests for the filename.
by Walter Dörwald
· 18 years ago
8bd6500
Document that CatchWarningTests is reused by test_structmembers.py.
by Walter Dörwald
· 18 years ago
d815d35
Move the functionality for catching warnings in test_warnings.py into a separate
by Walter Dörwald
· 18 years ago
3249d00
Whitespace normalization.
by Tim Peters
· 19 years ago
53ab5b7
'warning's was improperly requiring that a command-line Warning category be
by Brett Cannon
· 19 years ago
767833d
Make test_warnings play nice with regrtest -R:: now that regrtest doesn't
by Thomas Wouters
· 19 years ago
ce4a9c9
Fix tests so they pass in -R mode
by Neal Norwitz
· 19 years ago
be66e94
Don't filter out OverflowWarning; should be a test failure if it is raised by
by Brett Cannon
· 19 years ago
c885443
Stop producing or using OverflowWarning. PEP 237 thought this would
by Tim Peters
· 21 years ago
d6f6e50
Reworked test_warnings.py:
by Raymond Hettinger
· 22 years ago
dc9dcf1
This test failed on WindowsME because the full file path did not get
by Raymond Hettinger
· 22 years ago
b6d2f3e
Don't include slash in search string; it's OS-specific.
by Jeremy Hylton
· 22 years ago
8501466
Change warnings to avoid importing re module during startup.
by Jeremy Hylton
· 22 years ago