mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	#N/A: Fix yield_fixture deprecation (#1211)
This commit is contained in:
		| @@ -231,7 +231,7 @@ class TestCache(object): | |||||||
|  |  | ||||||
|  |  | ||||||
| class TestGetValidHistoryWithoutCurrent(object): | class TestGetValidHistoryWithoutCurrent(object): | ||||||
|     @pytest.yield_fixture(autouse=True) |     @pytest.fixture(autouse=True) | ||||||
|     def fail_on_warning(self): |     def fail_on_warning(self): | ||||||
|         warnings.simplefilter('error') |         warnings.simplefilter('error') | ||||||
|         yield |         yield | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user