Add pytest.ini file to suppress pytest warnings.
Without this, when running with the default pytest on Ubuntu 20.04, it will display warnings like: .local/lib/python3.6/site-packages/_pytest/junitxml.py:417 .local/lib/python3.6/site-packages/_pytest/junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0. Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning. Adding it here suppresses the warning. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
This commit is contained in:
		
							parent
							
								
									9978a2f1a8
								
							
						
					
					
						commit
						0a612d0aa9
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								pytest.ini
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								pytest.ini
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| [pytest] | ||||
| junit_family=xunit2 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Chris Lalancette
						Chris Lalancette