Deprecate test.testall for removal in 3.0.
diff --git a/Lib/test/testall.py b/Lib/test/testall.py
index 2349394..5b5cf01 100644
--- a/Lib/test/testall.py
+++ b/Lib/test/testall.py
@@ -1,4 +1,10 @@
 # Backward compatibility -- you should use regrtest instead of this module.
+from warnings import warnpy3k
+warnpy3k("the test.testall module has been removed in Python 3.0",
+            stacklevel=2)
+del warnpy3k
+
+
 import sys, regrtest
 sys.argv[1:] = ["-vv"]
 regrtest.main()