testing: don't ignore "Module already imported so cannot be rewritten" warning
The test suite passes without it being ignored. The absence of this warning cost me some head-scratching time, so enable it again.
This commit is contained in:
		
							parent
							
								
									3bcd316f07
								
							
						
					
					
						commit
						361f9e20c3
					
				| 
						 | 
					@ -26,7 +26,6 @@ filterwarnings = [
 | 
				
			||||||
    # produced by older pyparsing<=2.2.0.
 | 
					    # produced by older pyparsing<=2.2.0.
 | 
				
			||||||
    "default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
 | 
					    "default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
 | 
				
			||||||
    "default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*",
 | 
					    "default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*",
 | 
				
			||||||
    "ignore:Module already imported so cannot be rewritten:pytest.PytestWarning",
 | 
					 | 
				
			||||||
    # produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)."
 | 
					    # produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)."
 | 
				
			||||||
    "ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))",
 | 
					    "ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))",
 | 
				
			||||||
    # produced by pytest-xdist
 | 
					    # produced by pytest-xdist
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue