Skip to content

For #493 - f08 fmt repeat#496

Open
arporter wants to merge 7 commits intomasterfrom
493_f08_fmt_repeat
Open

For #493 - f08 fmt repeat#496
arporter wants to merge 7 commits intomasterfrom
493_f08_fmt_repeat

Conversation

@arporter
Copy link
Member

Takes on the PR by @perazz to fix the coverage issues.

perazz and others added 5 commits February 23, 2026 14:34
Add F2008 Format_Item class (R1003) in Fortran2008/format_item_r1003.py
that extends the F2003 Format_Item with support for the unlimited format
repeat specifier '*' before a parenthesised format-item-list.

The F2008 class registers itself in Base.subclasses["Format_Item"] so
that it is discovered when F2003 code (e.g. Format_Item_List.match)
directly references the F2003 Format_Item class.

Tests moved to the Fortran2008 test directory.
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.21%. Comparing base (3e864a2) to head (37e5ff0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #496      +/-   ##
==========================================
+ Coverage   92.19%   92.21%   +0.01%     
==========================================
  Files          86       87       +1     
  Lines       13807    13832      +25     
==========================================
+ Hits        12730    12755      +25     
  Misses       1077     1077              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@arporter
Copy link
Member Author

Unfortunately, when I run the tests locally (under 3.14) with coverage switched on I get test failures :-( The CPP directive match method gets a FortranStringReader instead of a str. If I put in a debugger breakpoint for this situation and run the tests without --cov then the breakpoint is not triggered.

@arporter
Copy link
Member Author

This one is also ready for review now. It takes on the PR of @perazz and just fixes coverage and tidies a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants