Message397500
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. |
|
Date |
User |
Action |
Args |
2021-07-14 17:44:15 | barry | set | recipients:
+ barry, nedbat, Mark.Shannon, pablogsal |
2021-07-14 17:44:15 | barry | set | messageid: <1626284655.53.0.637746021757.issue44616@roundup.psfhosted.org> |
2021-07-14 17:44:15 | barry | link | issue44616 messages |
2021-07-14 17:44:15 | barry | create | |
|