Update to Django 1.8 - AttributeError: django.test.TestCase has no attribute 'cls_atomics'
问题 I updated a Django 1.7 project to Django 1.8 and now get errors when I run the tests (that are subclasses of django.test.TestCase ). Traceback (most recent call last): File "env\lib\site-packages\django\test\testcases.py", line 962, in tearDownClass cls._rollback_atomics(cls.cls_atomics) AttributeError: type object 'SomeTests' has no attribute 'cls_atomics' If I debug through the test I can step through all lines without problems, but after the last line the exception is thrown. This is an