Barry A. Warsaw <ba...@python.org> added the comment:
I just retested my test case (see the coveragepy link below) with Python 3.10 git head and coveragepy git head, and I'm still seeing the misses only in Python 3.10: ---------- coverage: platform darwin, python 3.10.0-beta-4 ----------- Name Stmts Miss Branch BrPart Cover Missing --------------------------------------------------------------------- flufl/lock/__init__.py 5 0 0 0 100% flufl/lock/_lockfile.py 253 0 80 3 99% 412->415, 418->420, 535->exit --------------------------------------------------------------------- The lines in question: if is_locked: try: os.unlink(self._lockfile) except OSError as error: if error.errno not in ERRORS: raise # Remove our claim file. try: os.unlink(self._claimfile) except OSError as error: if error.errno not in ERRORS: raise I'm not sure whether coveragepy needs to be updated or whether there are other lurking bugs in Python 3.10. I'm reopening this issue until this is resolved. ---------- resolution: fixed -> status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44616> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com