Skip to content

Commit e746fbf

Browse files
Backport PR #43910: TST: Skip leaky test on Python 3.10 (#43936)
Co-authored-by: Thomas Li <[email protected]>
1 parent cc22e57 commit e746fbf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/python-dev.yml

-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ jobs:
7373
shell: bash
7474
run: |
7575
ci/run_tests.sh
76-
# GH 41935
77-
continue-on-error: true
7876
7977
- name: Publish test results
8078
uses: actions/upload-artifact@master

pandas/tests/io/parser/common/test_common_basic.py

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import numpy as np
1313
import pytest
1414

15+
from pandas.compat import PY310
1516
from pandas.errors import (
1617
EmptyDataError,
1718
ParserError,
@@ -633,6 +634,11 @@ def test_read_table_equivalency_to_read_csv(all_parsers):
633634
tm.assert_frame_equal(result, expected)
634635

635636

637+
@pytest.mark.skipif(
638+
PY310,
639+
reason="GH41935 This test is leaking only on Python 3.10,"
640+
"causing other tests to fail with a cryptic error.",
641+
)
636642
@pytest.mark.parametrize("read_func", ["read_csv", "read_table"])
637643
def test_read_csv_and_table_sys_setprofile(all_parsers, read_func):
638644
# GH#41069

0 commit comments

Comments
 (0)