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:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user