Skip to content

Commit

Permalink
don't use characters that Python-2.4 doesn't know about
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed May 30, 2011
1 parent 605ac9a commit 30f7e42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions master/buildbot/test/unit/test_clients_sendchange.py
Expand Up @@ -106,7 +106,7 @@ def check(_):

def test_send_unicode(self):
s = sendchange.Sender('localhost:1234')
d = s.send(u'\N{PALM BRANCH}',
d = s.send(u'\N{DEGREE SIGN}',
u'\U0001f49e',
u'\N{POSTAL MARK FACE}',
[u'\U0001F4C1'],
Expand All @@ -125,7 +125,7 @@ def check(_):
who=u'\N{THAI CHARACTER KHOMUT}',
files=[u'\U0001F4C1'], # FILE FOLDER
comments=u'\N{POSTAL MARK FACE}',
branch=u'\N{PALM BRANCH}',
branch=u'\N{DEGREE SIGN}',
revision=u'\U0001f49e', # REVOLVING HEARTS
category=u'\U0001F640', # WEARY CAT FACE
when=1234,
Expand All @@ -137,7 +137,7 @@ def check(_):
def test_send_unicode_utf8(self):
s = sendchange.Sender('localhost:1234')

d = s.send(u'\N{PALM BRANCH}'.encode('utf8'),
d = s.send(u'\N{DEGREE SIGN}'.encode('utf8'),
u'\U0001f49e'.encode('utf8'),
u'\N{POSTAL MARK FACE}'.encode('utf8'),
[u'\U0001F4C1'.encode('utf8')],
Expand All @@ -158,7 +158,7 @@ def check(_):
who=u'\N{THAI CHARACTER KHOMUT}',
files=[u'\U0001F4C1'], # FILE FOLDER
comments=u'\N{POSTAL MARK FACE}',
branch=u'\N{PALM BRANCH}',
branch=u'\N{DEGREE SIGN}',
revision=u'\U0001f49e', # REVOLVING HEARTS
category=u'\U0001F640', # WEARY CAT FACE
when=1234,
Expand Down

0 comments on commit 30f7e42

Please sign in to comment.