File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -536,14 +536,14 @@ def test_installed_modules():
536536 if dist .metadata ["Name" ] is not None
537537 and version (dist .metadata ["Name" ]) is not None
538538 }
539- assert installed_distributions == importlib_distributions
539+ assert installed_distributions . items () >= importlib_distributions . items ()
540540
541541 elif pkg_resources_available :
542542 pkg_resources_distributions = {
543543 _normalize_distribution_name (dist .key ): dist .version
544544 for dist in pkg_resources .working_set
545545 }
546- assert installed_distributions == pkg_resources_distributions
546+ assert installed_distributions . items () >= pkg_resources_distributions . items ()
547547 else :
548548 pytest .fail ("Neither importlib nor pkg_resources is available" )
549549
You can’t perform that action at this time.
0 commit comments