• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Tatsh / deltona / 24947783792 / 5
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2026 04:11AM UTC
Files 27
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Apr 2026 03:59AM UTC coverage: 100.0%. Remained the same
24947783792.5

push

github

Tatsh
refactor: preserve commas in single-element LHS tuple unpacks

When classifying an opening `(`, `_prev_sig` walked backwards across
`NEWLINE` tokens and could reach a `NAME` from the previous logical
statement (for example the `int` in `count: int\n(count,) = ...`).
That mis-classified the opener as a function call, so
`_is_required_single_element` returned `False` and the rewriter
stripped the comma from `(count,)`. The result, `(count) = ...`, is a
parenthesised target rather than a 1-tuple unpack, silently changing
the assignment's semantics.

Add a `_STATEMENT_BREAKS` set covering `NEWLINE`, `INDENT`, `DEDENT`,
and `ENCODING` and have `_prev_sig` return `None` on hitting one, so
backward classification stops at the start of the current statement.
`NL` (in-expression continuation) is unchanged, keeping multi-line
forward scans for trailing commas working as before.

Add regression tests covering the original shape (after a type
annotation in a function), at module top, and after an arbitrary
prior statement.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

395 of 395 branches covered (100.0%)

Branch coverage included in aggregate %.

3289 of 3289 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 24947783792.5
  • Tree
  • List 27
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24947783792
  • 404f63f5 on github
  • Prev Job for on master (#24946632770.3)
  • Next Job for on master (#24947903156.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc