summaryrefslogtreecommitdiff
path: root/test/base/test_utils.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2020-10-08 21:01:19 +0200
committerFederico Caselli <cfederico87@gmail.com>2020-10-08 21:32:09 +0200
commit9b3812a0c646ee14a6f102e6dc87298d5c255cec (patch)
treefa4a9e535b728f803dcce1d7700536c015abd850 /test/base/test_utils.py
parentbcc17b1d6e2cac3b0e45c0b17a62cf2d5fc5c5ab (diff)
downloadsqlalchemy-9b3812a0c646ee14a6f102e6dc87298d5c255cec.tar.gz
Drop python 3.5 support
Fixes: #5634 Change-Id: Ie8d4076ee35234b535a04e6fb9321096df3f648b
Diffstat (limited to 'test/base/test_utils.py')
-rw-r--r--test/base/test_utils.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/base/test_utils.py b/test/base/test_utils.py
index fa347243e..8921be8d0 100644
--- a/test/base/test_utils.py
+++ b/test/base/test_utils.py
@@ -1674,12 +1674,10 @@ class IdentitySetTest(fixtures.TestBase):
return super_, sub_, twin1, twin2, unique1, unique2
def _assert_unorderable_types(self, callable_):
- if util.py36:
+ if util.py3k:
assert_raises_message(
TypeError, "not supported between instances of", callable_
)
- elif util.py3k:
- assert_raises_message(TypeError, "unorderable types", callable_)
else:
assert_raises_message(
TypeError, "cannot compare sets using cmp()", callable_
@@ -3165,8 +3163,6 @@ class TimezoneTest(fixtures.TestBase):
),
)
def test_tzname(self, td, expected):
- if expected == "UTC" and util.py3k and not util.py36:
- expected += "+00:00"
eq_(timezone(td).tzname(None), expected)
def test_utcoffset(self):