forked from pool/python-apipkg
Accepting request 674125 from devel:languages:python:pytest
- Add patch to fix build with pytest newer than 4: * pytest4.patch OBS-URL: https://build.opensuse.org/request/show/674125 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apipkg?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
c9991e6a73
commit
cee0eb30bc
11
pytest4.patch
Normal file
11
pytest4.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- 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)
|
||||
|
||||
Reference in New Issue
Block a user