#7092: Silence more py3k warnings. Patch by Florent Xicluna.

This commit is contained in:
Ezio Melotti 2010-02-03 05:37:26 +00:00
parent 17ae2ba78f
commit dde5b94875
39 changed files with 102 additions and 85 deletions

View file

@ -401,7 +401,7 @@ class RaisingTraceFuncTestCase(unittest.TestCase):
we're testing, so that the 'exception' trace event fires."""
if self.raiseOnEvent == 'exception':
x = 0
y = 1/x
y = 1 // x
else:
return 1