Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix UTF-8 test and un-todo it.
  • Loading branch information
niner committed Oct 14, 2014
1 parent 252bf41 commit 5852ce2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/py_to_p6.t
Expand Up @@ -17,8 +17,10 @@ is_deeply $py.run('{u"a": 1, u"b": {u"c": 3}}', :eval), {a => 1, b => {c => 3}};
is_deeply $py.run('[1, {u"b": {u"c": 3}}]', :eval), [1, {b => {c => 3}}];
ok $py.run('None', :eval) === Any, 'py None maps to p6 Any';

todo 'NYI';
is $py.run('u"Püthon"', :eval), 'Püthon';
is $py.run('
# coding=utf-8
u"Püthon"
', :eval), 'Püthon';

#is $py.run('u"Püthon".encode("latin-1")').decode('latin-1'), 'Püthon';

Expand Down

0 comments on commit 5852ce2

Please sign in to comment.