(self)
| 738 | pass |
| 739 | |
| 740 | def test_class(self): |
| 741 | self._check_path_limitations('bar') |
| 742 | write_file(os.path.join(self.subpkgname, 'bar.py'), '''\ |
| 743 | class bar: |
| 744 | pass |
| 745 | ''') |
| 746 | importlib.invalidate_caches() |
| 747 | from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import bar |
| 748 | # Module name may be prefixed with "test.", depending on how run. |
| 749 | self.assertEqual(repr(bar.bar), "<class '%s.bar'>" % bar.__name__) |
| 750 | |
| 751 | def test_instance(self): |
| 752 | self._check_path_limitations('baz') |
nothing calls this directly
no test coverage detected