Unverified Commit c6e18de9 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix flaky test in test_trainer (#7689)

parent 2c9e83f7
......@@ -195,6 +195,8 @@ class TrainerIntegrationTest(unittest.TestCase):
args = TrainingArguments("./regression")
dict1, dict2 = args.to_dict(), trainer.args.to_dict()
for key in dict1.keys():
# Logging dir can be slightly different as they default to something with the time.
if key != "loggin_dir":
self.assertEqual(dict1[key], dict2[key])
def test_reproducible_training(self):
......
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