Merge pull request #4802 from gyermolenko/fix_code_block_in_Node_docstring
Fix code-block in Node docstring
This commit is contained in:
		
						commit
						68dc433bf5
					
				|  | @ -113,11 +113,12 @@ class Node(object): | |||
| 
 | ||||
|         :raise ValueError: if ``warning`` instance is not a subclass of PytestWarning. | ||||
| 
 | ||||
|         Example usage:: | ||||
|         Example usage: | ||||
| 
 | ||||
|         .. code-block:: python | ||||
| 
 | ||||
|             node.warn(PytestWarning("some message")) | ||||
| 
 | ||||
|         """ | ||||
|         from _pytest.warning_types import PytestWarning | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue