Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
57b1a286
Commit
57b1a286
authored
Apr 11, 2019
by
Inada Naoki
Committed by
GitHub
Apr 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-36597: fix random doctest failure (GH-12776)
parent
adff01e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
17 deletions
+15
-17
.travis.yml
.travis.yml
+14
-16
Doc/library/weakref.rst
Doc/library/weakref.rst
+1
-1
No files found.
.travis.yml
View file @
57b1a286
...
...
@@ -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
...
...
Doc/library/weakref.rst
View file @
57b1a286
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment