Also update yield teardown for Issue #687
This commit is contained in:
		
							parent
							
								
									3a0a1d2de3
								
							
						
					
					
						commit
						f42a954cb3
					
				|  | @ -257,8 +257,9 @@ the code after the *yield* statement serves as the teardown code.:: | ||||||
|         print("teardown smtp") |         print("teardown smtp") | ||||||
|         smtp.close() |         smtp.close() | ||||||
| 
 | 
 | ||||||
| The ``print`` and ``smtp.close()`` statements will execute when the last test using | The ``print`` and ``smtp.close()`` statements will execute when the last test in | ||||||
| the fixture in the module has finished execution, regardless of the exception status of the tests. | the module has finished execution, regardless of the exception status of the | ||||||
|  | tests. | ||||||
| 
 | 
 | ||||||
| Let's execute it:: | Let's execute it:: | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue