为 django 运行全套测试时,我收到此错误:
FAIL: test_error_logging (django_extensions.tests.management_command.CommandTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/jenkins/shiningpanda/jobs/cb5c943f/virtualenvs/d41d8cd9/local/lib/python2.7/site-packages/django_extensions/tests/management_command.py", line 35, in test_error_logging
self.assertEqual(len(handler.messages['error']), 1)
AssertionError: 0 != 1
谁能解释为什么我可能会得到这个以及如何阻止它?