Replace 'ѕ' with 's' in test docstrings

Since the recent switch to python3, I've been noticing that some of the tests
have been aborting with the following error when I use LANG=en_US instead of
LANG=en_US.UTF-8:

UnicodeEncodeError: 'latin-1' codec can't encode character '\u0455' in position 57: ordinal not in range(256)

Arguably, I should run with a unicode locale while running the test, but it
*looks* to me like the original ѕ was not intended.
This commit is contained in:
Shaun Ruffell 2020-01-02 21:48:53 -06:00 committed by lauft
parent 6852fd2924
commit 85c5655f79
3 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ class TestStart(TestCase):
self.assertNotIn("Recorded bar foo", out) self.assertNotIn("Recorded bar foo", out)
def test_single_interval_enclosing_exclusion(self): def test_single_interval_enclosing_exclusion(self):
"""Add one interval that encloseѕ an exclusion, and is therefore flattened""" """Add one interval that encloses an exclusion, and is therefore flattened"""
self.t.configure_exclusions([(time(18, 5, 11), time(9, 11, 50)), self.t.configure_exclusions([(time(18, 5, 11), time(9, 11, 50)),
(time(12, 22, 44), time(13, 32, 23))]) (time(12, 22, 44), time(13, 32, 23))])

View file

@ -118,7 +118,7 @@ class TestStop(TestCase):
self.assertIn("The current interval does not have the 'four' tag.", err) self.assertIn("The current interval does not have the 'four' tag.", err)
def test_single_interval_enclosing_exclusion(self): def test_single_interval_enclosing_exclusion(self):
"""Add one interval that encloseѕ an exclusion, and is therefore flattened""" """Add one interval that encloses an exclusion, and is therefore flattened"""
self.t.configure_exclusions([(time(18, 5, 11), time(9, 11, 50)), self.t.configure_exclusions([(time(18, 5, 11), time(9, 11, 50)),
(time(12, 22, 44), time(13, 32, 23))]) (time(12, 22, 44), time(13, 32, 23))])

View file

@ -58,7 +58,7 @@ class TestTrack(TestCase):
self.assertClosedInterval(j[0], expectedTags=["foo"]) self.assertClosedInterval(j[0], expectedTags=["foo"])
def test_single_interval_enclosing_exclusion(self): def test_single_interval_enclosing_exclusion(self):
"""Add one interval that encloseѕ an exclusion, and is therefore flattened""" """Add one interval that encloses an exclusion, and is therefore flattened"""
self.t.configure_exclusions([(time(18, 0, 0), time(9, 0, 0)), self.t.configure_exclusions([(time(18, 0, 0), time(9, 0, 0)),
(time(12, 0, 0), time(13, 0, 0))]) (time(12, 0, 0), time(13, 0, 0))])