Skip to content

Commit 7a4f8b1

Browse files
godlygeekpablogsal
authored andcommitted
tests: Update for Python 3.13
- Ensure that Python 3.13 is discovered and tested automatically when available. - Skip the PyInstaller test on 3.13, since PyInstaller doesn't yet support Python 3.13. Signed-off-by: Matt Wozniski <[email protected]> Signed-off-by: Pablo Galindo <[email protected]>
1 parent 0cb4ae0 commit 7a4f8b1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/integration/test_relocatable_cores.py

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import sys
44
from pathlib import Path
55

6+
import pytest
67
from pytest import LogCaptureFixture
78

89
from pystack.engine import CoreFileAnalyzer
@@ -17,6 +18,10 @@
1718
TEST_MULTIPLE_THREADS_FILE = Path(__file__).parent / "multiple_thread_program.py"
1819

1920

21+
@pytest.mark.skipif(
22+
sys.version_info > (3, 13),
23+
reason="PyInstaller doesn't support Python 3.13 yet",
24+
)
2025
def test_single_thread_stack_for_relocated_core(
2126
tmpdir: Path, caplog: LogCaptureFixture
2227
) -> None:

tests/utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
PythonVersion = Tuple[Tuple[int, int], pathlib.Path]
2323

2424
ALL_VERSIONS = [
25+
((3, 13), "python3.13"),
2526
((3, 12), "python3.12"),
2627
((3, 11), "python3.11"),
2728
((3, 10), "python3.10"),

0 commit comments

Comments
 (0)