mirror of
https://github.com/python/cpython.git
synced 2024-12-14 20:34:12 +08:00
408b6d34de
imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
14 lines
237 B
Python
14 lines
237 B
Python
# Python test set -- part 4, built-in functions
|
|
|
|
from test.test_support import unload
|
|
|
|
print '4. Built-in functions'
|
|
|
|
print 'test_b1'
|
|
unload('test_b1')
|
|
from test import test_b1
|
|
|
|
print 'test_b2'
|
|
unload('test_b2')
|
|
from test import test_b2
|