diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2008-12-19 21:12:36 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2008-12-19 21:12:36 +0000 |
| commit | 616aaf4b1fc83a87f7a49e0e81e8f7c9db6dbcad (patch) | |
| tree | eca5ff8ef89030731d682a14daebcc8cbd2245ac /lang/python30/files/patch-lib_seq_tests.py | |
| parent | 856c5bf9f133ae5d553d972d5a940586d3f56048 (diff) | |
Notes
Diffstat (limited to 'lang/python30/files/patch-lib_seq_tests.py')
| -rw-r--r-- | lang/python30/files/patch-lib_seq_tests.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lang/python30/files/patch-lib_seq_tests.py b/lang/python30/files/patch-lib_seq_tests.py deleted file mode 100644 index 9be35ae82517..000000000000 --- a/lang/python30/files/patch-lib_seq_tests.py +++ /dev/null @@ -1,21 +0,0 @@ ---- Lib/test/seq_tests.py.orig 2007-11-12 20:04:41.000000000 +0000 -+++ Lib/test/seq_tests.py 2008-08-30 10:16:13.000000000 +0100 -@@ -307,11 +307,13 @@ - self.assertEqual(id(s), id(s*1)) - - def test_bigrepeat(self): -- x = self.type2test([0]) -- x *= 2**16 -- self.assertRaises(MemoryError, x.__mul__, 2**16) -- if hasattr(x, '__imul__'): -- self.assertRaises(MemoryError, x.__imul__, 2**16) -+ import sys -+ if sys.maxint <= 2147483647: -+ x = self.type2test([0]) -+ x *= 2**16 -+ self.assertRaises(MemoryError, x.__mul__, 2**16) -+ if hasattr(x, '__imul__'): -+ self.assertRaises(MemoryError, x.__imul__, 2**16) - - def test_subscript(self): - a = self.type2test([10, 11]) |
