summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-08-09 22:44:52 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-08-09 22:44:52 (GMT)
commitc483a01a8f71fa08510e0d7362d45f3c31848871 (patch)
tree8386d009afb941acefc3d004dfdb8b9fdaed8711
parent2b52c0a25fee693fddbe9163b471fac9c75105ed (diff)
downloadcpython-c483a01a8f71fa08510e0d7362d45f3c31848871.zip
cpython-c483a01a8f71fa08510e0d7362d45f3c31848871.tar.gz
cpython-c483a01a8f71fa08510e0d7362d45f3c31848871.tar.bz2
Issue #27206: Fix doctests in Doc/tutorial.
Patch by Jelle Zijlstra.
-rw-r--r--Doc/tutorial/floatingpoint.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst
index d440e53..0c0eb52 100644
--- a/Doc/tutorial/floatingpoint.rst
+++ b/Doc/tutorial/floatingpoint.rst
@@ -1,3 +1,7 @@
+.. testsetup::
+
+ import math
+
.. _tut-fp-issues:
**************************************************