Update fixtures.py

This commit is contained in:
earonesty 2019-11-27 11:10:18 -05:00 committed by Bruno Oliveira
parent 74cdff86f8
commit 7667ff51e7
1 changed files with 1 additions and 2 deletions

View File

@ -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