summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_timeit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_timeit.py')
-rw-r--r--Lib/test/test_timeit.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_timeit.py b/Lib/test/test_timeit.py
index 72a104f..f5ae0a8 100644
--- a/Lib/test/test_timeit.py
+++ b/Lib/test/test_timeit.py
@@ -297,9 +297,7 @@ class TestTimeit(unittest.TestCase):
@unittest.skipIf(sys.flags.optimize >= 2, "need __doc__")
def test_main_help(self):
s = self.run_main(switches=['-h'])
- # Note: It's not clear that the trailing space was intended as part of
- # the help text, but since it's there, check for it.
- self.assertEqual(s, timeit.__doc__ + ' ')
+ self.assertEqual(s, timeit.__doc__)
def test_main_verbose(self):
s = self.run_main(switches=['-v'])