This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SylvainDe
Recipients SylvainDe, serhiy.storchaka
Date 2017-06-07.21:09:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496869749.6.0.991695673744.issue30592@psf.upfronthosting.co.za>
In-reply-to
Content
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"
History
Date User Action Args
2017-06-07 21:09:09SylvainDesetrecipients: + SylvainDe, serhiy.storchaka
2017-06-07 21:09:09SylvainDesetmessageid: <1496869749.6.0.991695673744.issue30592@psf.upfronthosting.co.za>
2017-06-07 21:09:09SylvainDelinkissue30592 messages
2017-06-07 21:09:09SylvainDecreate