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

Compound idx test #33

Merged
merged 5 commits into from
Jun 17, 2022
Merged

Compound idx test #33

merged 5 commits into from
Jun 17, 2022

Conversation

kgasperich
Copy link
Collaborator

@kgasperich kgasperich commented Jun 17, 2022

resolves #32

@kgasperich kgasperich requested a review from TApplencourt June 17, 2022 17:57
main.py Outdated Show resolved Hide resolved
main.py Outdated Show resolved Hide resolved
@TApplencourt
Copy link
Collaborator

Look good. Just a nitpick s/always//.
Thanks a lot!

@kgasperich kgasperich requested a review from TApplencourt June 17, 2022 19:47
main.py Outdated Show resolved Hide resolved
@kgasperich kgasperich requested a review from TApplencourt June 17, 2022 20:51
Comment on lines +1716 to 1729
try:
sys.argv.remove("--doctest-raise")
except ValueError:
DOCTEST_RAISE = False
else:
DOCTEST_RAISE = True
try:
sys.argv.remove("--profiling")
except ValueError:
PROFILING = False
else:
PROFILING = True
doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE, raise_on_error=True)
doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE, raise_on_error=DOCTEST_RAISE)
unittest.main(failfast=True, verbosity=0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That solves the issue indeed.

@TApplencourt TApplencourt merged commit 92bf779 into clean Jun 17, 2022
@TApplencourt
Copy link
Collaborator

Thanks!

@TApplencourt TApplencourt deleted the compound_idx_test branch June 17, 2022 23:34
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

Successfully merging this pull request may close these issues.

Move doctests for counput into their own UnitTest
2 participants