Commit 57b1a286 authored by Inada Naoki's avatar Inada Naoki Committed by GitHub

bpo-36597: fix random doctest failure (GH-12776)

parent adff01e8
...@@ -56,22 +56,20 @@ matrix: ...@@ -56,22 +56,20 @@ matrix:
- python -m pip install sphinx==1.8.2 blurb python-docs-theme - python -m pip install sphinx==1.8.2 blurb python-docs-theme
script: script:
- make check suspicious html SPHINXOPTS="-q -W -j4" - make check suspicious html SPHINXOPTS="-q -W -j4"
# FIXME: bpo-36597: the doctest job fails because it fails - os: linux
# FIXME: for an unknown reason language: c
#- os: linux compiler: clang
# language: c env: TESTING=doctest
# compiler: clang addons:
# env: TESTING=doctest apt:
# addons: packages:
# apt: - xvfb
# packages: before_script:
# - xvfb - ./configure
# before_script: - make -j4
# - ./configure - make -C Doc/ PYTHON=../python venv
# - make -j4 script:
# - make -C Doc/ PYTHON=../python venv xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
# script:
# xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
- os: osx - os: osx
language: c language: c
compiler: clang compiler: clang
......
...@@ -492,7 +492,7 @@ is still alive. For instance ...@@ -492,7 +492,7 @@ is still alive. For instance
>>> obj = Object() >>> obj = Object()
>>> weakref.finalize(obj, print, "obj dead or exiting") #doctest:+ELLIPSIS >>> weakref.finalize(obj, print, "obj dead or exiting") #doctest:+ELLIPSIS
<finalize object at ...; for 'Object' at ...> <finalize object at ...; for 'Object' at ...>
>>> exit() #doctest:+SKIP >>> del obj
obj dead or exiting obj dead or exiting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment