From b06b4e2dd80d20fe508a0c0b2aa85e5d21dd0620 Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 24 Apr 2012 13:55:16 +0200 Subject: [PATCH] tuple tests --- parsing.py | 2 +- test/completion/arrays.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/parsing.py b/parsing.py index 7ef3871b..a567c8d1 100644 --- a/parsing.py +++ b/parsing.py @@ -813,7 +813,7 @@ class Array(Call): def __repr__(self): if self.type == self.NOARRAY: - temp = 'empty' + temp = 'noarray' elif self.type == self.TUPLE: temp = 'tuple' elif self.type == self.LIST: diff --git a/test/completion/arrays.py b/test/completion/arrays.py index 9518cf89..5e2e2ee1 100644 --- a/test/completion/arrays.py +++ b/test/completion/arrays.py @@ -15,3 +15,9 @@ a1, b1 = (1, "") a1.real #? ['lower'] b1.lower + +(a2, b2) = (1, "") +#? ['imag'] +a2.imag +#? ['upper'] +b2.upper