Skip to content

Commit 238e53e

Browse files
committed
fix
1 parent 21b767d commit 238e53e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,17 @@ jobs:
5050
persist-credentials: false
5151

5252
- name: Set up Python
53-
if: ${{ matrix.python-version != '2.7' }}
53+
if: ${{ matrix.python-version != '2.7' && matrix.python-version != '3.14' }}
5454
uses: actions/setup-python@v5
5555
with:
5656
python-version: ${{ matrix.python-version }}
5757

58+
- name: Set up Python 3.14
59+
if: ${{ matrix.python-version == '3.14' }}
60+
uses: actions/setup-python@v5
61+
with:
62+
python-version: '3.14.0-rc.1'
63+
5864
- name: Set up Python
5965
if: ${{ matrix.python-version == '2.7' }}
6066
uses: LizardByte/actions/actions/setup_python@eddc8fc8b27048e25040e37e3585bd3ef9a968ed # master

.github/workflows/test_corpus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
volumes: |
148148
/corpus-results:/corpus-results
149149
run: |
150-
python3.13 workflow/corpus_test/generate_report.py /corpus-results ${{ inputs.ref }} ${{ steps.ref.outputs.commit }} ${{ inputs.base-ref }} ${{ steps.base-ref.outputs.commit }} | tee -a $GITHUB_STEP_SUMMARY > report.md
150+
python3.14 workflow/corpus_test/generate_report.py /corpus-results ${{ inputs.ref }} ${{ steps.ref.outputs.commit }} ${{ inputs.base-ref }} ${{ steps.base-ref.outputs.commit }} | tee -a $GITHUB_STEP_SUMMARY > report.md
151151
152152
- name: Lint Report
153153
uses: DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 # v19

test/test_is_constant_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ def test_ast_compat_constant_nodes_python314():
9090
assert is_constant_node(ast.Constant(True), ast_compat.NameConstant)
9191
assert is_constant_node(ast.Constant(False), ast_compat.NameConstant)
9292
assert is_constant_node(ast.Constant(None), ast_compat.NameConstant)
93-
assert is_constant_node(ast.Constant(...), ast_compat.Ellipsis)
93+
assert is_constant_node(ast.Constant(ast.literal_eval('...')), ast_compat.Ellipsis)

0 commit comments

Comments
 (0)