From 60bfda90f00e0cbe38a3e419245b156877b62507 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Sun, 26 Jan 2025 22:13:20 +0100 Subject: [PATCH] CI: Test on Python 3.13 --- .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