Spaces:
Running
Running
Skip notebook test on Windows
Browse files
pysr/test/test_startup.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import os
|
|
|
|
| 2 |
import subprocess
|
| 3 |
import sys
|
| 4 |
import tempfile
|
|
@@ -131,6 +132,8 @@ class TestStartup(unittest.TestCase):
|
|
| 131 |
def test_notebook(self):
|
| 132 |
if jl_version < (1, 9, 0):
|
| 133 |
self.skipTest("Julia version too old")
|
|
|
|
|
|
|
| 134 |
result = subprocess.run(
|
| 135 |
[
|
| 136 |
sys.executable,
|
|
|
|
| 1 |
import os
|
| 2 |
+
import platform
|
| 3 |
import subprocess
|
| 4 |
import sys
|
| 5 |
import tempfile
|
|
|
|
| 132 |
def test_notebook(self):
|
| 133 |
if jl_version < (1, 9, 0):
|
| 134 |
self.skipTest("Julia version too old")
|
| 135 |
+
if platform.system() == "Windows":
|
| 136 |
+
self.skipTest("Notebook test incompatible with Windows")
|
| 137 |
result = subprocess.run(
|
| 138 |
[
|
| 139 |
sys.executable,
|