Ticket #13303: two_point_four_has_sets.diff

File two_point_four_has_sets.diff, 442 bytes (added by Gabriel Hurley, 15 years ago)

removes conditional import for sets that supported 2.3

  • tests/runtests.py

     
    55
    66import django.contrib as contrib
    77
    8 try:
    9     set
    10 except NameError:
    11     from sets import Set as set     # For Python 2.3
    128
    13 
    149CONTRIB_DIR_NAME = 'django.contrib'
    1510MODEL_TESTS_DIR_NAME = 'modeltests'
    1611REGRESSION_TESTS_DIR_NAME = 'regressiontests'
Back to Top