Add deprecated functions to mutants exclude list

New mutants found in deprecated functions in the weekly mutation
testing.

Add the deprecated functions to the exclude list so they are not
mutated.
This commit is contained in:
Jamil Lambert, PhD 2025-05-20 16:07:03 +01:00
parent fd0a756344
commit b538a10956
No known key found for this signature in database
GPG Key ID: 54DC29234AB5D2C0
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ exclude_re = [
"FeeRate::fee_vb", # Deprecated "FeeRate::fee_vb", # Deprecated
"FeeRate::fee_wu", # Deprecated "FeeRate::fee_wu", # Deprecated
"SignedAmount::checked_abs", # Deprecated "SignedAmount::checked_abs", # Deprecated
"NumberOfBlocks::value", # Deprecated
"NumberOf512Seconds::to_consensus_u32", # Deprecated
# primitives # primitives
"Sequence::from_512_second_intervals", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask "Sequence::from_512_second_intervals", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask