diff options
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index cd8f565..f3c72e7 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -336,21 +336,6 @@ class SysModuleTest(unittest.TestCase): def test_clear_type_cache(self): sys._clear_type_cache() - def test_compact_freelists(self): - sys._compact_freelists() - r = sys._compact_freelists() - ## freed blocks shouldn't change - #self.assertEqual(r[0][2], 0) - ## fill freelists - #ints = list(range(10000)) - #floats = [float(i) for i in ints] - #del ints - #del floats - ## should free more than 100 blocks - #r = sys._compact_freelists() - #self.assert_(r[0][1] > 100, r[0][1]) - #self.assert_(r[0][2] > 100, r[0][2]) - def test_ioencoding(self): import subprocess,os env = dict(os.environ) |