Skip to content

fix(nano): Method.from_callable could leak StopIteration#1376

Merged
jansegre merged 1 commit into
masterfrom
fix/method-from-callable
Aug 21, 2025
Merged

fix(nano): Method.from_callable could leak StopIteration#1376
jansegre merged 1 commit into
masterfrom
fix/method-from-callable

fix(nano): Method.from_callable could leak StopIteration

8a86413
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 21, 2025 in 0s

85.67% (target 85.00%)

View this Pull Request on Codecov

85.67% (target 85.00%)

Details

Codecov Report

❌ Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.67%. Comparing base (a4ad960) to head (8a86413).

Files with missing lines Patch % Lines
hathor/nanocontracts/method.py 50.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1376      +/-   ##
==========================================
- Coverage   85.70%   85.67%   -0.04%     
==========================================
  Files         429      429              
  Lines       32444    32450       +6     
  Branches     5068     5068              
==========================================
- Hits        27807    27800       -7     
- Misses       3612     3621       +9     
- Partials     1025     1029       +4     

☔ 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.