[Python-checkins] Python Regression Test Failures basics (1)
Gerhard Häring
gh at ghaering.de
Sat Mar 1 19:50:38 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neal Norwitz wrote:
> Gerhard,
>
> I'm guessing this failure is due to your recent change. The exception is:
>
> File "/tmp/python-test/local/lib/python2.6/sqlite3/test/regression.py",
> line 118, in CheckWorkaroundForBuggySqliteTransferBindings
> self.con.execute("create table if not exists foo(bar)")
> OperationalError: near "not": syntax error
>
> The sqlite version is: sqlite-3.2.1-r3 on an old gentoo x86 box.
> [...]
Yes, this test will only work with SQLite versions that understand the
"if not exists" clause. We can either
1) disable the test for older SQLite versions
2) find a different test that works will all SQLite versions
If nobody else jumps in, I'll tackle this later this evening or tomorrow.
- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHyaV9dIO4ozGCH14RAl6vAJ9jzO01TpyWLg4p4p9A//U94+wxnACeNgiZ
ZXqt+ZZU2CtqKudhp2s7qB8=
=b0b+
-----END PGP SIGNATURE-----
More information about the Python-checkins
mailing list