Update fixture scope in package/directory fixture example.
This commit is contained in:
		
							parent
							
								
									a3b39069bc
								
							
						
					
					
						commit
						f1c7585184
					
				|  | @ -691,7 +691,7 @@ Here is an example for making a ``db`` fixture available in a directory: | ||||||
|         pass |         pass | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     @pytest.fixture(scope="session") |     @pytest.fixture(scope="package") | ||||||
|     def db(): |     def db(): | ||||||
|         return DB() |         return DB() | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue