diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-02-17 21:49:06 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-02-17 21:49:06 (GMT) |
commit | 58edfd9ff13813908e322dc0829469c3f82984b2 (patch) | |
tree | c29922f6629e1eacc6fdeb06a0158f7f1d64c780 /Lib | |
parent | 5e6db313686c200da425a54d2e0c95fa40107b1d (diff) | |
download | cpython-58edfd9ff13813908e322dc0829469c3f82984b2.zip cpython-58edfd9ff13813908e322dc0829469c3f82984b2.tar.gz cpython-58edfd9ff13813908e322dc0829469c3f82984b2.tar.bz2 |
whitespace
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_tokenize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py index df4e165..476ed76 100644 --- a/Lib/test/test_tokenize.py +++ b/Lib/test/test_tokenize.py @@ -1154,14 +1154,14 @@ class TestTokenize(TestCase): self.assertExactTypeEqual('@ ', token.AT) class UntokenizeTest(TestCase): - + def test_bad_input_order(self): u = Untokenizer() u.prev_row = 2 u.prev_col = 2 with self.assertRaises(ValueError) as cm: u.add_whitespace((1,3)) - self.assertEqual(cm.exception.args[0], + self.assertEqual(cm.exception.args[0], 'start (1,3) precedes previous end (2,2)') self.assertRaises(ValueError, u.add_whitespace, (2,1)) |