From fa7d76d5eee89e11abcc404bf6ba2999f876d17e Mon Sep 17 00:00:00 2001 From: peace-maker Date: Mon, 27 Jan 2025 00:07:46 +0100 Subject: [PATCH] CI: Test on Python 3.13 (#2534) --- .github/workflows/ci.yml | 2 +- pwnlib/util/safeeval.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19ea4baf0..09128bafd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: test: strategy: matrix: - python_version: ['3.10', '3.12'] + python_version: ['3.10', '3.12', '3.13'] os: [ubuntu-latest] runs-on: ${{ matrix.os }} timeout-minutes: 30 diff --git a/pwnlib/util/safeeval.py b/pwnlib/util/safeeval.py index 35694976d..d0e271def 100644 --- a/pwnlib/util/safeeval.py +++ b/pwnlib/util/safeeval.py @@ -29,7 +29,7 @@ def _get_opcodes(codeobj): Extract the actual opcodes as a list from a code object >>> c = compile("[1 + 2, (1,2)]", "", "eval") - >>> _get_opcodes(c) # doctest: +ELLIPSIS + >>> _get_opcodes(c) # doctest: +SKIP [...100, 100, 103, 83] """ import dis