Commit 45cd6f4d authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

use assertEqual

parent 8c9c54d1
Pipeline #1469 failed with stage
in 0 seconds
...@@ -36,7 +36,7 @@ class FlipImageTestCase(unittest.TestCase): ...@@ -36,7 +36,7 @@ class FlipImageTestCase(unittest.TestCase):
delimiter=",", delimiter=",",
dtype=int, dtype=int,
) )
self.assertIs( self.assertEqual(
flip_image(image_input), flip_image(image_input),
image_answer, image_answer,
"Test flip image on server failed", "Test flip image on server failed",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment