diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-10-30 22:00:25 +0200 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-01 15:11:25 -0400 |
commit | 36e7aebd8d6faac77570403e99f9aa7b2330fa59 (patch) | |
tree | f45950f61a4b27f128518be52157021ca4f4e8f7 /test/sql/test_operators.py | |
parent | a99ea884403de1e1f762e9b1eb635d7fc6ef8e6f (diff) | |
download | sqlalchemy-36e7aebd8d6faac77570403e99f9aa7b2330fa59.tar.gz |
First round of removal of python 2
References: #4600
Change-Id: I61e35bc93fe95610ae75b31c18a3282558cd4ffe
Diffstat (limited to 'test/sql/test_operators.py')
-rw-r--r-- | test/sql/test_operators.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py index c001dc4ef..3bb097714 100644 --- a/test/sql/test_operators.py +++ b/test/sql/test_operators.py @@ -2184,7 +2184,7 @@ class MathOperatorTest(fixtures.TestBase, testing.AssertsCompiledSQL): ("add", operator.add, "+"), ("mul", operator.mul, "*"), ("sub", operator.sub, "-"), - ("div", operator.truediv if util.py3k else operator.div, "/"), + ("div", operator.truediv, "/"), ("mod", operator.mod, "%"), id_="iaa", ) @@ -3245,7 +3245,6 @@ class TupleTypingTest(fixtures.TestBase): self._assert_types(expr.right.type.types) # since we want to infer "binary" - @testing.requires.python3 def test_tuple_type_expanding_inference(self): a, b, c = column("a"), column("b"), column("c") @@ -3256,7 +3255,6 @@ class TupleTypingTest(fixtures.TestBase): self._assert_types(expr.right.type.types) - @testing.requires.python3 def test_tuple_type_plain_inference(self): a, b, c = column("a"), column("b"), column("c") |