commit | 35b76027f94b12911cc97f960ebbb3c137d10d2b | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Apr 18 22:57:57 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Apr 18 22:57:57 2010 +0000 |
tree | ecbcfd71602342e63491934e0eb744821b602ef6 | |
parent | 9958c56eb0e2b71c1bea5abcc627899d0bed17dc [diff] [blame] |
Issue 8436: set.__init__ accepts keyword args
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index b28022b..0c29017 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py
@@ -1,3 +1,4 @@ + import unittest from test import test_support import gc @@ -47,6 +48,7 @@ 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)