Skip to content

Commit 7d2c559

Browse files
committed
Inline the NullFinder behavior.
1 parent 70a6075 commit 7d2c559

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_integration.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ def is_installed(package_spec):
2929

3030
class FinderTests(fixtures.Fixtures, unittest.TestCase):
3131
def test_finder_without_module(self):
32-
class ModuleFreeFinder(fixtures.NullFinder):
32+
class ModuleFreeFinder:
3333
"""
3434
A finder without an __module__ attribute
3535
"""
3636

37+
def find_module(self, name):
38+
pass
39+
3740
def __getattribute__(self, name):
3841
if name == '__module__':
3942
raise AttributeError(name)

0 commit comments

Comments
 (0)