aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/doctest.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-11-24 16:25:01 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-11-24 16:25:01 -0500
commitf07c527906b54fa8245c6804ae8062c8ddd6c6d7 (patch)
tree22d811fafb5cadcc37aabef2b612b098d1287d82 /setuptools/tests/doctest.py
parent6474847292f1cf4fcda55afe2cd5e46497ce339f (diff)
downloadexternal_python_setuptools-f07c527906b54fa8245c6804ae8062c8ddd6c6d7.tar.gz
external_python_setuptools-f07c527906b54fa8245c6804ae8062c8ddd6c6d7.tar.bz2
external_python_setuptools-f07c527906b54fa8245c6804ae8062c8ddd6c6d7.zip
Drop compatibility function exec_, required for Python 2.5 and earlier.
Diffstat (limited to 'setuptools/tests/doctest.py')
-rw-r--r--setuptools/tests/doctest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/doctest.py b/setuptools/tests/doctest.py
index 35d588d0..0c160fe4 100644
--- a/setuptools/tests/doctest.py
+++ b/setuptools/tests/doctest.py
@@ -1250,7 +1250,7 @@ class DocTestRunner:
# keyboard interrupts.)
try:
# Don't blink! This is where the user's code gets run.
- exec_(compile(example.source, filename, "single",
+ exec(compile(example.source, filename, "single",
compileflags, 1), test.globs)
self.debugger.set_continue() # ==== Example Finished ====
exception = None