diff --git a/testing/test_runner.py b/testing/test_runner.py index 49adc04fe..cbb9ee1c7 100644 --- a/testing/test_runner.py +++ b/testing/test_runner.py @@ -473,6 +473,7 @@ class TestSessionReports: assert not rep.skipped assert rep.passed locinfo = rep.location + assert locinfo is not None assert locinfo[0] == col.path.name assert not locinfo[1] assert locinfo[2] == col.path.name