Changeset bb4ff2a in sasmodels
- Timestamp:
- Jan 26, 2018 10:45:35 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 42158d2
- Parents:
- ecb485c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
ra69d8cd rbb4ff2a 38 38 - conda info -a 39 39 # 2018-01-26 PAK: sasmodels uses yield generator for tests, which isn't supported in pytest 4+ 40 - conda install --yes python=$PY numpy scipy cython mako cffi "pytest<4"40 - conda install --yes python=$PY numpy scipy cython mako docutils cffi "pytest<4" 41 41 install: 42 42 - pip install bumps -
appveyor.yml
ra69d8cd rbb4ff2a 69 69 # 2018-01-19 PAK: skipping toolchain cython and cffi (these were for pyopencl?) 70 70 # 2018-01-26 PAK: sasmodels uses yield generator for tests, which isn't supported in pytest 4+ 71 - cmd: conda install --yes --quiet numpy scipy "pytest<4"71 - cmd: conda install --yes --quiet numpy scipy docutils "pytest<4" 72 72 # 2018-01-19 PAK: skipping pyopencl; this would be needed for deploy but maybe not for test 73 73 #- cmd: conda install --yes --channel conda-forge pyopencl -
conftest.py
ra69d8cd rbb4ff2a 11 11 test specifically from the py.test command line. [This is perhaps because 12 12 the modifyitems hook is only called after test selection.] 13 14 *pytest_ignore_collect* skips kernelcl.py if pyopencl cannot be imported. 13 15 """ 14 16 from __future__ import print_function 15 17 18 import os.path 19 16 20 import pytest 17 21 from _pytest.unittest import TestCaseFunction 22 23 try: 24 import pyopencl 25 TEST_PYOPENCL = True 26 except ImportError: 27 TEST_PYOPENCL = False 28 29 def pytest_ignore_collect(path, config): 30 ignore = TEST_PYOPENCL and path.basename == "kernelcl.py" 31 return ignore 18 32 19 33 USE_DOCSTRING_AS_DESCRIPTION = True
Note: See TracChangeset
for help on using the changeset viewer.