From 51802e97840cddef68e02ea27bd0322b57a31d52 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 1 Aug 2016 14:57:58 +0200 Subject: [PATCH] Fix a test that was actually wrong in Python 2.7 (not working). --- test/completion/decorators.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/completion/decorators.py b/test/completion/decorators.py index 97460a4a..702c3f39 100644 --- a/test/completion/decorators.py +++ b/test/completion/decorators.py @@ -168,12 +168,12 @@ class JustAClass: def a(self): return 1 -#? ['__closure__'] -JustAClass().a.__closure__ +#? ['__call__'] +JustAClass().a.__call__ #? int() JustAClass().a() -#? ['__closure__'] -JustAClass.a.__closure__ +#? ['__call__'] +JustAClass.a.__call__ #? int() JustAClass.a()