##// END OF EJS Templates
capture_output does not respect trailing semicolon (#13940)...
capture_output does not respect trailing semicolon (#13940) This change tests whether the Python code inside the `%%capture` magic ends with a `';'`. If it does, the code no longer creates the object that is supposed to store the cell output. If such object already exists, it is deleted. Please review and suggest changes if you think they can improve the solution. Thanks.

File last commit:

r27520:b2f71a87
r28128:75ecfe93 merge
Show More
appveyor.yml
27 lines | 752 B | text/x-yaml | YamlLexer
build: false
matrix:
fast_finish: true # immediately finish build once one of the jobs fails.
environment:
global:
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
COLUMNS: 120 # Appveyor web viewer window width is 130 chars
matrix:
- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "32"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python -m pip install --upgrade setuptools 'pip<22'
- pip install pytest-cov
- pip install -e .[test_extra]
test_script:
- pytest --color=yes -ra --cov --cov-report=xml
on_finish:
- curl -Os https://uploader.codecov.io/latest/windows/codecov.exe
- codecov -e PYTHON_VERSION,PYTHON_ARCH