Skip to content

Commit 7393fa7

Browse files
committed
Fix shape check
1 parent 683bc06 commit 7393fa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_fmtstr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,8 @@ def assertFSArraysEqual(self, a, b):
582582
self.assertIsInstance(a, FSArray)
583583
self.assertIsInstance(b, FSArray)
584584
self.assertEqual(
585-
(a.width, b.height),
586-
(a.width, b.height),
585+
(a.width, a.height),
586+
(b.width, b.height),
587587
f"fsarray dimensions do not match: {a.shape} {b.shape}",
588588
)
589589
for i, (a_row, b_row) in enumerate(zip(a, b)):

0 commit comments

Comments
 (0)