Skip to content

Commit

Permalink
Fix builtin variable names test
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Mar 22, 2024
1 parent 35f862e commit 4ea9012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/test/test.py
Expand Up @@ -293,7 +293,7 @@ def test_noisy_builtin_variable_names(self):
model.fit(self.X, y, variable_names=["exec", "hash", "x3", "x4", "x5"])
self.assertLessEqual(model.get_best()[1]["loss"], 1e-2)
self.assertLessEqual(model.get_best()[1]["loss"], 1e-2)
self.assertIn("exec", model.latex()[1])
self.assertIn("exec", model.latex()[0])
self.assertIn("hash", model.latex()[1])

def test_pandas_resample_with_nested_constraints(self):
Expand Down

0 comments on commit 4ea9012

Please sign in to comment.