Message295370
Reproduced locally using unit tests:
+ def test_varargs0_kw(self):
+ msg = r"bool\(\) takes no keyword arguments"
+ self.assertRaisesRegex(TypeError, msg, bool, x=2)
+
giving:
Traceback (most recent call last):
File "/home/josay/Geekage/PythonRgr/cpython/Lib/test/test_call.py", line 136, in test_varargs0_kw
self.assertRaisesRegex(TypeError, msg, bool, x=2)
AssertionError: "bool\(\) takes no keyword arguments" does not match "bool()() takes no keyword arguments" |
|
Date |
User |
Action |
Args |
2017-06-07 21:09:09 | SylvainDe | set | recipients:
+ SylvainDe, serhiy.storchaka |
2017-06-07 21:09:09 | SylvainDe | set | messageid: <1496869749.6.0.991695673744.issue30592@psf.upfronthosting.co.za> |
2017-06-07 21:09:09 | SylvainDe | link | issue30592 messages |
2017-06-07 21:09:09 | SylvainDe | create | |
|