-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Fix flaky test #27010
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: Fix flaky test #27010
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u make these fixtures which will just fix this in a standard way
Codecov Report
@@ Coverage Diff @@
## master #27010 +/- ##
==========================================
- Coverage 91.99% 91.98% -0.01%
==========================================
Files 180 180
Lines 50774 50774
==========================================
- Hits 46711 46707 -4
- Misses 4063 4067 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #27010 +/- ##
==========================================
- Coverage 91.99% 91.99% -0.01%
==========================================
Files 180 180
Lines 50774 50774
==========================================
- Hits 46711 46708 -3
- Misses 4063 4066 +3
Continue to review full report at Codecov.
|
fixturized |
@@ -14,10 +14,15 @@ | |||
end=datetime(2005, 1, 10), freq='Min') | |||
|
|||
test_series = Series(np.random.rand(len(dti)), dti) | |||
test_frame = DataFrame( | |||
_test_frame = DataFrame( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u just inline this in the fixture?
can u fixturize the series as well
not so sure these are great names either
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixturing this kind of thing is like pulling my own teeth. Closing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok i can’t imagine it taking very long
Fix itself seems good, so merging |
Addresses one of the checkboxes in #26823