deepsource-autofix[bot] commited on
Commit
c200074
1 Parent(s): 9a7c989

Format code with black

Browse files
Files changed (1) hide show
  1. test/test.py +3 -3
test/test.py CHANGED
@@ -13,9 +13,9 @@ class TestPipeline(unittest.TestCase):
13
  def setUp(self):
14
  # Using inspect,
15
  # get default niterations from PySRRegressor, and double them:
16
- default_niterations = inspect.signature(PySRRegressor.__init__).parameters[
17
- "niterations"
18
- ].default
19
  self.default_test_kwargs = dict(niterations=default_niterations * 2)
20
  np.random.seed(0)
21
  self.X = np.random.randn(100, 5)
 
13
  def setUp(self):
14
  # Using inspect,
15
  # get default niterations from PySRRegressor, and double them:
16
+ default_niterations = (
17
+ inspect.signature(PySRRegressor.__init__).parameters["niterations"].default
18
+ )
19
  self.default_test_kwargs = dict(niterations=default_niterations * 2)
20
  np.random.seed(0)
21
  self.X = np.random.randn(100, 5)