We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e61c18 commit 71f199eCopy full SHA for 71f199e
1 file changed
tests/test_import.py
@@ -5,6 +5,11 @@
5
import pytest
6
import sys
7
8
+# Unused import to preload the class
9
+#
10
+# This resulted in the FileStream name missing from the wildcard import later
11
+from System.IO import FileStream # noqa: F401
12
+
13
def test_relative_missing_import():
14
"""Test that a relative missing import doesn't crash.
15
Some modules use this to check if a package is installed.
0 commit comments