Skip to content

Commit 3716c4b

Browse files
committed
Update change log, widen exception catching in test.
1 parent 660bd33 commit 3716c4b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGES.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
Change log for ``distlib``
22
--------------------------
33

4-
0.4.0 (future)
4+
0.4.1 (future)
55
~~~~~~~~~~~~~~
66

77
Released: Not yet.
88

9+
0.4.0
10+
~~~~~
11+
12+
Released: 2025-07-17
13+
914
- markers
1015

1116
- Add the ``interpret_parsed`` function.

tests/test_util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,8 @@ def test_unarchive(self):
429429
name = os.path.join(HERE, name)
430430
td = tempfile.mkdtemp()
431431
try:
432-
self.assertRaises(ValueError, unarchive, name, td)
432+
# OSError is raised on Windows on CPython 3.13, pypy-3.11
433+
self.assertRaises((OSError, ValueError), unarchive, name, td)
433434
finally:
434435
shutil.rmtree(td)
435436

0 commit comments

Comments
 (0)