From: Alexander Belopolsky Date: Wed, 1 Dec 2010 21:55:40 +0000 (+0000) Subject: Reverted unintended change from r86916 X-Git-Tag: v3.2b1~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f9a77a389c4182d4960b8b143c4c456a16ea5f3;p=python Reverted unintended change from r86916 --- diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index b322f7dbdb..71f0e8aab9 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)]