better diags on test failure
svn: r23390
This commit is contained in:
		@@ -55,7 +55,10 @@ class DateHandlerTest(unittest.TestCase):
 | 
			
		||||
        datestr = _dd.display(test_date)
 | 
			
		||||
        new_date = _dp.parse(datestr)
 | 
			
		||||
 | 
			
		||||
        self.assertTrue(test_date.is_equal(new_date))
 | 
			
		||||
        self.assertTrue(test_date.is_equal(new_date),
 | 
			
		||||
                "{} -> {}\n{} -> {}".format(
 | 
			
		||||
                    test_date, new_date,
 | 
			
		||||
                    test_date.to_struct(), new_date.to_struct()))
 | 
			
		||||
 | 
			
		||||
    def test_simple(self):
 | 
			
		||||
        
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user