Skip to content
Permalink
Browse files

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

  • Loading branch information...
methane committed Apr 11, 2019
1 parent adff01e commit 57b1a2862a99677f09614e9e456d36aae9ddd87c
Showing with 15 additions and 17 deletions.
  1. +14 −16 .travis.yml
  2. +1 −1 Doc/library/weakref.rst
@@ -56,22 +56,20 @@ matrix:
- python -m pip install sphinx==1.8.2 blurb python-docs-theme
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
# FIXME: bpo-36597: the doctest job fails because it fails
# FIXME: for an unknown reason
#- os: linux
# language: c
# compiler: clang
# env: TESTING=doctest
# addons:
# apt:
# packages:
# - xvfb
# before_script:
# - ./configure
# - make -j4
# - make -C Doc/ PYTHON=../python venv
# script:
# xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
- os: linux
language: c
compiler: clang
env: TESTING=doctest
addons:
apt:
packages:
- xvfb
before_script:
- ./configure
- make -j4
- make -C Doc/ PYTHON=../python venv
script:
xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
- os: osx
language: c
compiler: clang
@@ -492,7 +492,7 @@ is still alive. For instance
>>> obj = Object()
>>> weakref.finalize(obj, print, "obj dead or exiting") #doctest:+ELLIPSIS
<finalize object at ...; for 'Object' at ...>
>>> exit() #doctest:+SKIP
>>> del obj
obj dead or exiting

0 comments on commit 57b1a28

Please sign in to comment.
You can’t perform that action at this time.