useless debugged breaks test with python < 2.6
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 25 Oct 2011 18:57:51 +0200
changeset 8021 25fbfd84529f
parent 8020 52e250f307b6
child 8022 1d9449663140
useless debugged breaks test with python < 2.6
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]