mahmoudimus / nose-timer

A timer plugin for nosetests (how much time does every test take?)
MIT License
126 stars 33 forks source link

Unable to import nose-timer 0.4.3 #59

Closed dresendez closed 9 years ago

dresendez commented 9 years ago

http://stackoverflow.com/questions/28504849/unable-to-load-plugin-nose-timer

downgraded to 0.3.0 and worked fine. 0.4.3 will not run

hugovk commented 9 years ago

@dresendez Version 0.4.3 works for me. What commands are you using, exactly?

skudriashev commented 9 years ago

@dresendez And what OS?

dresendez commented 9 years ago

I am on OSX Yosemite, and the command i was using (via os.sytem):

os.system('nosetests %s --with-timer %s --process-timeout=600 --tc-file=%s --verbosity=%s --nologcapture' % (test, xmlout, configfile, (args['verbose'])))
dresendez commented 9 years ago

I didn't mean to close it btw.

hugovk commented 9 years ago

What output do you get when you run pip freeze on the command line?

Instead of:

os.system('nosetests %s --with-timer %s --process-timeout=600 --tc-file=%s --verbosity=%s --nologcapture' % (test, xmlout, configfile, (args['verbose'])))

Can you try:

cmd = 'nosetests %s --with-timer %s --process-timeout=600 --tc-file=%s --verbosity=%s --nologcapture' % (test, xmlout, configfile, (args['verbose']))
print("cmd=" + cmd)
os.system(cmd)

And also paste the full output?