Skip to content

Commit

Permalink
Merge PR45 into UpdateComplexityError
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-cge committed Aug 14, 2024
2 parents c163dbe + 77981bc commit 4a58476
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.1] - Unreleased
## [4.0.1] - 2024-08-09

### Fixed
- #45: Fixed Python line 0 tracking for 2024.2
- #46: Fix for bug caused by UpdateComplexity calling GetCurrentByName unnecessarily and causing dependency issues

## [4.0.0] - 2024-08-01
Expand Down
2 changes: 1 addition & 1 deletion cls/TestCoverage/Utils/LineByLineMonitor.cls
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ClassMethod PyStartWithScope(pCoverageClasses As %List) [ Language = python ]
class_name = frame.f_globals['__name__']
# extracts the line number
line_no = frame.f_lineno
if class_name in tCoverageClasses and line_no != 1: # if this is in a covered class
if class_name in tCoverageClasses and line_no > 1: # if this is in a covered class
tGlob = iris.gref('^IRIS.Temp.TestCoveragePY') # python doesn't have macros -- this is $$$PyMonitorResults
# $$$PyMonitorResults(classname, linenumber) = the number of times that linenumber in that class was covered

Expand Down

0 comments on commit 4a58476

Please sign in to comment.