File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,7 @@ multi method run($python, :$file) {
130
130
}
131
131
132
132
method call (Str $ package , Str $ function , * @ args ) {
133
- my $ array = py_call_function($ package , $ function , self ! setup_arguments(@ args ));
134
- return Any ;
135
- self ! unpack_return_values($ array );
133
+ return self . py_to_p6(py_call_function($ package , $ function , self ! setup_arguments(@ args )));
136
134
}
137
135
138
136
method BUILD {
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ def test_int_retvals():
33
33
return 3, 1, 2;
34
34
35
35
def test_str_retval():
36
- return "Hello Perl 6!";
36
+ return u "Hello Perl 6!";
37
37
38
38
def test_mixed_retvals():
39
- return ("Hello", "Perl", 6);
39
+ return (u "Hello", u "Perl", 6);
40
40
41
41
def test_none(undef):
42
42
return undef is None;
You can’t perform that action at this time.
0 commit comments