[test_unicode_literals] Fix test
This commit is contained in:
		@@ -161,7 +161,9 @@ def assertRegexpMatches(self, text, regexp, msg=None):
 | 
			
		||||
    else:
 | 
			
		||||
        m = re.match(regexp, text)
 | 
			
		||||
        if not m:
 | 
			
		||||
            note = 'Regexp didn\'t match: %r not found in %r' % (regexp, text)
 | 
			
		||||
            note = 'Regexp didn\'t match: %r not found' % (regexp)
 | 
			
		||||
            if len(text) < 1000:
 | 
			
		||||
                note += ' in %r' % text
 | 
			
		||||
            if msg is None:
 | 
			
		||||
                msg = note
 | 
			
		||||
            else:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user