Quoting warvariuc (2013-01-15 17:09:19)
> In src/icalendar/tests/test_timezoned.py:
> 
> >  import icalendar
> >  import pytz
> >  import datetime
> >  import dateutil.parser
> >  import os
> >
> > +import unittest
> > +if not hasattr(unittest.TestCase, 'assertIsNotNone'):
> > +    import unittest2 as unittest
> > +
> > +
> 
> What if you have an old Python version and you don't have unittest2 installed?
> You end up having unittest successfully imported, but which doesn't have
> required methods like assertIsNotNone?
> 

currently unittest2 is always installed (as per setup.py).
it should be made conditional to be only installed for python 2.6 and lower.


--
Rok Garbas - http://www.garbas.si