Skip to content

Commit 77da494

Browse files
authored
Merge pull request #9153 from tk0miya/9082_python3.10.0a7
Revert "test: Disable testing with python3.10"
2 parents 43434a0 + 531a5ae commit 77da494

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
python: 3.9
2424
docutils: du17
2525
coverage: "--cov ./ --cov-append --cov-config setup.cfg"
26-
# - name: py310-dev
27-
# python: 3.10-dev
28-
# docutils: du16
26+
- name: py310-dev
27+
python: 3.10-dev
28+
docutils: du17
2929
env:
3030
PYTEST_ADDOPTS: ${{ matrix.coverage }}
3131

tests/test_util_inspect.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,7 @@ def test_signature_annotations():
202202

203203
# Instance annotations
204204
sig = inspect.signature(f11)
205-
if sys.version_info < (3, 10):
206-
assert stringify_signature(sig) == '(x: CustomAnnotation, y: 123) -> None'
207-
else:
208-
assert stringify_signature(sig) == '(x: CustomAnnotation(), y: 123) -> None'
205+
assert stringify_signature(sig) == '(x: CustomAnnotation, y: 123) -> None'
209206

210207
# tuple with more than two items
211208
sig = inspect.signature(f12)

0 commit comments

Comments
 (0)