From 3fb156caa4373e90d1e853f03dc58151ad9ffec8 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 18 Apr 2010 23:05:22 +0000 Subject: Issue 8436: set.__init__ accepts keyword args --- Lib/test/test_set.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/test') diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 1e0a909c0a..627c48c51b 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -48,6 +48,7 @@ class TestJointOps(unittest.TestCase): def test_new_or_init(self): self.assertRaises(TypeError, self.thetype, [], 2) + self.assertRaises(TypeError, set().__init__, a=1) def test_uniquification(self): actual = sorted(self.s) -- cgit v1.2.1