Skip to content

Commit 8d9c229

Browse files
Merge pull request #192 from maxfischer2781/maintenance/20260309
Code maintenance 2026-03-09
2 parents 4ac3c8c + b518fd3 commit 8d9c229

8 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/unittests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
python-version: [
15-
'3.8', '3.9', '3.10', '3.11', '3.12', '3.13',
15+
'3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14',
1616
'pypy-3.8', 'pypy-3.10'
1717
]
1818

asyncstdlib/asynctools.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from ._core import aiter
2121
from .contextlib import nullcontext
2222

23-
2423
S = TypeVar("S")
2524

2625

asyncstdlib/builtins.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
Sentinel,
2323
)
2424

25-
2625
__ANEXT_DEFAULT = Sentinel("<no default>")
2726

2827

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: 3.12",
2323
"Programming Language :: Python :: 3.13",
24+
"Programming Language :: Python :: 3.14",
2425
]
2526
license = {"file" = "LICENSE"}
2627
keywords = ["async", "enumerate", "itertools", "builtins", "functools", "contextlib"]
@@ -80,3 +81,6 @@ verboseOutput = true
8081
testpaths = [
8182
"unittests",
8283
]
84+
85+
[tool.black]
86+
target-version = ["py38", "py39","py310", "py311", "py312", "py313", "py314"]

unittests/test_asynctools.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from .utility import sync, asyncify
66

7-
87
CLOSED = "closed"
98

109

unittests/test_functools_lru.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import sys
33

44
import pytest
5+
from typing_extensions import get_annotations, Format
56

67
import asyncstdlib as a
78

@@ -175,5 +176,7 @@ async def other_method(self):
175176
if name != "method":
176177
continue
177178
# test direct and literal annotation styles
178-
assert Bar.method.__annotations__["int_arg"] in {int, "int"}
179-
assert Bar().method.__annotations__["int_arg"] in {int, "int"}
179+
assert get_annotations(Bar.method, format=Format.STRING)["int_arg"] == "int"
180+
assert (
181+
get_annotations(Bar().method, format=Format.STRING)["int_arg"] == "int"
182+
)

unittests/test_heapq.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from .utility import sync, asyncify, awaitify
99

10-
1110
MERGE_SAMPLES = [
1211
[[1, 2], [3, 4]],
1312
[[1, 2, 3], [4, 5, 6], [7, 8, 9]],

unittests/utility.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from collections import deque
1414
from random import randint
1515

16-
1716
T = TypeVar("T")
1817

1918

0 commit comments

Comments
 (0)