Run github workflow tests on Python 3.11

This commit is contained in:
Mark Qvist 2025-11-02 22:43:12 +01:00
commit a699d7c110
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.11
- run: |
python -m pip install -q cryptography
make test

View file

@ -415,7 +415,7 @@ class TestChannel(unittest.TestCase):
nonlocal count, write_finished
count = writer.write(data.encode("utf-8"))
writer.flush()
# writer.close() # TODO: Temporary workaround for https://github.com/python/cpython/issues/138720
writer.close() # TODO: Workaround for https://github.com/python/cpython/issues/138720
write_finished = True
threading.Thread(target=write_thread, name="Write Thread", daemon=True).start()