From 7667ff51e7f3c9b2eb0b97e0e28390736163efdc Mon Sep 17 00:00:00 2001 From: earonesty Date: Wed, 27 Nov 2019 11:10:18 -0500 Subject: [PATCH] Update fixtures.py --- testing/python/fixtures.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/python/fixtures.py b/testing/python/fixtures.py index bfbe35951..36e55a0e1 100644 --- a/testing/python/fixtures.py +++ b/testing/python/fixtures.py @@ -3,7 +3,6 @@ import textwrap import pytest from _pytest import fixtures -from _pytest.fixtures import FixtureLookupError from _pytest.fixtures import FixtureRequest from _pytest.pathlib import Path from _pytest.pytester import get_public_names @@ -654,7 +653,7 @@ class TestRequestBasic: ) req = item._request - with pytest.raises(FixtureLookupError): + with pytest.raises(pytest.FixtureLookupError): req.getfixturevalue("notexists") val = req.getfixturevalue("something") assert val == 1