Merge pull request #19622 from cclauss/Fix-parens-for-Python3

Fix explicit tuple parameters for Python 3
This commit is contained in:
Jeremy Bowman
2019-02-21 15:45:09 -05:00
committed by GitHub
8 changed files with 21 additions and 14 deletions

View File

@@ -25,7 +25,8 @@ class FormatHtmlTest(unittest.TestCase):
(u"Stop & Shop", u"Stop & Shop"),
(u"<a>нтмℓ-єѕ¢αρє∂</a>", u"&lt;a&gt;нтмℓ-єѕ¢αρє∂&lt;/a&gt;"),
)
def test_simple(self, (before, after)):
def test_simple(self, before_after):
(before, after) = before_after
self.assertEqual(unicode(Text(_(before))), after)
self.assertEqual(unicode(Text(before)), after)