예제 #1
0
 def test_translation(self):
     # Test `type_caster`s.
     value = test_util.create_translation()
     self.assertEqual(value.shape, (3, ))
     test_util.check_translation(value)
예제 #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)