Skip to content

Commit e19bd9c

Browse files
committed
updates for linters
1 parent d7c49ee commit e19bd9c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

extensions/pyo3/test/module_prefix/module_prefix_import_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
import unittest
44

5-
import foo.bar
5+
import foo.bar # type: ignore
66

77

88
class ModulePrefixImportTest(unittest.TestCase):
9+
"""Test Class."""
10+
911
def test_import_and_call(self) -> None:
12+
"""Test that a pyo3 extension can be imported via a module prefix."""
13+
1014
result = foo.bar.thing()
1115
self.assertEqual("hello from rust", result)
1216

0 commit comments

Comments
 (0)