[pypy-commit] pypy default: Update pytest fixture syntax
rlamy
pypy.commits at gmail.com
Mon Feb 19 21:46:43 EST 2018
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch:
Changeset: r93838:518bdb4a094d
Date: 2018-02-20 02:46 +0000
http://bitbucket.org/pypy/pypy/changeset/518bdb4a094d/
Log: Update pytest fixture syntax
diff --git a/extra_tests/test_pyrepl/test_functional.py b/extra_tests/test_pyrepl/test_functional.py
--- a/extra_tests/test_pyrepl/test_functional.py
+++ b/extra_tests/test_pyrepl/test_functional.py
@@ -7,7 +7,8 @@
import sys
-def pytest_funcarg__child(request):
+ at pytest.fixture()
+def child():
try:
import pexpect
except ImportError:
More information about the pypy-commit
mailing list