diff --git a/.gitignore b/.gitignore index 88e258d1..cb6ef941 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ dist # IDE Specific files ### Pycharm IDE - Jetbrains .idea/* +.vscode/* ### PyDev IDE - Eclipse .metadata diff --git a/testing/test_pytest_html.py b/testing/test_pytest_html.py index 1110122b..2844c060 100644 --- a/testing/test_pytest_html.py +++ b/testing/test_pytest_html.py @@ -140,7 +140,9 @@ def test_xpass(): pass def test_setup_error(self, testdir): testdir.makepyfile(""" - def pytest_funcarg__arg(request): + import pytest + @pytest.fixture + def arg(request): raise ValueError() def test_function(arg): pass