Skip to content

Commit 2924fc5

Browse files
skip test_debug_profile for python 3.14.0*
1 parent 47664ed commit 2924fc5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/borg/testsuite/archiver/debug_cmds_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import json
22
import os
33
import pstats
4+
import sys
5+
6+
import pytest
47

58
from ...constants import * # NOQA
69
from .. import changedir
@@ -10,6 +13,7 @@
1013
pytest_generate_tests = lambda metafunc: generate_archiver_tests(metafunc, kinds="local,remote,binary") # NOQA
1114

1215

16+
@pytest.mark.skipif(sys.version_info[:3] >= (3, 14, 0), reason="cProfile.Profile broken in Python 3.14.0b2")
1317
def test_debug_profile(archivers, request):
1418
archiver = request.getfixturevalue(archivers)
1519
create_test_files(archiver.input_path)

0 commit comments

Comments
 (0)