diff options
author | Val Neekman <un33kvu@gmail.com> | 2019-10-20 13:39:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 13:39:51 -0400 |
commit | 76f327216bc52adc6115eb6d1483405958810c5c (patch) | |
tree | e5eb48e5627724062166eeb6e2898f6c0acfd0be /test.py | |
parent | b9db1bc87e3b19c5c63ab7a00b19685b7996de5d (diff) | |
download | python-slugify-76f327216bc52adc6115eb6d1483405958810c5c.tar.gz |
Drop support for old python - cleanup - up version (#88)4.0.0
* Drop support for EOL Python 2.6 and 3.2-2.4 (#87)
* Drop support for EOL Python 2.6 and 3.2-3.4
* Remove duplicate class
* Upgrade Python syntax with pyupgrade
* Upgrade PyPy and PyPy3 and test 3.8 beta
* up version
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -242,18 +242,5 @@ class TestUtils(unittest.TestCase): self.assertEqual(r, txt) -class TestUtils(unittest.TestCase): - - def test_smart_truncate_no_max_length(self): - txt = '1,000 reasons you are #1' - r = smart_truncate(txt) - self.assertEqual(r, txt) - - def test_smart_truncate_no_seperator(self): - txt = '1,000 reasons you are #1' - r = smart_truncate(txt, max_length=100, separator='_') - self.assertEqual(r, txt) - - if __name__ == '__main__': unittest.main() |