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

move contents under if __main__ in evaluate.py to function to make it testable #191

Closed
coleslaw481 opened this issue Aug 15, 2018 · 1 comment
Assignees
Milestone

Comments

@coleslaw481
Copy link
Contributor

Create a new function and move as much of the code out of the the if statement below:

if __name__ == '__main__':
   # code

so it can be tested

@coleslaw481 coleslaw481 added this to the 1.11.0 milestone Aug 15, 2018
@coleslaw481 coleslaw481 self-assigned this Aug 15, 2018
coleslaw481 added a commit that referenced this issue Aug 20, 2018
@coleslaw481
Copy link
Contributor Author

Moved to main() function.

@coleslaw481 coleslaw481 changed the title move contents under if __main__ in evalute.py to function to make it testable move contents under if __main__ in evaluate.py to function to make it testable Aug 28, 2018
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

1 participant