Changeset 114:3342a5062422
- Timestamp:
- 28/12/09 19:01:43 (2 years ago)
- Author:
- msmits@…
- Branch:
- default
- Message:
-
Added a (failing) test as a reminder about quoted specials (as per #28)
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r113
|
r114
|
|
| 95 | 95 | |
| 96 | 96 | |
| | 97 | def test_quoted_specials(self): |
| | 98 | self._test(r'"foo \"bar\""', ('foo "bar"',)) |
| | 99 | self._test(r'"foo\\bar"', (r'foo\bar',)) |
| | 100 | |
| | 101 | |
| 97 | 102 | def test_incomplete_tuple(self): |
| 98 | 103 | self._test_parse_error('abc (1 2', 'Tuple incomplete before "(1 2"') |
| … |
… |
|
| 105 | 110 | def test_bad_quoting(self): |
| 106 | 111 | self._test_parse_error('"abc next', 'No closing quotation: "abc next') |
| | 112 | |
| | 113 | |
| 107 | 114 | |
| 108 | 115 | |