summaryrefslogtreecommitdiff
path: root/tests/test_functional.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_functional.py')
-rw-r--r--tests/test_functional.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py
index 0d015f33e..18706f4f2 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -94,11 +94,11 @@ TEST_WITH_EXPECTED_DEPRECATION = [
@pytest.mark.parametrize("test_file", TESTS, ids=TESTS_NAMES)
-def test_functional(test_file, recwarn):
+def test_functional(test_file, recwarn, pytestconfig):
if UPDATE_FILE.exists():
- lint_test = LintModuleOutputUpdate(test_file)
+ lint_test = LintModuleOutputUpdate(test_file, pytestconfig)
else:
- lint_test = testutils.LintModuleTest(test_file)
+ lint_test = testutils.LintModuleTest(test_file, pytestconfig)
lint_test.setUp()
lint_test._runTest()
warning = None