Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 733570e

Browse filesBrowse files
committed
Add assert to test
1 parent 56e2420 commit 733570e
Copy full SHA for 733570e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/tests/test_transforms.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_transforms.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ def test_bbox_as_strings():
489489

490490
def test_transform_single_point():
491491
t = mtrans.Affine2D()
492-
t.transform_affine((1, 1))
493-
492+
r = t.transform_affine((1, 1))
493+
assert r.shape == (2,)
494494

495495
if __name__=='__main__':
496496
import nose

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.