summaryrefslogtreecommitdiff
path: root/testing/code
diff options
context:
space:
mode:
authorTom Viner <tom@viner.tv>2016-06-21 12:09:55 +0200
committerTom Viner <tom@viner.tv>2016-06-24 10:08:19 +0200
commitdf9918eda3aa72bc65873240790e0aa0aad777d2 (patch)
treeb4905bbc4f0a70dc253652c8fa008bd1f4a63465 /testing/code
parent6359e75ff8917c2335cd108d7eae988a1e8ad981 (diff)
downloadpytest-df9918eda3aa72bc65873240790e0aa0aad777d2.tar.gz
issue1625, name getfuncargvalue to getfixturevalue
Diffstat (limited to 'testing/code')
-rw-r--r--testing/code/test_excinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py
index ba047f2a9..46d83363e 100644
--- a/testing/code/test_excinfo.py
+++ b/testing/code/test_excinfo.py
@@ -327,7 +327,7 @@ class TestFormattedExcinfo:
def pytest_funcarg__importasmod(self, request):
def importasmod(source):
source = _pytest._code.Source(source)
- tmpdir = request.getfuncargvalue("tmpdir")
+ tmpdir = request.getfixturevalue("tmpdir")
modpath = tmpdir.join("mod.py")
tmpdir.ensure("__init__.py")
modpath.write(source)