This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue854] replace import unittest with django.utils.unittest

rodney757 bugs at openhatch.org
Wed Apr 24 19:16:24 UTC 2013


New submission from rodney757 <ewing.rj at gmail.com>:

We should stop using 'import unittest' and start using 'from django.utils.import unittest'

See https://docs.djangoproject.com/en/1.3/topics/testing/ 
https://docs.djangoproject.com/en/1.3/topics/testing/#writing-unit-tests discussion of unittest2

----------
keyword: bitesize
messages: 3675
nosy: paulproteus, rodney757
priority: bug
status: unread
title: replace import unittest with django.utils.unittest

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue854>
__________________________________________


More information about the Devel mailing list