Skip to content

Commit

Permalink
Fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron authored and Stéphane Caron committed Sep 29, 2023
1 parent bca3233 commit d2b289e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import unittest

import numpy as np

from mpacklog.serialize import serialize


Expand All @@ -39,6 +40,6 @@ class TestSerialize(unittest.TestCase):
def test_serialize(self):
foo = FooSerializer()
x = np.array([1, 2, 3])
self.assertEquals(serialize(x), list(x))
self.assertEquals(serialize(MockPinocchioSE3(x)), list(x))
self.assertEquals(serialize(foo), {"foo": "bar"})
self.assertEqual(serialize(x), list(x))
self.assertEqual(serialize(MockPinocchioSE3(x)), list(x))
self.assertEqual(serialize(foo), {"foo": "bar"})

0 comments on commit d2b289e

Please sign in to comment.