From 644e149b111064c77743be89a948b710350f3d49 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 27 May 2007 09:21:59 +0000 Subject: [PATCH] Get rid of a test for repr() of a file object. --- Lib/test/test_repr.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index bcb5a32b393..5059c08c988 100644 --- a/Lib/test/test_repr.py +++ b/Lib/test/test_repr.py @@ -114,14 +114,6 @@ class ReprTests(unittest.TestCase): self.failUnless(s.endswith(">")) self.failUnless(s.find("...") in [12, 13]) - def test_file(self): - fp = open(unittest.__file__) - self.failUnless(repr(fp).startswith( - "