Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:

os: [windows-latest, windows-11-arm]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
exclude:
- os: windows-11-arm # setup-python action only supports 3.11+
python-version: '3.9'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def main():
pass

coro = main()
with self.assertRaisesRegex(TypeError, " a non-uvloop event loop"):
with self.assertRaisesRegex(TypeError, " a non-winloop event loop"):
uvloop.run(
coro,
loop_factory=asyncio.DefaultEventLoopPolicy().new_event_loop,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ async def client(sock, addr):
w = asyncio.wait_for(c, timeout=5.0)
self.loop.run_until_complete(w)

@unittest.skipIf(sys.version_info >= (3, 11), "Sendall is having problems on 3.11+")
@unittest.skip("Sendall is having problems on all versions")
def test_socket_cancel_sock_sendall(self):
def srv_gen(sock):
time.sleep(1.2)
Expand Down
3 changes: 2 additions & 1 deletion tests/test_tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,14 +405,15 @@ async def start_server():

self.loop.run_until_complete(start_server())


def test_create_connection_open_con_addr(self):
async def client(addr):
reader, writer = await asyncio.open_connection(*addr)

writer.write(b"AAAA")
self.assertEqual(await reader.readexactly(2), b"OK")

re = r"(a bytes-like object)|(must be byte-ish)"
re = r"(a bytes-like object)|(must be byte-ish)|(bytes\, bytearray\, or memoryview object\, not 'str')"
with self.assertRaisesRegex(TypeError, re):
writer.write("AAAA")

Expand Down
Loading
Loading