-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: Fixed xfail for tests in pandas/tests/tseries/offsets/test_offsets_properties.py #32465
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
Closed
Closed
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
4fd071c
TST: Cleaned tests
d69692c
Fixed another test
6112ddd
Cosmetic changes
86415fa
Skiping tests if dateutils 2.7.0 or higher is not installed
10f5b72
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
a1ad09b
Suppressing mypy errors
f18e402
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
30d9ef7
Using LooseVersion
6cc8bc4
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
9087485
Added simplefilter for warnings
889b726
Typos
a33bb0c
Using td.skip.if_no decorator
5f4c9a6
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
d8a51f6
Delted duplicate apply_index
3a508cf
Remove warnings.simplefilter
5251350
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
7507faa
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
635b28e
Trying with smaller daterange
baf83d4
Revert "Trying with smaller daterange"
9389578
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
1802c60
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
273ca9d
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
664411f
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
e148ca7
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
0ea0151
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
5656456
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
648d17f
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
e4a9d0b
Removed skip decorators
80ad207
Merge remote-tracking branch 'upstream/master' into TST-tseries-xfail
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,8 @@ | |
YearEnd, | ||
) | ||
|
||
DATEUTIL_VERSION = dateutil.__version__ # type: ignore | ||
|
||
# ---------------------------------------------------------------- | ||
# Helpers for generating random data | ||
|
||
|
@@ -87,7 +89,7 @@ | |
|
||
|
||
@pytest.mark.skipif( | ||
dateutil.__version__ < "2.7", | ||
DATEUTIL_VERSION < "2.7", | ||
reason="hypothesis uses dateutil.tz.UTC which was intreduced in dateutils 2.7.0", | ||
) | ||
@given(gen_random_datetime, gen_yqm_offset) | ||
|
@@ -101,7 +103,7 @@ def test_on_offset_implementations(dt, offset): | |
|
||
|
||
@pytest.mark.skipif( | ||
dateutil.__version__ < "2.7", | ||
DATEUTIL_VERSION < "2.7", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you use LooseVersion |
||
reason="hypothesis uses dateutil.tz.UTC which was intreduced in dateutils 2.7.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. intreduced -> introduced |
||
) | ||
@given(gen_yqm_offset, gen_date_range) | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.