From 76f327216bc52adc6115eb6d1483405958810c5c Mon Sep 17 00:00:00 2001 From: Val Neekman Date: Sun, 20 Oct 2019 13:39:51 -0400 Subject: Drop support for old python - cleanup - up version (#88) * 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 --- test.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'test.py') 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() -- cgit v1.2.1