diff options
| author | Raymond Hettinger <python@rcn.com> | 2010-04-18 23:05:22 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2010-04-18 23:05:22 (GMT) |
| commit | 3fb156caa4373e90d1e853f03dc58151ad9ffec8 (patch) | |
| tree | cf46fb7f57c1759606c0b0ba613fe4ea7e736e49 /Lib/test/test_set.py | |
| parent | 2db462dc6945a2e1af27d6670d1c6749b502a86f (diff) | |
| download | cpython-3fb156caa4373e90d1e853f03dc58151ad9ffec8.zip cpython-3fb156caa4373e90d1e853f03dc58151ad9ffec8.tar.gz cpython-3fb156caa4373e90d1e853f03dc58151ad9ffec8.tar.bz2 | |
Issue 8436: set.__init__ accepts keyword args
Diffstat (limited to 'Lib/test/test_set.py')
| -rw-r--r-- | Lib/test/test_set.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 1e0a909..627c48c 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) |
