Skip to content

Commit 4a58476

Browse files
committed
Merge PR45 into UpdateComplexityError
2 parents c163dbe + 77981bc commit 4a58476

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [4.0.1] - Unreleased
8+
## [4.0.1] - 2024-08-09
99

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

1314
## [4.0.0] - 2024-08-01

cls/TestCoverage/Utils/LineByLineMonitor.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ClassMethod PyStartWithScope(pCoverageClasses As %List) [ Language = python ]
6868
class_name = frame.f_globals['__name__']
6969
# extracts the line number
7070
line_no = frame.f_lineno
71-
if class_name in tCoverageClasses and line_no != 1: # if this is in a covered class
71+
if class_name in tCoverageClasses and line_no > 1: # if this is in a covered class
7272
tGlob = iris.gref('^IRIS.Temp.TestCoveragePY') # python doesn't have macros -- this is $$$PyMonitorResults
7373
# $$$PyMonitorResults(classname, linenumber) = the number of times that linenumber in that class was covered
7474

0 commit comments

Comments
 (0)