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

Running mut.py Opens Said File Instead of Running MutPy #71

Open
FloatingSunfish opened this issue Jul 23, 2021 · 1 comment
Open

Running mut.py Opens Said File Instead of Running MutPy #71

FloatingSunfish opened this issue Jul 23, 2021 · 1 comment

Comments

@FloatingSunfish
Copy link

FloatingSunfish commented Jul 23, 2021

I created a project that follows the example in the README file.

However, when I run mut.py --target calculator --unit-test test_calculator -m, it just opens mut.py instead of actually running MutPy.

The file has the following content:

#!c:\users\admin\appdata\local\programs\python\python39\python.exe

import sys
from mutpy import commandline

if __name__ == '__main__':
    commandline.main(sys.argv)

The README doesn't mention any other configurations that need to be done and says that it should be compatible with Python 3.3+ (I'm on Python 3.9.6).

Is there something I'm doing wrong?

@FloatingSunfish FloatingSunfish changed the title Running mut.py Opens This File Instead of Running MutPy Running mut.py Opens Said File Instead of Running MutPy Jul 23, 2021
@Abhishek27041998
Copy link

Any fixes for this issue? I am also facing the same.

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