Changes between Initial Version and Version 2 of Ticket #16388
- Timestamp:
- Jul 5, 2011, 3:43:14 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16388 – Description
initial v2 1 1 enviroment: python2.7 + django1.3 2 2 with the steps below: 3 1、 django-admin.py startproject myapp 4 2、 cd myapp 5 3、 manage.py startapp foo 6 4、 manage.py test 3 4 - 1 django-admin.py startproject myapp 5 - 2 cd myapp 6 - 3 manage.py startapp foo 7 - 4 manage.py test 7 8 8 9 error occurs: 10 {{{ 9 11 File "C:\Python27\lib\site-packages\django\test\simple.py", line 237, in setup_test_environment 10 12 unittest.installHandler() 11 13 AttributeError:'module' object has no attribute 'installHandler' 12 14 }}} 13 15 14 16 problem?: 15 17 the file “site-packages\django\utils\unittest” contains the code 18 {{{ 16 19 try: 17 20 # check the system path first … … 23 26 else: 24 27 ... 25 28 }}} 26 29 but unittest2 features are native in Python 2.7?