Commit 908b46a8 authored by Matti Picus's avatar Matti Picus
Browse files

unskip, fix test

parent c6bbfff6404e
......@@ -359,7 +359,11 @@ class AppTestCpythonExtensionBase(LeakCheckingTest):
space.sys.get('modules'),
space.wrap(name))
else:
return os.path.dirname(mod)
path = os.path.dirname(mod)
if self.runappdirect:
return path
else:
return space.wrap(path)
@gateway.unwrap_spec(mod=str, name=str)
def reimport_module(space, mod, name):
......
......@@ -39,7 +39,6 @@ class TestImport(BaseApiTest):
class AppTestImportLogic(AppTestCpythonExtensionBase):
def test_import_logic(self):
skip("leak?")
path = self.import_module(name='test_import_module', load_it=False)
import sys
sys.path.append(path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment