Skip to content

Commit ad89723

Browse files
committed
explicitly set type to allow operation under Windows
1 parent 4374ce6 commit ad89723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_pixel(self):
1515
self.assertIsInstance(pix, np.int64)
1616
self.assertEqual(pix, im.A[6, 5])
1717

18-
im = Image(np.arange(240).reshape((10, 8, 3))) # 8x10 image
18+
im = Image(np.arange(240).reshape((10, 8, 3)), dtype="int64") # 8x10 image
1919
pix = im.pixel(5, 6)
2020
self.assertIsInstance(pix, np.ndarray)
2121
self.assertEqual(pix.shape, (3,))

0 commit comments

Comments
 (0)