allow higher version of regex library

This commit is contained in:
Alex Riina
2015-03-08 00:36:19 -05:00
committed by Alex Riina
parent e3ef622031
commit 215e36e9ed
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ VALID_PHONE_NUMBERS = [e.strip() for e in VALID.splitlines() if e.strip()]
def test_match_phone_numbers():
for phone in VALID_PHONE_NUMBERS:
ok_(RE_RELAX_PHONE.match(phone), "{} should be matched".format(phone))
ok_(RE_RELAX_PHONE.search(phone), "{} should be matched".format(phone))
def test_match_names():