summaryrefslogtreecommitdiff
path: root/Lib/sqlite3/test/userfunctions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sqlite3/test/userfunctions.py')
-rw-r--r--Lib/sqlite3/test/userfunctions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/sqlite3/test/userfunctions.py b/Lib/sqlite3/test/userfunctions.py
index 6a0d5b9d46..80b6f0c3d6 100644
--- a/Lib/sqlite3/test/userfunctions.py
+++ b/Lib/sqlite3/test/userfunctions.py
@@ -38,7 +38,7 @@ def func_returnnull():
def func_returnblob():
return buffer("blob")
def func_raiseexception():
- 5/0
+ 5 // 0
def func_isstring(v):
return type(v) is unicode
@@ -67,7 +67,7 @@ class AggrNoFinalize:
class AggrExceptionInInit:
def __init__(self):
- 5/0
+ 5 // 0
def step(self, x):
pass
@@ -80,7 +80,7 @@ class AggrExceptionInStep:
pass
def step(self, x):
- 5/0
+ 5 // 0
def finalize(self):
return 42
@@ -93,7 +93,7 @@ class AggrExceptionInFinalize:
pass
def finalize(self):
- 5/0
+ 5 // 0
class AggrCheckType:
def __init__(self):