The error message hint suggests [('foo')]. ('foo') is not a validPython tuple: it's a literal with redundant parentheses. ('foo',) is avalid tuple.
Patch to correct the hints and an occurrence in the test suite attached.
-- Daniele