Okay, why is nose saying this run is OK when I purposely screwed it up?
import nose
def stand_and_deliver():
return 52
def stupid_error():
'''This is my stupid error'''
assert stand_and_deliver() == 17
if __name__ == '__main__':
nose.runmodule()
nose result:
Ran 0 tests in 0.000s
OK
--
Jim Mooney
"When I got to high school I realized my name would always present
problems." --Dick Hertz
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor