Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nose-machineout #4

Closed
niklassemmler opened this issue Jun 9, 2015 · 2 comments
Closed

nose-machineout #4

niklassemmler opened this issue Jun 9, 2015 · 2 comments

Comments

@niklassemmler
Copy link

It looks like github.com/nvie/nose-machineout.git is no longer available.

It worked for me using your version of nose-machineout. Additionally, if you would add the following lines to your version of nose-machineout, it would work under python as well.

try:
    unicode = unicode
except NameError:
    # 'unicode' is undefined, must be Python 3
    str = str
    unicode = str
    bytes = bytes
    basestring = (str,bytes)
else:
    # 'unicode' exists, must be Python 2
    str = str
    unicode = unicode
    bytes = str
    basestring = basestring

(from:) oxplot/fysom#1

I suspect only the basestring part of the clause is really necessary.

Thank you again for this great tool!

@lambdalisue
Copy link
Owner

I just simply start nose-machineout2 https://github.com/lambdalisue/nose-machineout2 which support Python 3 as well

@lambdalisue
Copy link
Owner

Now you can get it from PyPI as

$ pip install nose_machineout2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants