<s> import py <EOL> from pypy . translator . cli . test . runtest import CliTest <EOL> from pypy . rpython . test . test_rtuple import BaseTestRtuple <EOL> class TestCliTuple ( CliTest , BaseTestRtuple ) : <EOL> def test_builtin_records ( self ) : <EOL> def fn ( x , y ) : <EOL> return x , y <EOL> res = self . interpret ( fn , [ <NUM_LIT:1.0> , <NUM_LIT:1> ] ) <EOL> assert res . item0 == <NUM_LIT:1.0> and res . item1 == <NUM_LIT:1> <EOL> res = self . interpret ( fn , [ <NUM_LIT:1.0> , <NUM_LIT:1.0> ] ) <EOL> assert res . item0 == <NUM_LIT:1.0> and res . item1 == <NUM_LIT:1.0> </s>
