Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fbcode//torchx/runner/test [B] (pytorch#1001)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#1001

Differential Revision: D68022130
CodemodService PythonDeprecatedAssertsBot authored and facebook-github-bot committed Jan 23, 2025
1 parent 4789001 commit 614d109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchx/runner/test/config_test.py
Original file line number Diff line number Diff line change
@@ -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 = {}

0 comments on commit 614d109

Please sign in to comment.