From b0f0e3b16d4aa37669ea7571133d66a6a32987f1 Mon Sep 17 00:00:00 2001 From: Ilya Konstantinov Date: Wed, 1 Feb 2023 09:54:08 -0500 Subject: [PATCH] add type assertion to test --- testing/test_runner.py | 1 + 1 file changed, 1 insertion(+) 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