Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiopuglisi committed Jul 2, 2024
1 parent 9319aa2 commit 53b1bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/types/camera_frame_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def testNumpy(self):
frame2 = self._cameraFrame.toNumpyArray()
self.assertTrue(np.array_equal(self._frame, frame2))

def testTypeIsFloat(self):
self.assertEqual(float, self._cameraFrame.toNumpyArray().dtype)
def testTypeIsUint16(self):
self.assertEqual(np.uint16, self._cameraFrame.toNumpyArray().dtype)

def testComparison(self):
counter = 42
Expand Down

0 comments on commit 53b1bbe

Please sign in to comment.