diff options
author | Federico Caselli <cfederico87@gmail.com> | 2020-03-28 11:04:44 +0100 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-03-28 13:23:12 -0400 |
commit | 5b6a1a98903830ac563f936ccbe1fe30d88ec77c (patch) | |
tree | 68a7bee4f772718aafdd0e1bd8bf0e2548d482d1 /test/base/test_utils.py | |
parent | ee1e1e2f5540a6e32986b1041db4dfd55894e68b (diff) | |
download | sqlalchemy-5b6a1a98903830ac563f936ccbe1fe30d88ec77c.tar.gz |
Fix typo in resultproxy.c and test compatibility with python 3.5
- Fix typo in resultproxy.c that would error on windows.
- add -Wundef to C flags when linux is detected so that undefined
symbols emit a warning
- a few adjustments for tests to succeed on python 3.5
- note minimum version still documented here as 3.4 but this should
move to at least 3.5 if not 3.6 for SQLAlchemy 1.4
Change-Id: Ia93ee1cb5c52e51e72eb0a24c100421c5157d04b
Diffstat (limited to 'test/base/test_utils.py')
-rw-r--r-- | test/base/test_utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/base/test_utils.py b/test/base/test_utils.py index 662baa38a..246199861 100644 --- a/test/base/test_utils.py +++ b/test/base/test_utils.py @@ -3185,6 +3185,8 @@ 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): |