summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-21 17:58:03 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-21 17:58:03 +0000
commit451e3c3115ff7601847a379737fa004f05cf28bf (patch)
tree895e3015c905c1e1f1846c228f932bf238abc45e /dev-python/astng/files
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-451e3c3115ff7601847a379737fa004f05cf28bf.tar.gz
gentoo-2-451e3c3115ff7601847a379737fa004f05cf28bf.tar.bz2
gentoo-2-451e3c3115ff7601847a379737fa004f05cf28bf.zip
Fix tests (bug #297468).
(Portage version: 15417-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/astng/files')
-rw-r--r--dev-python/astng/files/astng-0.19.3-fix_tests.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/astng/files/astng-0.19.3-fix_tests.patch b/dev-python/astng/files/astng-0.19.3-fix_tests.patch
new file mode 100644
index 000000000000..acf79e65801e
--- /dev/null
+++ b/dev-python/astng/files/astng-0.19.3-fix_tests.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/show_bug.cgi?id=297468
+http://www.logilab.org/cgi-bin/hgwebdir.cgi/logilab/astng/rev/5a507ae61261
+
+--- inference.py
++++ inference.py
+@@ -50,9 +50,7 @@
+ _CONST_PROXY[type(None)].parent = _CONST_PROXY[bool].parent
+
+ def _set_proxied(const):
+- if not hasattr(const, '__proxied'):
+- const.__proxied = _CONST_PROXY[const.value.__class__]
+- return const.__proxied
++ return _CONST_PROXY[const.value.__class__]
+ nodes.Const._proxied = property(_set_proxied)
+
+ nodes.Const.__bases__ += (Instance,)