compas-dev / compas-dev/compas_fab

Fix skipped lines in doctest

Open
#401 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
137
Forks
47
PR merge metrics
No merged PRs in 30d

Description

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 (https://github.com/compas-dev/compas/pull/1234).

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.