Skip to content

TST: Skip leaky test on Python 3.10 #43910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Oct 9, 2021
2 changes: 0 additions & 2 deletions .github/workflows/python-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ jobs:
shell: bash
run: |
ci/run_tests.sh
# GH 41935
continue-on-error: true

- name: Publish test results
uses: actions/upload-artifact@master
Expand Down
6 changes: 6 additions & 0 deletions pandas/tests/io/parser/common/test_common_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import numpy as np
import pytest

from pandas.compat import PY310
from pandas.errors import (
EmptyDataError,
ParserError,
Expand Down Expand Up @@ -674,6 +675,11 @@ def test_read_table_equivalency_to_read_csv(all_parsers):
tm.assert_frame_equal(result, expected)


@pytest.mark.skipif(
PY310,
reason="GH41935 This test is leaking only on Python 3.10,"
"causing other tests to fail with a cryptic error.",
)
@pytest.mark.parametrize("read_func", ["read_csv", "read_table"])
def test_read_csv_and_table_sys_setprofile(all_parsers, read_func):
# GH#41069
Expand Down