We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3445e33 commit 34c2daeCopy full SHA for 34c2dae
tests/test_functional.py
@@ -113,13 +113,12 @@ def get_tests():
113
114
@pytest.mark.parametrize("test_file", TESTS, ids=TESTS_NAMES)
115
def test_functional(test_file, recwarn):
116
- LintTest = (
117
- LintModuleOutputUpdate(test_file)
118
- if UPDATE_FILE.exists()
119
- else testutils.LintModuleTest(test_file)
120
- )
121
- LintTest.setUp()
122
- LintTest._runTest()
+ if UPDATE_FILE.exists():
+ lint_test = LintModuleOutputUpdate(test_file)
+ else:
+ lint_test = testutils.LintModuleTest(test_file)
+ lint_test.setUp()
+ lint_test._runTest()
123
warning = None
124
try:
125
# Catch <unknown>:x: DeprecationWarning: invalid escape sequence
0 commit comments