##// END OF EJS Templates
Misc modifications for pytest comppatibility...
Misc modifications for pytest comppatibility 1) remove objects creations `ip = get_ipython()` which is anyway injected in builtins. 2) use proper xunit test cases for capturing warnings. 3) Use proper assertWarns instead of assert print, as pytest captures warnings. 4) fix recusrsion limit in pytest whcih need to be higher 5) properly capture context in yielded tests.

File last commit:

r24475:390bb17a
r25115:b078d256
Show More
appveyor.yml
27 lines | 682 B | text/x-yaml | YamlLexer
build: false
matrix:
fast_finish: true # immediately finish build once one of the jobs fails.
environment:
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "%CMD_IN_ENV% python -m pip install --upgrade setuptools pip"
- "%CMD_IN_ENV% pip install nose coverage"
- "%CMD_IN_ENV% pip install .[test]"
- "%CMD_IN_ENV% mkdir results"
- "%CMD_IN_ENV% cd results"
test_script:
- "%CMD_IN_ENV% iptest --coverage xml"