[Python-checkins] python/dist/src/Lib/test test_set.py,1.14,1.15
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Sep 28 03:51:37 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4767/Lib/test
Modified Files:
test_set.py
Log Message:
Use Py_CLEAR(). Add unrelated test.
Index: test_set.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_set.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- test_set.py 27 Sep 2004 15:29:05 -0000 1.14
+++ test_set.py 28 Sep 2004 01:51:35 -0000 1.15
@@ -23,6 +23,9 @@
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)
More information about the Python-checkins
mailing list