followups to D37592429

Summary: Fixing comments on D37592429 (0dce883241)

Reviewed By: shapovalov

Differential Revision: D37752367

fbshipit-source-id: 40aa7ee4dc0c5b8b7a84a09d13a3933a9e3afedd
This commit is contained in:
Jeremy Reizenstein
2022-07-13 06:07:02 -07:00
committed by Facebook GitHub Bot
parent 55f67b0d18
commit b95ec190af
5 changed files with 18 additions and 18 deletions

View File

@@ -90,6 +90,5 @@ class TestGenericModel(unittest.TestCase):
remove_unused_components(instance_args)
yaml = OmegaConf.to_yaml(instance_args, sort_keys=False)
if DEBUG:
print(DATA_DIR)
(DATA_DIR / "overrides.yaml_").write_text(yaml)
self.assertEqual(yaml, (DATA_DIR / "overrides.yaml").read_text())