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

Print empty char after updated code exercise #80

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Nov 29, 2024

To enforce clear_output even when the update is not printing anything we used print("", end"") this seems not to always work so we print an empty char now.


📚 Documentation preview 📚: https://scicode-widgets--80.org.readthedocs.build/en/80/

To enforce `clear_output` even when the update is not printing anything
we used `print("", end"")` this seems not to always work so we print an
empty char now. In the tests this introduces another output that makes
the tests fail checking the number of outputs. Because the number of
outputs is testing anything meaningful we remove these tests. There are
tests that check joined texts of the outputs that cover the outputs
already good enough.
@agoscinski agoscinski merged commit cf1fb98 into main Nov 29, 2024
2 of 3 checks passed
@agoscinski agoscinski deleted the print-empty-char branch November 29, 2024 16: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.

1 participant