--- a/eric7/DebugClients/Python/coverage/files.py Sun Jan 16 20:28:42 2022 +0100 +++ b/eric7/DebugClients/Python/coverage/files.py Sat Jan 22 14:44:56 2022 +0100 @@ -13,7 +13,7 @@ import sys from coverage import env -from coverage.exceptions import CoverageException +from coverage.exceptions import ConfigError from coverage.misc import contract, human_sorted, isolate_module, join_regex @@ -137,9 +137,9 @@ return actpath else: - def actual_path(filename): + def actual_path(path): """The actual path for non-Windows platforms.""" - return filename + return path @contract(returns='unicode') @@ -356,7 +356,7 @@ # The pattern can't end with a wildcard component. if pattern.endswith("*"): - raise CoverageException("Pattern must not end with wildcards.") + raise ConfigError("Pattern must not end with wildcards.") # The pattern is meant to match a filepath. Let's make it absolute # unless it already is, or is meant to match any prefix.