# HG changeset patch # User Sylvain Thénault # Date 1319561871 -7200 # Node ID 25fbfd84529f36558d7523fe17d52e83e3bd4a30 # Parent 52e250f307b6742121d3986b2bc104ff845d4cb1 useless debugged breaks test with python < 2.6 diff -r 52e250f307b6 -r 25fbfd84529f server/test/unittest_querier.py --- a/server/test/unittest_querier.py Tue Oct 25 18:22:19 2011 +0200 +++ b/server/test/unittest_querier.py Tue Oct 25 18:57:51 2011 +0200 @@ -1238,9 +1238,8 @@ def test_insert_having(self): self.skipTest('unsupported yet') self.execute("INSERT Personne Y: Y nom 'hop', Y tel 1")[0][0] - with self.debugged('DBG_SQL'): - self.assertFalse(self.execute("INSERT Personne Y: Y nom 'hop', Y tel 2 WHERE X tel XT HAVING XT&2=2")) - self.assertTrue(self.execute("INSERT Personne Y: Y nom 'hop', Y tel 2 WHERE X tel XT HAVING XT&1=1")) + self.assertFalse(self.execute("INSERT Personne Y: Y nom 'hop', Y tel 2 WHERE X tel XT HAVING XT&2=2")) + self.assertTrue(self.execute("INSERT Personne Y: Y nom 'hop', Y tel 2 WHERE X tel XT HAVING XT&1=1")) def test_delete_having(self): self.execute("INSERT Personne Y: Y nom 'hop', Y tel 1")[0][0]