Closed dimon222 closed 3 years ago
workaround
--- 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)
@RonnyPfannschmidt any chance this could get fixed and a new release?
this has beenn fixed in #9
Related pages: Deprecation - https://docs.pytest.org/en/latest/changelog.html#pytest-3-9-0-2018-10-15-not-published-due-to-a-release-automation-bug And in 4.x it became error - https://docs.pytest.org/en/latest/changelog.html#pytest-4-0-0-2018-11-13
And couple of warnings that would be good to fix too https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec