Skip to content

Commit

Permalink
Backport PR pandas-dev#43910: TST: Skip leaky test on Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 authored and meeseeksmachine committed Oct 9, 2021
1 parent c5b24da commit 6794e1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/python-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
- name: Test with pytest
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 @@ -633,6 +634,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

0 comments on commit 6794e1f

Please sign in to comment.