From 1a4be5c91cd3fa898ac77f7715f893ac06acd813 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 3 Aug 2018 00:23:37 +0200 Subject: [PATCH] Bound methods are now working correctly in all Python versions. Therefore a test was wrong. --- test/test_evaluate/test_compiled.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/test_evaluate/test_compiled.py b/test/test_evaluate/test_compiled.py index a0b3ca81..86375ee9 100644 --- a/test/test_evaluate/test_compiled.py +++ b/test/test_evaluate/test_compiled.py @@ -70,11 +70,7 @@ def test_method_completion(Script, environment): foo = Foo() foo.bar.__func__''') - if environment.version_info.major > 2: - result = [] - else: - result = ['__func__'] - assert [c.name for c in Script(code).completions()] == result + assert [c.name for c in Script(code).completions()] == ['__func__'] def test_time_docstring(Script):