File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -861,11 +861,9 @@ def test_path_order(self, symlinked_tmpdir):
861861 (nspkg / '__init__.py' ).write_text (self .ns_str , encoding = 'utf-8' )
862862 (subpkg / '__init__.py' ).write_text (vers_str % number , encoding = 'utf-8' )
863863
864- import nspkg # pyright: ignore[reportMissingImports] # Temporary package for test
865-
866864 with pytest .warns (DeprecationWarning , match = "pkg_resources.declare_namespace" ):
865+ import nspkg # pyright: ignore[reportMissingImports] # Temporary package for test
867866 import nspkg .subpkg # pyright: ignore[reportMissingImports] # Temporary package for test
868-
869867 expected = [str (site .realpath () / 'nspkg' ) for site in site_dirs ]
870868 assert nspkg .__path__ == expected
871869 assert nspkg .subpkg .__version__ == 1
You can’t perform that action at this time.
0 commit comments