-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
parameterize tests in scalar/timedelta #20428
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20428 +/- ##
==========================================
- Coverage 91.8% 91.77% -0.03%
==========================================
Files 152 152
Lines 49215 49215
==========================================
- Hits 45181 45169 -12
- Misses 4034 4046 +12
Continue to review full report at Codecov.
|
@@ -195,28 +195,22 @@ def test_iso_constructor_raises(fmt): | |||
Timedelta(fmt) | |||
|
|||
|
|||
def test_td_constructor_on_nanoseconds(): | |||
@pytest.mark.parametrize('constructed_td, conversion', |
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.
Just stylistically if you put the left bracket to start the list of parameters on the first line it could make this more readable (reduces the indentation required for every subsequent line)
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.
very good point. thanks!
thans @minggli happyily will take any parameterization tests! would take even w/o an issue |
git diff upstream/master -u -- "*.py" | flake8 --diff