File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def warn_deprecation_for_versions_less_than(
9696 not dependent_import_package
9797 or not dependency_import_package
9898 or not next_supported_version
99- ):
99+ ): # pragma: NO COVER
100100 return
101101 version_used = get_dependency_version (dependency_import_package )
102102 if not version_used :
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def _get_pypi_package_name(module_name):
117117 module_to_distributions = metadata .packages_distributions ()
118118
119119 # Check if the module is found in the mapping
120- if module_name in module_to_distributions :
120+ if module_name in module_to_distributions : # pragma: NO COVER
121121 # The value is a list of distribution names, take the first one
122122 return module_to_distributions [module_name ][0 ]
123123 else :
You can’t perform that action at this time.
0 commit comments