Skip to content

REF: .dot tests #33214

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 6 commits into from
Apr 10, 2020
Merged
Changes from 2 commits
Commits
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
2 changes: 1 addition & 1 deletion pandas/tests/generic/methods/test_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_dot_aligns(self, obj, other, expected):
tm.assert_equal(result, expected)

def test_dot_shape_mismatch(self, obj):
msg = r"Dot product shape mismatch"
msg = "Dot product shape mismatch"
# exception raised is of type Exception
with pytest.raises(Exception, match=msg):
obj.dot(obj.values[:3])
Expand Down