Skip to content

Commit ac4fd6e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 289f1ee commit ac4fd6e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pysr/test/test_main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,7 @@ def test_elementwise_loss_wrong_signature_warns(self):
269269
)
270270

271271
def test_elementwise_loss_with_weights_requires_three_args_warns(self):
272-
custom_loss = jl.seval(
273-
"myloss2(prediction, target) = (prediction - target)^2"
274-
)
272+
custom_loss = jl.seval("myloss2(prediction, target) = (prediction - target)^2")
275273
with self.assertWarnsRegex(UserWarning, "elementwise_loss"):
276274
_validate_elementwise_loss(
277275
custom_loss,

0 commit comments

Comments
 (0)