changeset 52640 | 24ee91ba9aa8 |
parent 48875 | 6000f5b25c9b |
--- a/tests/mockmakedate.py Mon Jan 06 14:15:40 2025 -0500 +++ b/tests/mockmakedate.py Sun Jan 05 21:03:17 2025 -0500 @@ -12,7 +12,7 @@ try: with open(filename, 'rb') as timef: time = float(timef.read()) + 1 - except IOError: + except OSError: time = 0.0 with open(filename, 'wb') as timef: timef.write(pycompat.bytestr(time))