summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--markupsafe/tests.py2
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')