Wykres commitów

13 Commity (defbfc2efe45728d5bdc68faa851887983904961)

Autor SHA1 Wiadomość Data
Nicco Kunzmann 33298918c6 Refactor time tests 2024-03-17 16:08:30 +00:00
Nicco Kunzmann c9fbe223cb move .ics files into the calendars directory 2023-11-01 01:00:19 +00:00
Hugo Osvaldo Barrera d4c190866f Remove any syntax required for python < 3.8
find . -iname "*.py" -exec pyupgrade --py38-plus {} \;
2022-08-15 09:58:40 +02:00
Jon Dufresne 80f2c308c6 Drop support for Python 2.6 and 3.3
I would humbly like to suggest icalendar drop support for Python 2.6.

The last release of Python 2.6 was 2013-10-29. It is no longer receiving
security or bug fixes.

https://www.python.org/dev/peps/pep-0361/

The pip project itself has decided to drop support for 2.6. At the
beginning of the year, their numbers estimated that Python 2.6 accounts
for ~2% of their downloads.

https://github.com/pypa/pip/pull/4343

For projects that still use Python 2.6, they can continue to pip install
an older version.

I've tried my best to remove as much 2.6 specific code as I can,
including the 'Programming Language :: Python :: 2.6' trove classifier
from setup.py. I've also removed Travis CI testing, which should result
in slightly faster testing and fewer wasted resources.

Changed:

* Update documented Python support and trove classifiers
* Update Travis test matrix and tox test matrix
* Use set literals (and more literals in general)
* Use dict comprehension
* Remove dependencies on ordereddict and unittest2
* Remove u string prefix, use more modern unicode literals instead
2017-11-07 03:44:09 -08:00
Johannes Raggam 2d62c56ab0 all utf 8 headers 2016-01-14 15:08:00 +01:00
Johannes Raggam 08babba931 format imports according to https://github.com/plone/plone.api/blob/master/docs/contribute/conventions.rst 2013-12-24 01:44:53 +01:00
Johannes Raggam a08849e099 remove unused tests, move examples.rst to docs/usage.rst, pep8 everything 2013-12-24 01:29:05 +01:00
Christian Geier 621cd87152 used bytestrings where appropriate
again
2013-10-20 23:59:46 +02:00
Johannes Raggam 58c93b9f91 use unittest2 all over, import centrally 2013-03-19 11:05:13 +01:00
Victor Varvaryuk 4d1df610b2 Made a test case when a parameter text value contains escaped non-safe chars.
Currently the test fails on this:
ORGANIZER;CN=AGSM Student Society\, Class of 2014:student@example.org
2013-03-05 14:18:49 +04:00
Victor Varvaryuk aa0bf3361d Merged with upstream.
In some place Python 2.6's str.format is used, so i also polished some other places:
- use decorator @staticmethod
- removed double spaces
- put two spaces before comments in the same line wit code
- exceptions raising in form Exception()
- using ternary "operator": result = True if condition else False
- if using a newer version of Python, do not load unittest2
2013-01-15 12:27:16 +04:00
Johannes Raggam f3f8cc73c8 merge Kozea/master, make tests run under py2.4 2012-11-23 13:37:49 +01:00
Ronan Dunklau af93d4ff68 Add test for vTime instances. 2012-11-22 13:57:40 +01:00