mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-11-08 09:53:21 -05:00
Run github workflow tests on Python 3.11
This commit is contained in:
parent
8eedbb9d91
commit
a699d7c110
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.11
|
||||||
- run: |
|
- run: |
|
||||||
python -m pip install -q cryptography
|
python -m pip install -q cryptography
|
||||||
make test
|
make test
|
||||||
|
|
|
||||||
|
|
@ -415,7 +415,7 @@ class TestChannel(unittest.TestCase):
|
||||||
nonlocal count, write_finished
|
nonlocal count, write_finished
|
||||||
count = writer.write(data.encode("utf-8"))
|
count = writer.write(data.encode("utf-8"))
|
||||||
writer.flush()
|
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
|
write_finished = True
|
||||||
threading.Thread(target=write_thread, name="Write Thread", daemon=True).start()
|
threading.Thread(target=write_thread, name="Write Thread", daemon=True).start()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue