We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c49ee commit e19bd9cCopy full SHA for e19bd9c
extensions/pyo3/test/module_prefix/module_prefix_import_test.py
@@ -2,11 +2,15 @@
2
3
import unittest
4
5
-import foo.bar
+import foo.bar # type: ignore
6
7
8
class ModulePrefixImportTest(unittest.TestCase):
9
+ """Test Class."""
10
+
11
def test_import_and_call(self) -> None:
12
+ """Test that a pyo3 extension can be imported via a module prefix."""
13
14
result = foo.bar.thing()
15
self.assertEqual("hello from rust", result)
16
0 commit comments