diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2014-05-08 16:58:34 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2014-05-08 16:58:34 +0200 |
commit | 443fdf2bf5748d606c80380157580c520239038c (patch) | |
tree | faa9b5b14c24bde8d4fdde47a1fe7593e64dc359 /markupsafe | |
parent | 58cde05bdcb0a53d87213b4a5bb605937f178171 (diff) | |
download | markupsafe-443fdf2bf5748d606c80380157580c520239038c.tar.gz |
Fixed a version check
Diffstat (limited to 'markupsafe')
-rw-r--r-- | markupsafe/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markupsafe/tests.py b/markupsafe/tests.py index 7481c52..6369936 100644 --- a/markupsafe/tests.py +++ b/markupsafe/tests.py @@ -80,7 +80,7 @@ class MarkupTestCase(unittest.TestCase): assert actual == expected, "%r should be %r!" % (actual, expected) # This is new in 2.7 - if sys.version_info > (2, 6): + if sys.version_info >= (2, 7): def test_formatting_empty(self): formatted = Markup('{}').format(0) assert formatted == Markup('0') |