[Python-checkins] python/dist/src/Lib/test test_sort.py,1.9,1.10
mwh at users.sourceforge.net
mwh at users.sourceforge.net
Thu Dec 4 06:41:26 EST 2003
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv23509/Lib/test
Modified Files:
test_sort.py
Log Message:
Remove extra copy of test_key_with_exception that somehow appeared
during a CVS merge.
Index: test_sort.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_sort.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** test_sort.py 4 Dec 2003 11:25:45 -0000 1.9
--- test_sort.py 4 Dec 2003 11:41:24 -0000 1.10
***************
*** 232,242 ****
## date (this cost some brain cells to figure out...).
- def test_key_with_exception(self):
- # Verify that the wrapper has been removed
- data = range(-2,2)
- dup = data[:]
- self.assertRaises(ZeroDivisionError, data.sort, None, lambda x: 1/x)
- self.assertEqual(data, dup)
-
def test_reverse(self):
data = range(100)
--- 232,235 ----
More information about the Python-checkins
mailing list