Fix for phonenumber test failing (unicode issue)

A different exception was being thrown in py27 since we passed in
non-unicode characters for the name field.
This commit is contained in:
Jack Wink
2016-05-20 02:26:12 -07:00
parent 57ab3d7126
commit b29cab58c4

View File

@@ -90,8 +90,8 @@ class TestPhoneNumber(object):
try: try:
session.execute( session.execute(
User.__table__.insert().values( User.__table__.insert().values(
name='Someone', name=u'Someone',
phone_number='abc' phone_number=u'abc'
) )
) )
except PhoneNumberParseException: except PhoneNumberParseException: