-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
CIContinuous IntegrationContinuous IntegrationUnreliable TestUnit tests that occasionally failUnit tests that occasionally fail
Description
I've noticed recently that the xfailed part of the following test is occasionally xpassing, which is causing the test suite to fail due to being strict with xpass:
pandas/pandas/tests/series/test_analytics.py
Lines 1405 to 1412 in 90a85e0
@pytest.mark.parametrize( | |
"dtype", | |
["int_", "uint", "float_", "unicode_", "timedelta64[h]", | |
pytest.param("datetime64[D]", | |
marks=pytest.mark.xfail(reason="GH#7996"))] | |
) | |
@pytest.mark.parametrize("is_ordered", [True, False]) | |
def test_drop_duplicates_categorical_non_bool(self, dtype, is_ordered): |
The quick fix is to update the xfail
with strict=False
but additional investigation into why this is occasionally passing would also be appreciated.
Examples of the xpass:
- Select Attempt # 1 here: https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=10441&view=logs
- https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=10459&view=logs&jobId=521b7dfd-2989-5ff8-bc8c-7481906480fa&taskId=07b8d9d4-6363-5e2d-bc2b-146a30521256&lineStart=64&lineEnd=70&colStart=1&colEnd=24
Metadata
Metadata
Assignees
Labels
CIContinuous IntegrationContinuous IntegrationUnreliable TestUnit tests that occasionally failUnit tests that occasionally fail