summaryrefslogtreecommitdiff
path: root/test/sql/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_utils.py')
-rw-r--r--test/sql/test_utils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/sql/test_utils.py b/test/sql/test_utils.py
index 5e54cf734..84e7ad732 100644
--- a/test/sql/test_utils.py
+++ b/test/sql/test_utils.py
@@ -82,8 +82,9 @@ class CompareClausesTest(fixtures.TestBase):
b3 = bindparam("bar", type_=Integer())
b4 = bindparam("foo", type_=String())
- c1 = lambda: 5 # noqa
- c2 = lambda: 6 # noqa
+ def c1(): return 5
+
+ def c2(): return 6
b5 = bindparam("foo", type_=Integer(), callable_=c1)
b6 = bindparam("foo", type_=Integer(), callable_=c2)