summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorVal Neekman <un33kvu@gmail.com>2019-10-20 13:39:51 -0400
committerGitHub <noreply@github.com>2019-10-20 13:39:51 -0400
commit76f327216bc52adc6115eb6d1483405958810c5c (patch)
treee5eb48e5627724062166eeb6e2898f6c0acfd0be /test.py
parentb9db1bc87e3b19c5c63ab7a00b19685b7996de5d (diff)
downloadpython-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.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/test.py b/test.py
index 29f0ac7..98debff 100644
--- a/test.py
+++ b/test.py
@@ -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()