Changeset 142:f5a6a5297de1 for imapclient/test/test_response_parser.py
- Timestamp:
- 04/29/10 14:01:30 (2 years ago)
- Branch:
- default
- Files:
-
- 1 modified
-
imapclient/test/test_response_parser.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
imapclient/test/test_response_parser.py
r120 r142 133 133 134 134 def test_quoted_specials(self): 135 self._test(r'"\"foo bar\""', '"foo bar"') 135 136 self._test(r'"foo \"bar\""', 'foo "bar"') 136 137 self._test(r'"foo\\bar"', r'foo\bar') … … 157 158 to_parse = [to_parse] 158 159 output = parse_response(to_parse) 159 self.assert_( 160 output == expected, 161 format_error(to_parse, output, expected), 162 ) 160 self.assert_(output == expected, 161 format_error(to_parse, output, expected)) 163 162 164 163 def _test_parse_error(self, to_parse, expected_msg):
