Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 733570e

Browse files
committed
Add assert to test
1 parent 56e2420 commit 733570e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_transforms.py

Lines 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)