summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gittik <dan.gittik@gmail.com>2015-07-17 02:28:23 +0300
committerDan Gittik <dan.gittik@gmail.com>2015-07-17 02:28:23 +0300
commitae6fd1c3899f8197250e84bae363c75d0116d082 (patch)
treeed49fd5beacf640109fe8768a9154ef3d75d0515
parent249bc5be0038dcf69a94ad558d7bd4c1012a47c4 (diff)
downloadsqlalchemy-pr/188.tar.gz
Added test for modulo operator.pr/188
-rw-r--r--test/sql/test_operators.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py
index 0985020d1..65d1e3716 100644
--- a/test/sql/test_operators.py
+++ b/test/sql/test_operators.py
@@ -1327,6 +1327,9 @@ class MathOperatorTest(fixtures.TestBase, testing.AssertsCompiledSQL):
else:
self._test_math_op(operator.div, '/')
+ def test_math_op_mod(self):
+ self._test_math_op(operator.mod, '%')
+
class ComparisonOperatorTest(fixtures.TestBase, testing.AssertsCompiledSQL):
__dialect__ = 'default'