commit | d7265d64831f870f46b7c61244b2c86dc803f292 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Fri May 09 05:18:40 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Fri May 09 05:18:40 2008 +0000 |
tree | 7c16633c07b27002f987e70296ade6c1b26a0601 | |
parent | d03238a6473cbf5d81d9d99c71e1bab36c3455d8 [diff] [blame] |
Deprecate the new module for removal in 3.0.
diff --git a/Lib/test/test_new.py b/Lib/test/test_new.py index c243b59..231f4bb 100644 --- a/Lib/test/test_new.py +++ b/Lib/test/test_new.py
@@ -1,6 +1,7 @@ import unittest from test import test_support -import sys, new +import sys +new = test_support.import_module('new', deprecated=True) class NewTest(unittest.TestCase): def test_spam(self):