Changeset 10298:a12359dcb41f in orange


Ignore:
Timestamp:
02/18/12 13:04:55 (2 years ago)
Author:
Miha Stajdohar <miha.stajdohar@…>
Branch:
default
Message:

Removed doc string from tests (nose has problems with them).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/misc/testing.py

    r10273 r10298  
    141141    newname = func.__name__ + "_" + name.replace("-", "_") 
    142142    expanded.__name__ = newname 
     143    expanded.__doc__ = None 
    143144    return newname, expanded 
    144145 
     
    162163    newname = func.__name__ + "_" + name.replace("-", "_") 
    163164    expanded.__name__ = newname 
     165    expanded.__doc__ = None 
    164166    return newname, expanded 
    165167 
     
    197199                else: 
    198200                    newname, expanded = _expanded(val, name, expand_args) 
     201 
    199202                setattr(cls, newname, expanded) 
    200203            setattr(cls, test_name, None) 
Note: See TracChangeset for help on using the changeset viewer.