diff --git a/src/calibre/utils/smartypants.py b/src/calibre/utils/smartypants.py index 3d44112f08..a00a615122 100644 --- a/src/calibre/utils/smartypants.py +++ b/src/calibre/utils/smartypants.py @@ -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: