We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b187a commit 9b50656Copy full SHA for 9b50656
lazy_loader/tests/test_lazy_loader.py
@@ -35,7 +35,7 @@ def test_lazy_import_subpackages():
35
with pytest.warns(RuntimeWarning):
36
hp = lazy.load("html.parser")
37
assert "html" in sys.modules
38
- assert type(sys.modules["html"]) == type(pytest)
+ assert type(sys.modules["html"]) is type(pytest)
39
assert isinstance(hp, importlib.util._LazyModule)
40
assert "html.parser" in sys.modules
41
assert sys.modules["html.parser"] == hp
0 commit comments