diff options
author | [ Kyle ] [ Hausmann ] <khausmann@squarespace.com> | 2019-01-07 13:35:56 -0500 |
---|---|---|
committer | [ Kyle ] [ Hausmann ] <khausmann@squarespace.com> | 2019-01-07 13:35:56 -0500 |
commit | bec0a03d2322fc897676986ac21b75ba6e96d69c (patch) | |
tree | 8fdad80a25ed9edb80c6bc8cf5a6b9f233667462 | |
parent | 99a887cc2474b7e75c154c306cfbb23b0afea447 (diff) | |
download | pytz-git-bec0a03d2322fc897676986ac21b75ba6e96d69c.tar.gz |
Use early python2 compatible str formatting
Signed-off-by: [ Kyle ] [ Hausmann ] <khausmann@squarespace.com>
-rw-r--r-- | src/pytz/tests/test_tzinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pytz/tests/test_tzinfo.py b/src/pytz/tests/test_tzinfo.py index 643f08a..6a852cc 100644 --- a/src/pytz/tests/test_tzinfo.py +++ b/src/pytz/tests/test_tzinfo.py @@ -765,7 +765,7 @@ class ZoneCaseInsensitivityTestCase(unittest.TestCase): from_passed = pytz.timezone(tz) self.assertEqual(from_lower, from_passed, - "arg '{}' and arg '{}' produce different timezone objects".format(from_lower, from_passed)) + "arg '%s' and arg '%s' produce different timezone objects" % (from_lower, from_passed)) class BaseTzInfoTestCase: |