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 825b2b9 commit 4ad56dcCopy full SHA for 4ad56dc
1 file changed
tests/test_utils.py
@@ -536,14 +536,14 @@ def test_installed_modules():
536
if dist.metadata["Name"] is not None
537
and version(dist.metadata["Name"]) is not None
538
}
539
- assert installed_distributions == importlib_distributions
+ assert installed_distributions.items() >= importlib_distributions.items()
540
541
elif pkg_resources_available:
542
pkg_resources_distributions = {
543
_normalize_distribution_name(dist.key): dist.version
544
for dist in pkg_resources.working_set
545
546
- assert installed_distributions == pkg_resources_distributions
+ assert installed_distributions.items() >= pkg_resources_distributions.items()
547
else:
548
pytest.fail("Neither importlib nor pkg_resources is available")
549
0 commit comments