diff options
author | Dan Gittik <dan.gittik@gmail.com> | 2015-07-17 02:28:23 +0300 |
---|---|---|
committer | Dan Gittik <dan.gittik@gmail.com> | 2015-07-17 02:28:23 +0300 |
commit | ae6fd1c3899f8197250e84bae363c75d0116d082 (patch) | |
tree | ed49fd5beacf640109fe8768a9154ef3d75d0515 | |
parent | 249bc5be0038dcf69a94ad558d7bd4c1012a47c4 (diff) | |
download | sqlalchemy-pr/188.tar.gz |
Added test for modulo operator.pr/188
-rw-r--r-- | test/sql/test_operators.py | 3 |
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' |