diff options
author | Tom Viner <tom@viner.tv> | 2016-06-21 12:09:55 +0200 |
---|---|---|
committer | Tom Viner <tom@viner.tv> | 2016-06-24 10:08:19 +0200 |
commit | df9918eda3aa72bc65873240790e0aa0aad777d2 (patch) | |
tree | b4905bbc4f0a70dc253652c8fa008bd1f4a63465 /testing/code | |
parent | 6359e75ff8917c2335cd108d7eae988a1e8ad981 (diff) | |
download | pytest-df9918eda3aa72bc65873240790e0aa0aad777d2.tar.gz |
issue1625, name getfuncargvalue to getfixturevalue
Diffstat (limited to 'testing/code')
-rw-r--r-- | testing/code/test_excinfo.py | 2 |
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) |