MilesCranmer commited on
Commit
4db7637
1 Parent(s): ddadb22

Try to fix nb sanitizer

Browse files
Files changed (2) hide show
  1. pysr/test/nb_sanitize.cfg +1 -1
  2. pysr/test/test.py +1 -1
pysr/test/nb_sanitize.cfg CHANGED
@@ -1,3 +1,3 @@
1
  [pathnames]
2
- regex: ^[a-zA-Z0-9_\-/]+/pysr/sr\.py
3
  replace: PATH
 
1
  [pathnames]
2
+ regex: /[a-zA-Z0-9_\- .\/]+/pysr/sr\.py
3
  replace: PATH
pysr/test/test.py CHANGED
@@ -100,7 +100,7 @@ class TestPipeline(unittest.TestCase):
100
  self.assertEqual(model.julia_options_.turbo, True)
101
 
102
  def test_multiline_seval(self):
103
- if jl.seval('VERSION >= v"1.9"'):
104
  # The user should be able to run multiple things in a single seval call:
105
  num = jl.seval(
106
  """
 
100
  self.assertEqual(model.julia_options_.turbo, True)
101
 
102
  def test_multiline_seval(self):
103
+ if jl.seval('VERSION >= v"1.9.0-DEV.0"'):
104
  # The user should be able to run multiple things in a single seval call:
105
  num = jl.seval(
106
  """