MilesCranmer commited on
Commit
bbf18ee
1 Parent(s): 2f5f984

test: avoid generating csv files during test

Browse files
Files changed (1) hide show
  1. pysr/test/test.py +5 -0
pysr/test/test.py CHANGED
@@ -30,6 +30,11 @@ from .params import (
30
  DEFAULT_POPULATIONS,
31
  )
32
 
 
 
 
 
 
33
 
34
  class TestPipeline(unittest.TestCase):
35
  def setUp(self):
 
30
  DEFAULT_POPULATIONS,
31
  )
32
 
33
+ # Disables local saving:
34
+ os.environ["SYMBOLIC_REGRESSION_IS_TESTING"] = os.environ.get(
35
+ "SYMBOLIC_REGRESSION_IS_TESTING", "true"
36
+ )
37
+
38
 
39
  class TestPipeline(unittest.TestCase):
40
  def setUp(self):