Skip to content

Commit bd92343

Browse files
committed
Avoid testing using platform on windows
1 parent b2ea4e9 commit bd92343

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ install:
5050
{$root = "C:\Miniconda-x64"}
5151
$env:path="$root;$root\Scripts;$root\Library\bin;$($env:path)"
5252

53-
- cmd: setx NUMBA_DISABLE_JIT "1"
5453
- cmd: conda config --set show_channel_urls true
5554
- cmd: conda config --set always_yes yes --set changeps1 no
5655
- cmd: conda update -n base conda

exa/util/tests/test_nbvars.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
"""
1010
import os
1111
import pytest
12+
import platform
1213
import numpy as np
1314
import sympy as sy
1415
from numba.errors import TypingError
1516
from exa.util.nbvars import numbafy
1617

1718

18-
NUMBA_DISABLE_JIT = os.environ.get("NUMBA_DISABLE_JIT", 0) == 1
19+
NUMBA_DISABLE_JIT = os.environ.get("NUMBA_DISABLE_JIT", 0) == 1 or platform.system() == "Windows"
1920

2021

2122
@pytest.fixture

0 commit comments

Comments
 (0)