[icalendar-checkins] r34874 - iCalendar/trunk/src/icalendar
regebro at codespeak.net
regebro at codespeak.net
Wed Nov 22 19:37:31 CET 2006
Author: regebro
Date: Wed Nov 22 19:37:29 2006
New Revision: 34874
Modified:
iCalendar/trunk/src/icalendar/cal.py
Log:
A temporary test was checked in by mistake.
Modified: iCalendar/trunk/src/icalendar/cal.py
==============================================================================
--- iCalendar/trunk/src/icalendar/cal.py (original)
+++ iCalendar/trunk/src/icalendar/cal.py Wed Nov 22 19:37:29 2006
@@ -521,20 +521,6 @@
>>> import tempfile, os
>>> directory = tempfile.mkdtemp()
>>> open(os.path.join(directory, 'test.ics'), 'wb').write(cal.as_string())
-
- Test that line breaks do not happen in UTF characters. RFC 2445 is a bit
- unclear, it sais that lines may not be longer than 75 *octets* and that
- you can split within any *characters*. Some implementation takes this
- (quite reasonably) as not allowing splits within multiple-octet UTF-8
- characters. So we need to handle that.
-
- >>> desc1 = u'PETROL Conference:\\n"Gestion de riesgos en el sector del petr\xf3leo"'
- >>> event = Event()
- >>> event.add('description', desc1)
-
- Make sure the unicode of the \xf3 (an o with an accent) exists in the result:
- >>> '\xc3\xb3' in event.as_string()
- True
"""
name = 'VCALENDAR'
More information about the icalendar-checkins
mailing list