File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -117,16 +117,6 @@ def test_ast_from_namespace_pkgutil(self) -> None:
117
117
def test_ast_from_namespace_pkg_resources (self ) -> None :
118
118
self ._test_ast_from_old_namespace_package_protocol ("pkg_resources" )
119
119
120
- def test_identify_old_namespace_package_protocol (self ) -> None :
121
- # Like the above cases, this package follows the old namespace package protocol
122
- # astroid currently assumes such packages are in sys.modules, so import it
123
- # pylint: disable-next=import-outside-toplevel
124
- import tests .testdata .python3 .data .path_pkg_resources_1 .package .foo as _ # noqa
125
-
126
- self .assertTrue (
127
- util .is_namespace ("tests.testdata.python3.data.path_pkg_resources_1" )
128
- )
129
-
130
120
def test_submodule_homonym_with_non_module (self ) -> None :
131
121
self .assertFalse (
132
122
util .is_namespace ("tests.testdata.python3.data.parent_of_homonym.doc" )
You can’t perform that action at this time.
0 commit comments