--- a/src/eric7/DebugClients/Python/coverage/sqldata.py Sat Oct 01 17:30:55 2022 +0200 +++ b/src/eric7/DebugClients/Python/coverage/sqldata.py Sat Oct 01 17:37:10 2022 +0200 @@ -609,8 +609,7 @@ aliases = aliases or PathAliases() - # Force the database we're writing to to exist before we start nesting - # contexts. + # Force the database we're writing to to exist before we start nesting contexts. self._start_using() # Collector for all arcs, lines and tracers @@ -774,8 +773,8 @@ file_be_gone(self._filename) if parallel: data_dir, local = os.path.split(self._filename) - localdot = local + ".*" - pattern = os.path.join(os.path.abspath(data_dir), localdot) + local_abs_path = os.path.join(os.path.abspath(data_dir), local) + pattern = glob.escape(local_abs_path) + ".*" for filename in glob.glob(pattern): if self._debug.should("dataio"): self._debug.write(f"Erasing parallel data file {filename!r}")