configuration on windows
# -*- coding: utf-8 -*-
# ref: https://github.com/pymc-devs/pymc3/blob/master/pymc3/tests/conftest.py
-import platform
-
import pytest
import theano
@@ -10,9 +8,10 @@ import theano
@pytest.fixture(scope="package", autouse=True)
def theano_config():
flags = dict(compute_test_value="off")
- if platform.system() == "Windows":
- print("windows")
- flags["mode"] = "FAST_COMPILE"
+ # import platform
+ # if platform.system() == "Windows":
+ # print("windows")
+ # flags["mode"] = "FAST_COMPILE"
config = theano.configparser.change_flags(**flags)
with config:
yield
