Message320044
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2018年06月20日.09:59:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1529488764.99.0.56676864532.issue33912@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
vstinner@apu$ ./python -W error -m test -v test_warnings
======================================================================
ERROR: test_exec_filename (test.test_warnings.CWarnTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vstinner/prog/python/master/Lib/test/test_warnings/__init__.py", line 450, in test_exec_filename
exec(codeobj)
File "<warnings-test>", line 2, in <module>
UserWarning: hello
======================================================================
ERROR: test_exec_filename (test.test_warnings.PyWarnTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vstinner/prog/python/master/Lib/test/test_warnings/__init__.py", line 450, in test_exec_filename
exec(codeobj)
File "<warnings-test>", line 2, in <module>
File "/home/vstinner/prog/python/master/Lib/warnings.py", line 318, in warn
globals, source)
File "/home/vstinner/prog/python/master/Lib/warnings.py", line 363, in warn_explicit
raise message
UserWarning: hello
It seems to be a regression introduced by bpo-33375: commit 11a896652ee98aa44e59ed25237f9efb56635dcf. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年06月20日 09:59:25 | vstinner | set | recipients:
+ vstinner |
| 2018年06月20日 09:59:24 | vstinner | set | messageid: <1529488764.99.0.56676864532.issue33912@psf.upfronthosting.co.za> |
| 2018年06月20日 09:59:24 | vstinner | link | issue33912 messages |
| 2018年06月20日 09:59:24 | vstinner | create |
|