diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-16 10:16:23 +0100 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-16 10:16:23 +0100 |
commit | 378f3847066c4c861d7f4d6182c9ada64a8e4db6 (patch) | |
tree | 97aaecc46b6197d537e62827016f5250de2407ac /test | |
parent | 956046f3a1ed8c27152e60912b16ffdb18448f27 (diff) | |
download | logilab-common-378f3847066c4c861d7f4d6182c9ada64a8e4db6.tar.gz |
cleanup: remove strange ghost files
Diffstat (limited to 'test')
-rw-r--r-- | test/foomod.py | 17 | ||||
-rw-r--r-- | test/input/func_noerror_decorator_scope.py | 16 |
2 files changed, 0 insertions, 33 deletions
diff --git a/test/foomod.py b/test/foomod.py deleted file mode 100644 index 05337e5..0000000 --- a/test/foomod.py +++ /dev/null @@ -1,17 +0,0 @@ -"""fake module for logilb.common.bind's unit tests""" - -__revision__ = '$Id: foomod.py,v 1.1 2005-02-15 17:06:08 adim Exp $' - -VAR1 = 'var1' -VAR2 = 'var2' - -def f1(): - return 'a' - -def f2(): - global VAR1 - VAR1 = 'a' - -def f3(): - global VAR1 - VAR1 = 'b' diff --git a/test/input/func_noerror_decorator_scope.py b/test/input/func_noerror_decorator_scope.py deleted file mode 100644 index 1d21522..0000000 --- a/test/input/func_noerror_decorator_scope.py +++ /dev/null @@ -1,16 +0,0 @@ -"""Test that decorators sees the class namespace - just like -function default values does but function body doesn't. - -https://www.logilab.net/elo/ticket/3711 - bug finding decorator arguments -https://www.logilab.net/elo/ticket/5626 - name resolution bug inside classes -""" - -class Test: - - ident = lambda x: x - - @ident(ident) - def f(self, val=ident(7), f=ident): - return f(val) - -print Test().f() |