From 4d8029716f43ce9ebf5281d9e4ad294de6605acb Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 2 Oct 2012 22:57:39 +0200 Subject: [PATCH] tests for @gwrtheyrn :-) #23 --- test/completion/complex.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/completion/complex.py diff --git a/test/completion/complex.py b/test/completion/complex.py new file mode 100644 index 00000000..a116743f --- /dev/null +++ b/test/completion/complex.py @@ -0,0 +1,14 @@ +""" Mainly for stupid error reports of @gwrtheyrn. :-) """ + +import time + +class Foo(object): + global time + asdf = time + +def asdfy(): + return Foo + +xorz = getattr(asdfy()(), 'asdf') +#? time +xorz