Skip to content

Commit 6c6c795

Browse files
committed
tests: fix test_stdlibsamples with Python 3.10
by accounting for the move from collections to collections.abc.
1 parent 94660df commit 6c6c795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/stdlib-samples/3.2/random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
4242
from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
4343
from os import urandom as _urandom
44-
from collections import Set as _Set, Sequence as _Sequence
44+
from collections.abc import Set as _Set, Sequence as _Sequence
4545
from hashlib import sha512 as _sha512
4646

4747
from typing import (

0 commit comments

Comments
 (0)