Merge pull request #6902 from RoyalTS/filterwarnings-docfix
Minor docfix
This commit is contained in:
		
						commit
						7996724f23
					
				| 
						 | 
					@ -126,7 +126,7 @@ Add warning filters to marked test items.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .. code-block:: python
 | 
					        .. code-block:: python
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            @pytest.mark.warnings("ignore:.*usage will be deprecated.*:DeprecationWarning")
 | 
					            @pytest.mark.filterwarnings("ignore:.*usage will be deprecated.*:DeprecationWarning")
 | 
				
			||||||
            def test_foo():
 | 
					            def test_foo():
 | 
				
			||||||
                ...
 | 
					                ...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue