mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Reverted unintended change from r86916
This commit is contained in:
parent
41e422a4ff
commit
2f9a77a389
1 changed files with 0 additions and 7 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue