mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Added feeble test for reload() of packages and submodules.
This commit is contained in:
		
							parent
							
								
									222ef56bbf
								
							
						
					
					
						commit
						81da02e6aa
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		|  | @ -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 @@ def runtest(hier, code): | |||
| """ | ||||
| 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum