diff options
| author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-05-28 13:34:21 -0700 |
|---|---|---|
| committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-05-29 00:08:58 -0700 |
| commit | 73f5f61c73da92cb5358c6b50b25e8d2eb20e3be (patch) | |
| tree | 36ff0250623665babdb1616e3bd67091a7bea5e7 /tests | |
| parent | 4c1200b95fd345d502e3da5173cdbcdbd67bfb11 (diff) | |
| download | sqlparse-73f5f61c73da92cb5358c6b50b25e8d2eb20e3be.tar.gz | |
Remove undocumented ws handlers from lexer.py
Removing nl before tokenizing breaks comments (stripnl/stripall)
Remove tab-expansion.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_tokenize.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/test_tokenize.py b/tests/test_tokenize.py index 02c3f25..4bcfd49 100644 --- a/tests/test_tokenize.py +++ b/tests/test_tokenize.py @@ -72,13 +72,6 @@ class TestTokenize(unittest.TestCase): self.assertEqual(tokens[2][0], T.Number.Integer) self.assertEqual(tokens[2][1], '-1') - def test_tab_expansion(self): - s = "\t" - lex = lexer.Lexer() - lex.tabsize = 5 - tokens = list(lex.get_tokens(s)) - self.assertEqual(tokens[0][1], " " * 5) - class TestToken(unittest.TestCase): |
