Skip to content

Commit

Permalink
Format code with black
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in b293893 according to the output
from black.

Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/d83fc295-0f72-4500-b5f9-b933f090df3d/
  • Loading branch information
deepsource-autofix[bot] committed May 22, 2022
1 parent b293893 commit 50c7eff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test.py
Expand Up @@ -107,7 +107,7 @@ def test_multioutput_weighted_with_callable_temp_equation(self):
print("Error in test_multioutput_weighted_with_callable_temp_equation")
print("Model equations: ", model.sympy()[0])
print("True equation: x0^2")

try:
np.testing.assert_almost_equal(
model.predict(X.copy())[:, 1], X[:, 1] ** 2, decimal=4
Expand Down Expand Up @@ -320,4 +320,3 @@ def test_feature_warning(self):
with self.assertRaises(Exception) as context:
model.fit(X, y)
self.assertIn("with 10 features or more", str(context.exception))

0 comments on commit 50c7eff

Please sign in to comment.