mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
000391f8d0
commit
a72084d92c
@ -875,6 +875,8 @@ def run_tests(return_tests=False):
|
|||||||
|
|
||||||
def test_educated_quotes(self):
|
def test_educated_quotes(self):
|
||||||
self.assertEqual(sp('''"Isn't this fun?"'''), '''“Isn’t this fun?”''')
|
self.assertEqual(sp('''"Isn't this fun?"'''), '''“Isn’t this fun?”''')
|
||||||
|
self.assertEqual(sp("'abc'"), '‘abc’')
|
||||||
|
|
||||||
|
|
||||||
tests = unittest.defaultTestLoader.loadTestsFromTestCase(TestSmartypantsAllAttributes)
|
tests = unittest.defaultTestLoader.loadTestsFromTestCase(TestSmartypantsAllAttributes)
|
||||||
if return_tests:
|
if return_tests:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user