From 85c5655f79b442544d4b2d08441480c3155a27bc Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 2 Jan 2020 21:48:53 -0600 Subject: [PATCH] =?UTF-8?q?Replace=20'=D1=95'=20with=20's'=20in=20test=20d?= =?UTF-8?q?ocstrings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- test/start.t | 2 +- test/stop.t | 2 +- test/track.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/start.t b/test/start.t index 316e9de8..e19ead7e 100755 --- a/test/start.t +++ b/test/start.t @@ -139,7 +139,7 @@ class TestStart(TestCase): self.assertNotIn("Recorded bar foo", out) 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)), (time(12, 22, 44), time(13, 32, 23))]) diff --git a/test/stop.t b/test/stop.t index 000802fd..2b56fc44 100755 --- a/test/stop.t +++ b/test/stop.t @@ -118,7 +118,7 @@ class TestStop(TestCase): self.assertIn("The current interval does not have the 'four' tag.", err) 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)), (time(12, 22, 44), time(13, 32, 23))]) diff --git a/test/track.t b/test/track.t index df3dd274..bc930dcf 100755 --- a/test/track.t +++ b/test/track.t @@ -58,7 +58,7 @@ class TestTrack(TestCase): self.assertClosedInterval(j[0], expectedTags=["foo"]) 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)), (time(12, 0, 0), time(13, 0, 0))])