This shouldn't have took that much to solve. Really sorry for the delay
This commit is contained in:
niphlod
2015-12-30 16:38:43 +01:00
parent 1ca0c9b0c0
commit d4ffcaf1b1
2 changed files with 10 additions and 4 deletions
+3
View File
@@ -618,6 +618,9 @@ class TestValidators(unittest.TestCase):
self.assertEqual(rtn, (u'hell', None))
rtn = IS_MATCH('hell', is_unicode=True)(u'hell')
self.assertEqual(rtn, (u'hell', None))
# regr test for #1044
rtn = IS_MATCH('hello')(u'\xff')
self.assertEqual(rtn, (u'\xff', 'Invalid expression'))
def test_IS_EQUAL_TO(self):