Spaces:
Running
Running
deepsource-autofix[bot]
commited on
Commit
•
0d86c93
1
Parent(s):
81624b2
style: Format code with black
Browse files- pysr/test/test.py +1 -2
pysr/test/test.py
CHANGED
@@ -244,7 +244,6 @@ class TestPipeline(unittest.TestCase):
|
|
244 |
regressor.fit(self.X, y)
|
245 |
|
246 |
def test_noisy(self):
|
247 |
-
|
248 |
y = self.X[:, [0, 1]] ** 2 + self.rstate.randn(self.X.shape[0], 1) * 0.05
|
249 |
model = PySRRegressor(
|
250 |
# Test that passing a single operator works:
|
@@ -678,7 +677,7 @@ class TestMiscellaneous(unittest.TestCase):
|
|
678 |
|
679 |
check_generator = check_estimator(model, generate_only=True)
|
680 |
exception_messages = []
|
681 |
-
for
|
682 |
try:
|
683 |
with warnings.catch_warnings():
|
684 |
warnings.simplefilter("ignore")
|
|
|
244 |
regressor.fit(self.X, y)
|
245 |
|
246 |
def test_noisy(self):
|
|
|
247 |
y = self.X[:, [0, 1]] ** 2 + self.rstate.randn(self.X.shape[0], 1) * 0.05
|
248 |
model = PySRRegressor(
|
249 |
# Test that passing a single operator works:
|
|
|
677 |
|
678 |
check_generator = check_estimator(model, generate_only=True)
|
679 |
exception_messages = []
|
680 |
+
for _, check in check_generator:
|
681 |
try:
|
682 |
with warnings.catch_warnings():
|
683 |
warnings.simplefilter("ignore")
|