Skip to content

Conversation

@jbrockmendel
Copy link
Member

Re-order the fixturizatin of engine and read_ext so as to yield only valid combinations, avoiding the need to pytest.skip the invalid combinations. This cuts out 500+ pytest.skips, which is about a third of the skips I see when i test with --not-slow.

The idea is that by cutting down on skips we can keep a closer eye on them, and things like this wont fall through the cracks quite as easily.

),
pytest.param("odf", marks=td.skip_if_no("odf")),
]
_transfer_marks(eng, ext)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it alternately be possible to just change the scope of this fixture to be class level? This is a decent amount of logic to sift through for parametrization just wondering if we can't strike a better balance with a scope="class" argument rather than all of this logic

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find a way to do what you're describing, but agree it would be nice.

@jreback jreback added the Testing pandas testing functions or related to the test suite label Dec 26, 2019
@jreback jreback added this to the 1.0 milestone Dec 26, 2019
@jreback jreback merged commit 0d76ecc into pandas-dev:master Dec 26, 2019
@jreback
Copy link
Contributor

jreback commented Dec 26, 2019

thanks, happy to remove these skips!

@jbrockmendel jbrockmendel deleted the tst-skip-excel branch December 26, 2019 00:19
AlexKirko pushed a commit to AlexKirko/pandas that referenced this pull request Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants