Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord committed Aug 23, 2022
1 parent 5490e2d commit dd28379
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/unittest_modutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,7 @@ def test_is_module_name_part_of_extension_package_whitelist_success(self) -> Non

@pytest.mark.skipif(not HAS_URLLIB3, reason="This test requires urllib3.")
def test_file_info_from_modpath__SixMetaPathImporter() -> None:
pytest.raises(
ImportError,
modutils.file_info_from_modpath,
["urllib3.packages.six.moves.http_client"],
)
assert modutils.file_info_from_modpath(["urllib3.packages.six.moves.http_client"])


if __name__ == "__main__":
Expand Down

0 comments on commit dd28379

Please sign in to comment.