Commit 81da02e6 authored by Guido van Rossum's avatar Guido van Rossum

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

parent 222ef56b
...@@ -15,6 +15,8 @@ running test t3 ...@@ -15,6 +15,8 @@ running test t3
t3 loading t3 loading
t3.sub.subsub loading t3.sub.subsub loading
t3 t3.sub t3.sub.subsub t3 t3.sub t3.sub.subsub
t3 loading
t3.sub.subsub loading
running test t4 running test t4
t4 loading t4 loading
t4.sub.subsub loading t4.sub.subsub loading
......
...@@ -112,6 +112,9 @@ print dir() ...@@ -112,6 +112,9 @@ print dir()
""" """
import t3.sub.subsub import t3.sub.subsub
print t3.__name__, t3.sub.__name__, t3.sub.subsub.__name__ print t3.__name__, t3.sub.__name__, t3.sub.subsub.__name__
reload(t3)
reload(t3.sub)
reload(t3.sub.subsub)
"""), """),
("t4", [ ("t4", [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment