simplified test function
This commit is contained in:
		
							parent
							
								
									c1c08852f9
								
							
						
					
					
						commit
						212ee450b7
					
				|  | @ -296,8 +296,8 @@ def test_filterwarnings_mark_registration(testdir): | ||||||
|         import pytest |         import pytest | ||||||
| 
 | 
 | ||||||
|         @pytest.mark.filterwarnings('error') |         @pytest.mark.filterwarnings('error') | ||||||
|         def test_error(): |         def test_func(): | ||||||
|             assert True |             pass | ||||||
|     """ |     """ | ||||||
|     ) |     ) | ||||||
|     result = testdir.runpytest("--strict") |     result = testdir.runpytest("--strict") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue