Skip to content
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

TST: Skip 32bit failing IntervalTree tests #23442

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

jschendel
Copy link
Member

@jschendel jschendel commented Nov 1, 2018

xref #23440, #23353 (comment)

Note that we've been skipping tests due to this issue for some time now, it just wasn't formally documented as an issue:

@pytest.mark.skipif(compat.is_platform_32bit(),
reason="int type mismatch on 32bit")
@pytest.mark.parametrize('leaf_size', [1, 10, 100, 10000])
def test_get_indexer_closed(self, closed, leaf_size):

I recently added some new tests that hit this same issue but were not skipped and are now causing the pandas-wheels nightly builds to fail. This PR causes those tests to be skipped on 32bit, and modifies the existing skipped test to skip at the parameter level instead of globally skipping the test (one of the previously skipped parametrized values should be valid on 32bit).

@jschendel jschendel added Testing pandas testing functions or related to the test suite Interval Interval data type 32bit 32-bit systems labels Nov 1, 2018
@jschendel jschendel added this to the 0.24.0 milestone Nov 1, 2018
@pep8speaks
Copy link

Hello @jschendel! Thanks for submitting the PR.

@codecov
Copy link

codecov bot commented Nov 1, 2018

Codecov Report

Merging #23442 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #23442   +/-   ##
=======================================
  Coverage   92.21%   92.21%           
=======================================
  Files         161      161           
  Lines       51187    51187           
=======================================
  Hits        47202    47202           
  Misses       3985     3985
Flag Coverage Δ
#multiple 90.64% <ø> (ø) ⬆️
#single 42.21% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9019582...585127d. Read the comment docs.

@jreback jreback merged commit 555adc2 into pandas-dev:master Nov 1, 2018
@jreback
Copy link
Contributor

jreback commented Nov 1, 2018

thanks!

@jreback
Copy link
Contributor

jreback commented Nov 2, 2018

https://travis-ci.org/MacPython/pandas-wheels/jobs/449669142

hmm this is now failing for a different reason

.get_indexer should be returning platform int - but it’s not ? (maybe just this case)

@topper-123
Copy link
Contributor

Hi,

I get failures on my 32bit installation when leaf_size=10000.

@jschendel jschendel deleted the ivtree-skip-32bit branch November 2, 2018 22:53
thoo added a commit to thoo/pandas that referenced this pull request Nov 3, 2018
…xamples

* repo_org/master: (66 commits)
  CLN: doc string (pandas-dev#23469)
  DOC: Add cookbook entry for triangular correlation matrix (GH22840) (pandas-dev#23032)
  add number of Errors, Warnings to scripts/validate_docstrings.py (pandas-dev#23150)
  BUG: Allow freq conversion from dt64 to period (pandas-dev#23460)
  ENH: Add FrozenList.union and .difference (pandas-dev#23394)
  REF: cython cleanup, typing, optimizations (pandas-dev#23464)
  strictness and checks for Timedelta _simple_new (pandas-dev#23433)
  Fixing flake8 problems new to flake8 3.6.0 (pandas-dev#23472)
  DOC: Updating the docstring of Series.dot  (pandas-dev#22890)
  TST: Fixturize series/test_analytics.py (pandas-dev#22755)
  BUG/ENH: Handle NonexistentTimeError in date rounding (pandas-dev#23406)
  PERF: speed up concat on Series by making _get_axis_number() a classmethod (pandas-dev#23404)
  REF: Remove DatetimelikeArrayMixin._shallow_copy (pandas-dev#23430)
  REF: strictness/simplification in DatetimeArray/Index _simple_new (pandas-dev#23431)
  REF: cython cleanup, typing, optimizations (pandas-dev#23456)
  TST: tweak Hypothesis configuration and idioms (pandas-dev#23441)
  BUG: fix HDFStore.append with all empty strings error (GH12242) (pandas-dev#23435)
  TST: Skip 32bit failing IntervalTree tests (pandas-dev#23442)
  BUG: Deprecate nthreads argument (pandas-dev#23112)
  style: fix import format at pandas/core/reshape (pandas-dev#23387)
  ...
tm9k1 pushed a commit to tm9k1/pandas that referenced this pull request Nov 19, 2018
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
32bit 32-bit systems Interval Interval data type Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants