Yes, I didn't tested it with Python 2.6. `TestLoader.discover` is new in Python 2.7. http://docs.python.org/2/library/unittest.html#unittest.TestLoader.discover

We can use `unittest2` only with older Python versions. I'm trying to setup  a Python 2.6 environment here to make it work.