Skip to content

REF/TYP: use OpsMixin for DataFrame #37044

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

Merged
merged 24 commits into from
Oct 11, 2020
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f1bb6a0
REF/TYP: use OpsMixin for arithmetic methods
jbrockmendel Oct 8, 2020
9424789
Merge branch 'master' of https://github.com/pandas-dev/pandas into op…
jbrockmendel Oct 8, 2020
ac4f9de
Merge branch 'master' of https://github.com/pandas-dev/pandas into op…
jbrockmendel Oct 10, 2020
45c8618
REF: separate arith_method_FRAME from flex_arith_method_FRAME
jbrockmendel Oct 3, 2020
f553646
whatsnew
jbrockmendel Oct 7, 2020
3a855ba
REF/TYP: use OpsMixin for logical methods (#36964)
jbrockmendel Oct 8, 2020
6ed3317
TST: insert 'match' to bare pytest raises in pandas/tests/tools/test_…
krajatcl Oct 10, 2020
c7651cd
TST: insert 'match' to bare pytest raises in pandas/tests/test_flags.…
krajatcl Oct 10, 2020
919cbbc
TYP: generic, series, frame (#36989)
jbrockmendel Oct 10, 2020
81ac02a
CI: pin pymysql #36465 (#36847)
fangchenli Oct 10, 2020
8bec3a7
CLN/REF: de-duplicate DatetimeTZBlock.setitem (#37019)
jbrockmendel Oct 10, 2020
f86ff04
REF/TYP: define NDFrame numeric methods non-dynamically (#37017)
jbrockmendel Oct 10, 2020
04d33b8
CLN: require td64 in TimedeltaBlock (#37018)
jbrockmendel Oct 10, 2020
8912516
BUG: Raise ValueError instead of bare Exception in sanitize_array (#3…
micahjsmith Oct 10, 2020
1581bb1
CLN: collected cleanups, warning suppression in tests (#37021)
jbrockmendel Oct 10, 2020
77d4857
Merge branch 'master' of https://github.com/pandas-dev/pandas into re…
jbrockmendel Oct 10, 2020
a57d174
REF/TYP: use OpsMixin for DataFrame
jbrockmendel Oct 10, 2020
cd2d860
Merge branch 'master' of https://github.com/pandas-dev/pandas into re…
jbrockmendel Oct 10, 2020
8efb461
Merge branch 'master' of https://github.com/pandas-dev/pandas into re…
jbrockmendel Oct 10, 2020
afd25cc
CLN: remove get_op_name
jbrockmendel Oct 10, 2020
db038a5
Merge branch 'master' of https://github.com/pandas-dev/pandas into re…
jbrockmendel Oct 10, 2020
fdc68db
mypy fixup
jbrockmendel Oct 10, 2020
296e45b
de-privatize
jbrockmendel Oct 11, 2020
254ea0f
Merge branch 'master' of https://github.com/pandas-dev/pandas into re…
jbrockmendel Oct 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TST: insert 'match' to bare pytest raises in pandas/tests/test_flags.…
…py (#37026)

Co-authored-by: Rajat Bishnoi <rajat.b@greyorange.com>
  • Loading branch information
2 people authored and jbrockmendel committed Oct 10, 2020
commit c7651cdfd6342856b889bea97783085e174b7221
4 changes: 2 additions & 2 deletions pandas/tests/test_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def test_getitem(self):
flags["allows_duplicate_labels"] = False
assert flags["allows_duplicate_labels"] is False

with pytest.raises(KeyError):
with pytest.raises(KeyError, match="a"):
flags["a"]

with pytest.raises(ValueError):
with pytest.raises(ValueError, match="a"):
flags["a"] = 10