summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-12-01 21:55:40 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-12-01 21:55:40 (GMT)
commit2f9a77a389c4182d4960b8b143c4c456a16ea5f3 (patch)
treefa734c4a7430f6d38fc5250226a185d42392df7e /Lib/test
parent41e422a4ffd2c9ce778b1d03180b4aa758dc6fc9 (diff)
downloadcpython-2f9a77a389c4182d4960b8b143c4c456a16ea5f3.zip
cpython-2f9a77a389c4182d4960b8b143c4c456a16ea5f3.tar.gz
cpython-2f9a77a389c4182d4960b8b143c4c456a16ea5f3.tar.bz2
Reverted unintended change from r86916
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_inspect.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index b322f7d..71f0e8a 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -12,7 +12,6 @@ from test.support import run_unittest
from test import inspect_fodder as mod
from test import inspect_fodder2 as mod2
-from test import inspect_fodder3 as mod3
# C module for test_findsource_binary
import unicodedata
@@ -389,12 +388,6 @@ class TestBuggyCases(GetSourceBase):
self.assertEqual(inspect.findsource(co), (lines,0))
self.assertEqual(inspect.getsource(co), lines[0])
-class TestNoEOF(GetSourceBase):
- fodderFile = mod3
-
- def test_class(self):
- self.assertSourceEqual(mod3.X, 1, 2)
-
# Helper for testing classify_class_attrs.
def attrs_wo_objs(cls):
return [t[:3] for t in inspect.classify_class_attrs(cls)]