summaryrefslogtreecommitdiff
path: root/Lib/test/output/test_warnings
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/output/test_warnings')
-rw-r--r--Lib/test/output/test_warnings10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/output/test_warnings b/Lib/test/output/test_warnings
new file mode 100644
index 0000000000..9b45e42273
--- /dev/null
+++ b/Lib/test/output/test_warnings
@@ -0,0 +1,10 @@
+test_warnings
+('ignore', False, 'FutureWarning', False, 0)
+('ignore', True, 'OverflowWarning', True, 0)
+('ignore', True, 'PendingDeprecationWarning', True, 0)
+Lib/test/test_warnings.py:31: UserWarning: hello world
+Lib/test/test_warnings.py:32: UserWarning: hello world
+Lib/test/test_warnings.py:33: DeprecationWarning: hello world
+Lib/test/test_warnings.py:35: UserWarning: hello world
+Caught UserWarning: hello world
+Caught AssertionError: invalid action: 'booh'