summaryrefslogtreecommitdiff
path: root/testing/test_nose.py
diff options
context:
space:
mode:
authorJurko Gospodnetić <jurko.gospodnetic@pke.hr>2014-01-18 12:31:33 +0100
committerJurko Gospodnetić <jurko.gospodnetic@pke.hr>2014-01-18 12:31:33 +0100
commit9fb2079458d39921913d3c8975f1ccc9ad914d88 (patch)
tree7f5284ec6c5856c5a3fb46708cfbed3d523641a2 /testing/test_nose.py
parent83620ced2e847c0de721b0e78092bcd0677c9c4e (diff)
downloadpytest-9fb2079458d39921913d3c8975f1ccc9ad914d88.tar.gz
replace py.test module references with pytest
The only remaining 'py.test' references are: * those referring to the 'py.test' executable * those in code explicitly testing py.test/pytest module compatibility * those in old CHANGES documentation * those in documentation generated based on external data * those in seemingly unfinished & unmaintained Japanese documentation Minor stylistic changes and typo corrections made to documentation next to several applied py.test --> pytest content changes.
Diffstat (limited to 'testing/test_nose.py')
-rw-r--r--testing/test_nose.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_nose.py b/testing/test_nose.py
index 72a763675..692759bc0 100644
--- a/testing/test_nose.py
+++ b/testing/test_nose.py
@@ -1,7 +1,7 @@
import py, pytest
def setup_module(mod):
- mod.nose = py.test.importorskip("nose")
+ mod.nose = pytest.importorskip("nose")
def test_nose_setup(testdir):
p = testdir.makepyfile("""
@@ -112,7 +112,7 @@ def test_nose_setup_func_failure_2(testdir):
reprec.assertoutcome(passed=1)
def test_nose_setup_partial(testdir):
- py.test.importorskip("functools")
+ pytest.importorskip("functools")
p = testdir.makepyfile("""
from functools import partial