forked from pool/python-apipkg
12 lines
325 B
Diff
12 lines
325 B
Diff
|
|
--- a/test_apipkg.py
|
||
|
|
+++ b/test_apipkg.py
|
||
|
|
@@ -13,7 +13,7 @@
|
||
|
|
class TestRealModule:
|
||
|
|
|
||
|
|
def setup_class(cls):
|
||
|
|
- cls.tmpdir = py.test.ensuretemp('test_apipkg')
|
||
|
|
+ cls.tmpdir = py.path.local('test_apipkg')
|
||
|
|
sys.path = [str(cls.tmpdir)] + sys.path
|
||
|
|
pkgdir = cls.tmpdir.ensure('realtest', dir=1)
|
||
|
|
|