Skip to content

Backport PR #46842 on branch 1.4.x (CI/TST: xfail git test failure on 32 bit job) #46857

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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ jobs:
pip install cython numpy python-dateutil pytz pytest pytest-xdist pytest-asyncio>=0.17 hypothesis && \
python setup.py build_ext -q -j2 && \
python -m pip install --no-build-isolation -e . && \
pytest -m 'not slow and not network and not clipboard' pandas --junitxml=test-data.xml"
export PANDAS_CI=1 && \
pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml"
displayName: 'Run 32-bit manylinux2014 Docker Build / Tests'

- task: PublishTestResults@2
Expand Down
8 changes: 8 additions & 0 deletions pandas/tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
import numpy as np
import pytest

from pandas.compat import (
IS64,
is_ci_environment,
)

import pandas as pd
from pandas import Series
import pandas._testing as tm
Expand Down Expand Up @@ -157,6 +162,9 @@ def test_standardize_mapping():
assert isinstance(com.standardize_mapping(dd), partial)


@pytest.mark.xfail(
is_ci_environment() and not IS64, reason="Failing on 32 bit Python CI job"
)
def test_git_version():
# GH 21295
git_version = pd.__git_version__
Expand Down
9 changes: 8 additions & 1 deletion pandas/tests/util/test_show_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

import pytest

from pandas.compat import is_numpy_dev
from pandas.compat import (
IS64,
is_ci_environment,
is_numpy_dev,
)
from pandas.util._print_versions import (
_get_dependency_info,
_get_sys_info,
Expand Down Expand Up @@ -77,6 +81,9 @@ def test_show_versions_console_json(capsys):
assert result == expected


@pytest.mark.xfail(
is_ci_environment() and not IS64, reason="Failing on 32 bit Python CI job"
)
def test_show_versions_console(capsys):
# gh-32041
# gh-32041
Expand Down