mirror of https://github.com/python/cpython
Added feeble test for reload() of packages and submodules.
This commit is contained in:
parent
222ef56bbf
commit
81da02e6aa
|
@ -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
|
||||
|
|
|
@ -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", [
|
||||
|
|
Loading…
Reference in New Issue