From: Guido van Rossum Date: Sat, 6 Sep 1997 19:58:53 +0000 (+0000) Subject: Added feeble test for reload() of packages and submodules. X-Git-Tag: v1.5a4~221 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81da02e6aa7b3400ef06b76c6329cc0cd0216414;p=thirdparty%2FPython%2Fcpython.git Added feeble test for reload() of packages and submodules. --- diff --git a/Lib/test/output/test_pkg b/Lib/test/output/test_pkg index 19ac6f211bda..b1033c129805 100644 --- a/Lib/test/output/test_pkg +++ b/Lib/test/output/test_pkg @@ -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 diff --git a/Lib/test/test_pkg.py b/Lib/test/test_pkg.py index 32105005bf64..9c8e44e9533e 100644 --- a/Lib/test/test_pkg.py +++ b/Lib/test/test_pkg.py @@ -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", [