Skip to content

Commit

Permalink
Potential fix for flaky ion_cyclotron_source test.
Browse files Browse the repository at this point in the history
This removes the default whitespaces from the seperators which will hopefully fix the flaky read.

PiperOrigin-RevId: 711712482
  • Loading branch information
Nush395 authored and Torax team committed Jan 3, 2025
1 parent 92a34e0 commit 56b7855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torax/sources/tests/ion_cyclotron_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def setUpClass(cls):
)
# pylint: enable=protected-access
with open(_DUMMY_MODEL_PATH, "w") as f:
json.dump(model_config, f)
json.dump(model_config, f, indent=4, separators=(",", ":"))
cls.dummy_input = model_input
cls.dummy_output = model_output
super().setUpClass(
Expand Down

0 comments on commit 56b7855

Please sign in to comment.