Skip to content

Commit f23e54a

Browse files
Marked early del to ignore false-positives of PYL-C0414 ( - Fixes #48 - )
1 parent 86d4374 commit f23e54a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
ImportErr = None
3737
del ImportErr
3838
raise ImportError(str("Test module failed completely."))
39-
from tests import context as context
39+
from tests import context as context # skipcq: PYL-C0414
4040
if context.__name__ is None:
4141
raise ImportError(str("Test module failed to import even the context framework."))
42-
from tests import profiling as profiling
42+
from tests import profiling as profiling # skipcq: PYL-C0414
4343
if profiling.__name__ is None:
4444
raise ImportError(str("Test module failed to import even the profiling framework."))
4545
from tests import test_basic

tests/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636

3737
try:
38-
import pythonrepo as pythonrepo
38+
import pythonrepo as pythonrepo # skipcq: PYL-C0414
3939
if pythonrepo.__name__ is None:
4040
raise ImportError("Failed to import pythonrepo.")
4141
except Exception as badErr:

0 commit comments

Comments
 (0)