Added feeble test for reload() of packages and submodules.

This commit is contained in:
Guido van Rossum 1997-09-06 19:58:53 +00:00
parent 222ef56bbf
commit 81da02e6aa
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,8 @@ running test t3
t3 loading
t3.sub.subsub loading
t3 t3.sub t3.sub.subsub
t3 loading
t3.sub.subsub loading
running test t4
t4 loading
t4.sub.subsub loading

View File

@ -112,6 +112,9 @@ print dir()
"""
import t3.sub.subsub
print t3.__name__, t3.sub.__name__, t3.sub.subsub.__name__
reload(t3)
reload(t3.sub)
reload(t3.sub.subsub)
"""),
("t4", [