Changeset 96

Show
Ignore:
Timestamp:
Wed Sep 6 11:28:55 2006
Author:
jpellerin
Message:

Removed erroreous comment in core. Fixed #86.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/unit_tests/test_plugins.py

    r76 r96  
    32 32          
    33 33 # some plugins have 2.4-only features  
    34   pyvers = sys.version_info  
    35   compat_24 = pyvers[0] >= 2 and pyvers[1] >= 4  
      34 compat_24 = sys.version_info >= (2, 4)  
      35  
    36 36  
    37 37 class TestBuiltinPlugins(unittest.TestCase):  
  • trunk/nose/core.py

    r90 r96  
    249 249                       help="Output nose version and exit")  
    250 250     parser.add_option("-v", "--verbose", action="count",  
    251                         dest="verbosity", default=int(env.get('NOSE_VERBOSE', 1)),  
      251                       dest="verbosity",  
      252                       default=int(env.get('NOSE_VERBOSE', 1)),  
    252 253                       help="Be more verbose. [NOSE_VERBOSE]")  
    253 254     parser.add_option("-l", "--debug", action="store",  
     
    357 358                                 "supported in this environment" % plug.name)  
    358 359                                  
    359            
    360       # configuration works by setting class-level defaults  
    361       # in Test and properties in runner and loader  
    362 360  
    363 361     conf.addPaths = options.addPaths  
  • trunk/nose/plugins/attrib.py

    r76 r96  
    35 35 from nose.util import tolist  
    36 36  
    37   pyvrs = sys.version_info  
    38   compat_24 = pyvrs[0] >= 2 and pyvrs[1] >= 4  
      37 compat_24 = sys.version_info >= (2, 4)  
    39 38  
    40 39 class ContextHelper: