Unverified Commit f40942ad authored by Emmanuel Ferdman's avatar Emmanuel Ferdman Committed by GitHub
Browse files

Migrate to assertEqual (#6741)


Signed-off-by: default avatarEmmanuel Ferdman <emmanuelferdman@gmail.com>
parent dc0705a5
...@@ -56,7 +56,7 @@ class TestTwoBatchOverlap(unittest.TestCase): ...@@ -56,7 +56,7 @@ class TestTwoBatchOverlap(unittest.TestCase):
}, },
) )
print(f"{response.json()=}") print(f"{response.json()=}")
self.assertEquals(response.json()["text"], "5, 1+5=6") self.assertEqual(response.json()["text"], "5, 1+5=6")
def test_mmlu(self): def test_mmlu(self):
args = SimpleNamespace( args = SimpleNamespace(
......
Markdown is supported
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