Deprecate the new module for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-09 05:18:40 +00:00
parent d03238a647
commit d7265d6483
5 changed files with 13 additions and 5 deletions

View file

@ -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):