diff options
| author | 2019-08-04 17:53:04 -0400 | |
|---|---|---|
| committer | 2019-08-04 17:53:04 -0400 | |
| commit | 09e19cd4b63183a3cc38cea7bc5c5b8d308d22fa (patch) | |
| tree | 2ef7e5afcc539bf5ca7fc2a0c525709b41e309d7 /test/test_text.py | |
| parent | 1d18be9fc5a9d6577eb1bbb5f9a135bfa0ce0495 (diff) | |
| parent | 64ad8e7bd15df71ab1116eede414558631bcad32 (diff) | |
Update upstream source from tag 'upstream/1.10.1'
Update to upstream version '1.10.1'
with Debian dir 81401e5e3e324250ded90d4caf7bf60cd0b9affb
Diffstat (limited to 'test/test_text.py')
| -rw-r--r-- | test/test_text.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/test_text.py b/test/test_text.py index 405acd3..6a6d83a 100644 --- a/test/test_text.py +++ b/test/test_text.py @@ -139,26 +139,6 @@ class TestText(unittest.TestCase): for value in INVALID: self.assertEqual(f(value), empty) - def test_clean_path_windows(self, f=text.clean_path_windows): - self.assertEqual(f(""), "") - self.assertEqual(f("foo"), "foo") - self.assertEqual(f("foo/bar"), "foo_bar") - self.assertEqual(f("foo<>:\"\\/|?*bar"), "foo_________bar") - - # invalid arguments - for value in INVALID: - self.assertEqual(f(value), "") - - def test_clean_path_posix(self, f=text.clean_path_posix): - self.assertEqual(f(""), "") - self.assertEqual(f("foo"), "foo") - self.assertEqual(f("foo/bar"), "foo_bar") - self.assertEqual(f("foo<>:\"\\/|?*bar"), "foo<>:\"\\_|?*bar") - - # invalid arguments - for value in INVALID: - self.assertEqual(f(value), "") - def test_extract(self, f=text.extract): txt = "<a><b>" self.assertEqual(f(txt, "<", ">"), ("a" , 3)) |
