diff options
author | Batuhan Taskaya <batuhanosmantaskaya@gmail.com> | 2020-11-11 07:14:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 07:14:12 (GMT) |
commit | fa476fe13255d0360f18528e864540d927560f66 (patch) | |
tree | db892dd4a66612b9ab5b7dd41d3bed49b918f66f /Lib/test/test_pyclbr.py | |
parent | 95ce7cd0a64e7f4739af2d1c158ef69b6980f12a (diff) | |
download | cpython-fa476fe13255d0360f18528e864540d927560f66.zip cpython-fa476fe13255d0360f18528e864540d927560f66.tar.gz cpython-fa476fe13255d0360f18528e864540d927560f66.tar.bz2 |
bpo-39411: pyclbr rewrite on AST (#18103)
- Rewrite pyclbr using an AST processor
- Add is_async to the pyclbr.Function
Diffstat (limited to 'Lib/test/test_pyclbr.py')
-rw-r--r-- | Lib/test/test_pyclbr.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py index 869799c..2c7afa9 100644 --- a/Lib/test/test_pyclbr.py +++ b/Lib/test/test_pyclbr.py @@ -150,9 +150,6 @@ class PyclbrTest(TestCase): self.checkModule('difflib', ignore=("Match",)) def test_decorators(self): - # XXX: See comment in pyclbr_input.py for a test that would fail - # if it were not commented out. - # self.checkModule('test.pyclbr_input', ignore=['om']) def test_nested(self): @@ -160,10 +157,10 @@ class PyclbrTest(TestCase): # Set arguments for descriptor creation and _creat_tree call. m, p, f, t, i = 'test', '', 'test.py', {}, None source = dedent("""\ - def f0: + def f0(): def f1(a,b,c): def f2(a=1, b=2, c=3): pass - return f1(a,b,d) + return f1(a,b,d) class c1: pass class C0: "Test class." |