File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ def test_tests_collected_once() -> None:
6060 ci_patterns = _ci_patterns ()
6161 tests_to_patterns : dict [str , set [str ]] = {}
6262 for pattern in ci_patterns :
63- pattern = "tests/mock_vws/" + pattern
64- tests = _tests_from_pattern (ci_pattern = pattern )
63+ pattern_in_dir = "tests/mock_vws/" + pattern
64+ tests = _tests_from_pattern (ci_pattern = pattern_in_dir )
6565 for test in tests :
6666 if test in tests_to_patterns :
67- tests_to_patterns [test ].add (pattern )
67+ tests_to_patterns [test ].add (pattern_in_dir )
6868 else :
69- tests_to_patterns [test ] = {pattern }
69+ tests_to_patterns [test ] = {pattern_in_dir }
7070
7171 for test_name , patterns in tests_to_patterns .items ():
7272 message = (
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pytest-cov==4.0.0 # Measure code coverage
2121pytest-envfiles==0.1.0 # Use files for environment variables for tests
2222pytest==7.2.1 # Test runners
2323requests-mock-flask==2022.4.3
24- ruff==0.0.251
24+ ruff==0.0.253
2525sphinx-autodoc-typehints==1.22
2626sphinx-prompt==1.5.0
2727sphinx_paramlinks==0.5.4
You can’t perform that action at this time.
0 commit comments