[Python-checkins] cpython (3.5): Issue #27206: Fix doctests in Doc/tutorial.
zach.ware
python-checkins at python.org
Tue Aug 9 18:45:52 EDT 2016
https://hg.python.org/cpython/rev/8b7efeeefa50
changeset: 102591:8b7efeeefa50
branch: 3.5
parent: 102589:0d95e47cfe3e
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Aug 09 17:44:52 2016 -0500
summary:
Issue #27206: Fix doctests in Doc/tutorial.
Patch by Jelle Zijlstra.
files:
Doc/tutorial/floatingpoint.rst | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst
--- a/Doc/tutorial/floatingpoint.rst
+++ b/Doc/tutorial/floatingpoint.rst
@@ -1,3 +1,7 @@
+.. testsetup::
+
+ import math
+
.. _tut-fp-issues:
**************************************************
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list