Skip to content

Commit

Permalink
fix numpy 2.0 new behaviour NEP50
Browse files Browse the repository at this point in the history
  • Loading branch information
thiesmoeller committed Jun 16, 2024
1 parent a989aa3 commit 900b871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pylon_tests/emulated/grab_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_grab_multiple_cameras(self):
first_line = img[0]
prev = first_line[0]
for pxl in first_line[1:]:
self.assertEqual(pxl, (prev + 1) % 256)
self.assertEqual(pxl, (int(prev) + 1) % 256)
prev = pxl
self.assertTrue(twoCamsUsed) # Are 2 Cameras actually used

Expand Down

0 comments on commit 900b871

Please sign in to comment.