Skip to content

Commit 4cb1495

Browse files
committed
Remove unnecessary import.
1 parent 18ef15b commit 4cb1495

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/pytest-selfie/pytest_selfie/plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
from cgi import test
32
from collections import defaultdict
43
from typing import ByteString, DefaultDict, Iterator, List, Optional
54

@@ -312,7 +311,7 @@ def assert_not_terminated(self):
312311

313312
def test_start(self, testname: str):
314313
if "/" in testname:
315-
raise ValueError(f"Test name cannot contain '/', was {test}")
314+
raise ValueError(f"Test name cannot contain '/', was {testname}")
316315
self.assert_not_terminated()
317316
if self.testname_in_progress is not None:
318317
raise RuntimeError(

0 commit comments

Comments
 (0)