tuple tests

This commit is contained in:
David Halter
2012-04-24 13:55:16 +02:00
parent 69c720423d
commit b06b4e2dd8
2 changed files with 7 additions and 1 deletions

View File

@@ -813,7 +813,7 @@ class Array(Call):
def __repr__(self): def __repr__(self):
if self.type == self.NOARRAY: if self.type == self.NOARRAY:
temp = 'empty' temp = 'noarray'
elif self.type == self.TUPLE: elif self.type == self.TUPLE:
temp = 'tuple' temp = 'tuple'
elif self.type == self.LIST: elif self.type == self.LIST:

View File

@@ -15,3 +15,9 @@ a1, b1 = (1, "")
a1.real a1.real
#? ['lower'] #? ['lower']
b1.lower b1.lower
(a2, b2) = (1, "")
#? ['imag']
a2.imag
#? ['upper']
b2.upper