Skip to content

Fix dailies on 6/6/2026#400

Merged
CodyCBakerPhD merged 2 commits into
mainfrom
fix-dailies
Jun 7, 2026
Merged

Fix dailies on 6/6/2026#400
CodyCBakerPhD merged 2 commits into
mainfrom
fix-dailies

Conversation

@CodyCBakerPhD

Copy link
Copy Markdown
Collaborator

Updated tqdm usage in tests to ensure consistent ASCII output for progress bars across different environments.

Source cause

The tests were always relying on a tqdm quirk:

  • they captured the progress bar into a plain io.StringIO(), which has no .encoding attribute
  • previous version of tqdm read that missing attribute as "stream can't do unicode" and fell back to the ASCII # bar

Latest release of tqdm flips that fallback: an encoding-less stream is now treated as unicode-capable, so the captured bar became █ (U+2588) instead of #, breaking the golden-file comparison.

Updated tqdm usage in tests to ensure consistent ASCII output for progress bars across different environments.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@CodyCBakerPhD CodyCBakerPhD self-assigned this Jun 6, 2026
Removed comments explaining ASCII bar fill for tqdm in tests.
@CodyCBakerPhD CodyCBakerPhD added tests Add or improve existing tests dependencies Update one or more dependencies version labels Jun 6, 2026
@CodyCBakerPhD CodyCBakerPhD moved this to Uncategorized in My Work History Jun 6, 2026
@CodyCBakerPhD CodyCBakerPhD merged commit 7fd10c0 into main Jun 7, 2026
53 of 57 checks passed
@CodyCBakerPhD CodyCBakerPhD deleted the fix-dailies branch June 7, 2026 23:32
@github-project-automation github-project-automation Bot moved this from Uncategorized to Done in My Work History Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update one or more dependencies version tests Add or improve existing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant