SyntaxErrors in test suite with Python 3.2

Issue #2980 resolved
Arfrever Frehtes Taifersar Arahesis created an issue
$ python3.2 -m compileall -fq test
*** Error compiling 'test/dialect/test_sqlite.py'...
  File "test/dialect/test_sqlite.py", line 114
    [(u'2004-05-21T00:00:00',), (u'2010-10-15T12:37:00',)]
                           ^
SyntaxError: invalid syntax

*** Error compiling 'test/orm/test_default_strategies.py'...
  File "test/orm/test_default_strategies.py", line 164
    eq_(q.all(), [(u'jack',), (u'ed',), (u'fred',), (u'chuck',)])
                         ^
SyntaxError: invalid syntax

*** Error compiling 'test/orm/test_subquery_relations.py'...
  File "test/orm/test_subquery_relations.py", line 1704
    (1, u'/1.jpg', 1, 1),
                ^
SyntaxError: invalid syntax

*** Error compiling 'test/sql/test_update.py'...
  File "test/sql/test_update.py", line 309
    checkparams={u'addresses_name': 'new address', 'name': 'newname'},
                                 ^
SyntaxError: invalid syntax

Comments (4)

  1. Log in to comment