summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-10 02:58:26 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-10 02:58:26 (GMT)
commit6192df10b6c5d157735feefc591e90a61c4000c0 (patch)
treeb3f18700990fbaee8b0aac7f946af176d58b3882 /Lib/test
parentaf8780483129e10d30b660cea1e3b893d913e963 (diff)
downloadcpython-6192df10b6c5d157735feefc591e90a61c4000c0.zip
cpython-6192df10b6c5d157735feefc591e90a61c4000c0.tar.gz
cpython-6192df10b6c5d157735feefc591e90a61c4000c0.tar.bz2
Deprecate the compiler package for removal in 3.0.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py
index d491b78..390c469 100644
--- a/Lib/test/test_compiler.py
+++ b/Lib/test/test_compiler.py
@@ -1,7 +1,7 @@
-import compiler
+import test.test_support
+compiler = test.test_support.import_module('compiler', deprecated=True)
from compiler.ast import flatten
import os, sys, time, unittest
-import test.test_support
from random import random
from StringIO import StringIO