Merge pull request #4525 from blueyed/fix-test_raises_exception_looks_iterable
tests: fix test_raises_exception_looks_iterable
This commit is contained in:
		
						commit
						22345ef722
					
				| 
						 | 
					@ -190,7 +190,8 @@ class TestRaises(object):
 | 
				
			||||||
            pass
 | 
					            pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        with pytest.raises(
 | 
					        with pytest.raises(
 | 
				
			||||||
            Failed, match="DID NOT RAISE <class 'raises.ClassLooksIterableException'>"
 | 
					            Failed,
 | 
				
			||||||
 | 
					            match=r"DID NOT RAISE <class 'raises(\..*)*ClassLooksIterableException'>",
 | 
				
			||||||
        ):
 | 
					        ):
 | 
				
			||||||
            pytest.raises(ClassLooksIterableException, lambda: None)
 | 
					            pytest.raises(ClassLooksIterableException, lambda: None)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue