OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=27
This commit is contained in:
parent
3daab206ac
commit
5fa479986b
@ -1,13 +0,0 @@
|
|||||||
Index: astroid-1.6.1/astroid/tests/unittest_manager.py
|
|
||||||
===================================================================
|
|
||||||
--- astroid-1.6.1.orig/astroid/tests/unittest_manager.py
|
|
||||||
+++ astroid-1.6.1/astroid/tests/unittest_manager.py
|
|
||||||
@@ -136,7 +136,7 @@ class AstroidManagerTest(resources.SysPa
|
|
||||||
self.manager.ast_from_module_name('foogle.moogle')
|
|
||||||
finally:
|
|
||||||
del pkg_resources._namespace_packages['foogle'] # pylint: disable=no-member
|
|
||||||
- sys.modules.pop('foogle')
|
|
||||||
+ sys.modules.pop('foogle', None)
|
|
||||||
|
|
||||||
def test_namespace_and_file_mismatch(self):
|
|
||||||
filepath = unittest.__file__
|
|
Loading…
Reference in New Issue
Block a user