This commit is contained in:
Kovid Goyal 2024-09-11 10:49:06 +05:30
parent 000391f8d0
commit a72084d92c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -875,6 +875,8 @@ def run_tests(return_tests=False):
def test_educated_quotes(self):
self.assertEqual(sp('''"Isn't this fun?"'''), '''“Isn’t this fun?”''')
self.assertEqual(sp("'abc'"), '‘abc’')
tests = unittest.defaultTestLoader.loadTestsFromTestCase(TestSmartypantsAllAttributes)
if return_tests: