summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-06 01:11:39 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-06 01:59:31 +0200
commit26243ac08c0619cc5b85782c64e65564b29914bb (patch)
treee8c20c5594887193dc4fa31057c898bcb4ab43c7 /testsuite.py
parent98f0b05dbf591d3b912e4d69d6717d4e48192746 (diff)
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.
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py2
1 files changed, 1 insertions, 1 deletions
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))