Skip to content

Commit 6794e1f

Browse files
lithomas1meeseeksmachine
authored andcommitted
Backport PR pandas-dev#43910: TST: Skip leaky test on Python 3.10
1 parent c5b24da commit 6794e1f

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
@@ -56,8 +56,6 @@ jobs:
5656
- name: Test with pytest
5757
run: |
5858
ci/run_tests.sh
59-
# GH 41935
60-
continue-on-error: true
6159
6260
- name: Publish test results
6361
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)