Commit faba2bcd authored by Stefan Behnel's avatar Stefan Behnel

Try to stabilise a test that depends on importing from the current directory...

Try to stabilise a test that depends on importing from the current directory right after creating a module there.
parent 228592d1
...@@ -13,6 +13,11 @@ setup( ...@@ -13,6 +13,11 @@ setup(
ext_modules = cythonize("*.pyx") ext_modules = cythonize("*.pyx")
) )
# Make sure we can import from the current directory.
import os
import sys
sys.path.insert(0, os.getcwd())
import simple import simple
assert simple.test() == 123 assert simple.test() == 123
......
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