We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
In pandas/pandas/tests/indexing/interval/test_interval_new.py at 746e5eee860b6e143c33c9b985e095dac2e42677 · pandas-dev/pandas
# interval expected = 0 result = indexer_sl(ser)[Interval(1, 5)] result == expected
The final line, result == expected should probably be assert result == expected or tm.assert_series_equal(expected, result).
result == expected
assert result == expected
tm.assert_series_equal(expected, result)
Values are compared in the unit tests, but the result of the comparison is discarded instead of asserted.
An assertion
v2.2.0.dev0-383-g746e5eee86
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
In pandas/pandas/tests/indexing/interval/test_interval_new.py at 746e5eee860b6e143c33c9b985e095dac2e42677 · pandas-dev/pandas
The final line,
result == expected
should probably beassert result == expected
ortm.assert_series_equal(expected, result)
.Issue Description
Values are compared in the unit tests, but the result of the comparison is discarded instead of asserted.
Expected Behavior
An assertion
Installed Versions
v2.2.0.dev0-383-g746e5eee86
The text was updated successfully, but these errors were encountered: