Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Use unittest2 for older Python versions. #11

Closed
wants to merge 1 commit into from
Closed

Use unittest2 for older Python versions. #11

wants to merge 1 commit into from

Conversation

aidecoe
Copy link
Contributor

@aidecoe aidecoe commented Jul 18, 2013

Fixes issue #10.

@irmen
Copy link
Owner

irmen commented Jul 18, 2013

While this change implements the general idea (using unittest2 on older pythons) I don't like the fact that every source file repeats the same conditional import. I would very much prefer something like putting that conditional import in testsupport.py (which already contains some other conditional stuff) and then just replacing "import unittest" with "from testsupport import unittest" or something like that in every test source file.

@irmen
Copy link
Owner

irmen commented Jul 24, 2013

not merged, see previous comment

@irmen irmen closed this Jul 24, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants