File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# RELEASE NOTES
22
3+ ***********************
4+ # testflo version 1.4.22
5+ February 6, 2026
6+
7+ - Previous release broke for projects that don't have a .coveragerc [ #130 ] ( https://github.com/OpenMDAO/testflo/pull/130 )
8+
9+
310***********************
411# testflo version 1.4.21
512February 6, 2026
Original file line number Diff line number Diff line change 1- __version__ = '1.4.21 '
1+ __version__ = '1.4.22 '
Original file line number Diff line number Diff line change @@ -28,12 +28,16 @@ def setup_coverage(options):
2828 data_file = os .path .join (cover_dir , '.coverage' )
2929 cfg_file = os .path .join (cover_dir , '.coveragerc' )
3030
31- cov = coverage .Coverage (
32- config_file = cfg_file ,
33- data_file = data_file ,
34- data_suffix = True ,
35- branch = options .cover_branch ,
36- )
31+ kwargs = {
32+ 'data_file' : data_file ,
33+ 'data_suffix' : True ,
34+ 'branch' : options .cover_branch ,
35+ }
36+
37+ if os .path .isfile (cfg_file ):
38+ kwargs ['config_file' ] = cfg_file
39+
40+ cov = coverage .Coverage (** kwargs )
3741
3842 cov .config .ignore_errors = True
3943
You can’t perform that action at this time.
0 commit comments