summaryrefslogtreecommitdiff
path: root/markupsafe/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'markupsafe/tests.py')
-rw-r--r--markupsafe/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/markupsafe/tests.py b/markupsafe/tests.py
index 0731926..02083c6 100644
--- a/markupsafe/tests.py
+++ b/markupsafe/tests.py
@@ -75,7 +75,9 @@ class MarkupTestCase(unittest.TestCase):
(Markup('{0[1][bar]}').format([0, {'bar': '<bar/>'}]),
'&lt;bar/&gt;'),
(Markup('{0[1][bar]}').format([0, {'bar': Markup('<bar/>')}]),
- '<bar/>')):
+ '<bar/>'),
+ (Markup('{}').format(0),
+ Markup('0'))):
assert actual == expected, "%r should be %r!" % (actual, expected)
def test_custom_formatting(self):