Skip to content

Commit b93141a

Browse files
authored
Fix test test_create_connection_open_con_addr with Python 3.13.9+ (#713)
1 parent 74f4c96 commit b93141a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_tcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ async def client(addr):
405405
self.assertEqual(await reader.readexactly(2), b'OK')
406406

407407
re = r'(a bytes-like object)|(must be byte-ish)'
408-
if sys.version_info >= (3, 14):
408+
if sys.version_info >= (3, 13, 9):
409409
re += r'|(must be a bytes, bytearray, or memoryview object)'
410410
with self.assertRaisesRegex(TypeError, re):
411411
writer.write('AAAA')

0 commit comments

Comments
 (0)