mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#16152: merge with 3.3.
This commit is contained in:
commit
4e0f36b156
4 changed files with 11 additions and 1 deletions
|
@ -1109,6 +1109,10 @@ class TestTokenize(TestCase):
|
|||
token.NAME, token.AMPER, token.NUMBER,
|
||||
token.RPAR)
|
||||
|
||||
def test_pathological_trailing_whitespace(self):
|
||||
# See http://bugs.python.org/issue16152
|
||||
self.assertExactTypeEqual('@ ', token.AT)
|
||||
|
||||
__test__ = {"doctests" : doctests, 'decistmt': decistmt}
|
||||
|
||||
def test_main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue