def test_translation(self):
     # Test `type_caster`s.
     value = test_util.create_translation()
     self.assertEqual(value.shape, (3, ))
     test_util.check_translation(value)
Example #2
0
 def test_translation(self):
     # Test `type_caster`s.
     value = test_util.create_translation()
     self.assertEqual(value.shape, (3,))
     test_util.check_translation(value)