Skip to content

Commit e223914

Browse files
committed
More hack
1 parent a30578e commit e223914

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎tests/conftest.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@
2020
_native.coinitialize()
2121

2222

23+
################################################################################
24+
# HACK: Work around gh-148750 in 3.15
25+
import encodings
26+
_orig_encodings_path = encodings.__path__[:]
27+
import manage
28+
# Importing manage has changed this value because of our hack
29+
encodings.__path__[:] = _orig_encodings_path
30+
################################################################################
31+
32+
2333
# Importing in order carefully to ensure the variables we override are handled
2434
# correctly by submodules.
2535
import manage

0 commit comments

Comments
 (0)