From 26243ac08c0619cc5b85782c64e65564b29914bb Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 6 Jun 2015 01:11:39 +0200 Subject: Remove _Feed.__getitem__(). Also add named choices defined in multiple locations to the block at each location. Not sure why I only added them at the first location before, as symbols don't work that way. I still doubt named choices defined in multiple locations will ever be used. --- testsuite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index fa697cd..1e06854 100644 --- a/testsuite.py +++ b/testsuite.py @@ -170,7 +170,7 @@ def run_selftests(): Strips the first and last characters from 's' so we can use readable raw strings as input.""" s = s[1:-1] - s_res = c._tokenize(s, for_eval = True)[0] + s_res = c._tokenize(s, for_eval = True).get_next() verify(s_res == res, "'{0}' produced the string token '{1}'. Expected '{2}'." .format(s, s_res, res)) -- cgit v1.2.3