From: Guido van Rossum Date: Sun, 27 May 2007 09:21:59 +0000 (+0000) Subject: Get rid of a test for repr() of a file object. X-Git-Tag: v3.0a1~853 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=644e149b111064c77743be89a948b710350f3d49;p=thirdparty%2FPython%2Fcpython.git Get rid of a test for repr() of a file object. --- diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index bcb5a32b3936..5059c08c9884 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( - "