diff --git a/torchx/runner/test/config_test.py b/torchx/runner/test/config_test.py index 959c3cf7..cf3b216c 100644 --- a/torchx/runner/test/config_test.py +++ b/torchx/runner/test/config_test.py @@ -425,7 +425,7 @@ def test_load_invalid_runopt(self, _) -> None: # this makes things super hard to guarantee BC - stale config file will fail # to run, we don't want that) - self.assertEquals("option_that_exists", cfg.get("s")) + self.assertEqual("option_that_exists", cfg.get("s")) def test_load_no_section(self) -> None: cfg = {}