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

Fix skipped lines in doctest #401

Open
yck011522 opened this issue Jan 30, 2024 · 0 comments
Open

Fix skipped lines in doctest #401

yck011522 opened this issue Jan 30, 2024 · 0 comments

Comments

@yck011522
Copy link
Contributor

During the migration to compas 2.0 via the branch https://github.com/compas-dev/compas_fab/tree/support_private_data .
A number of Examples in the docstrings were throwing errors due to a new __str__ implementation in compas core.

These strings were skipped from the automated doctest (locally: pytest --doctest-modules) in order to move forward. It is likely that compas core will change the behavior of __str__ to have shorter prints, similar to (compas-dev/compas#1234).

These skipped tags should then be removed. Search for the term # doctest: +SKIP in order to find them.

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