diff options
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/test_set.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 01dded6..aab0c57 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -23,6 +23,9 @@ class TestJointOps(unittest.TestCase): self.s = self.thetype(word) self.d = dict.fromkeys(word) + def test_new_or_init(self): + self.assertRaises(TypeError, self.thetype, [], 2) + def test_uniquification(self): actual = sorted(self.s) expected = sorted(self.d) |
