Skip to content

Commit

Permalink
reduce timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Jan 31, 2025
1 parent 29ccae2 commit 7e3c1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/command_line/test_enumlib_caller.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ def test_timeout(self):
SpacegroupAnalyzer(struct, 0.1)
struct["Al3+"] = {"Al3+": 0.5, "Ga3+": 0.5}

adaptor = EnumlibAdaptor(struct, 1, 1, enum_precision_parameter=0.01, timeout=1e-2)
adaptor = EnumlibAdaptor(struct, 1, 1, enum_precision_parameter=0.01, timeout=1e-12)
with pytest.raises(TimeoutError, match="Enumeration took too long"):
adaptor._run_multienum()

0 comments on commit 7e3c1fe

Please sign in to comment.