diff --git a/CHANGELOG.md b/CHANGELOG.md index 779d9fc8..a0db1b71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ - fix: correct wrong dict key in VMRay _compute_monitor_threads assertion (used thread_id instead of process_id) @williballenthin fix: replace assert with isinstance guard in get_callee for invalid MethodSpec tokens @williballenthin - fix: replace assert with isinstance guard in get_callee for invalid MethodSpec tokens @williballenthin +- fix: remove duplicate Rule.from_yaml call in test_scope_instruction_description @williballenthin (SURF-79) - fix: remove unused imports of capa.helpers, capa.features.basicblock, and redundant bare capa.features.extractors.base_extractor from test_freeze_dynamic.py @williballenthin (SURF-78) - fix: replace capa.main.find_capabilities with capa.capabilities.common.find_capabilities in test_com_feature_matching to avoid implicit transitive import dependency @williballenthin (SURF-77) - fix: correct test_json_meta to iterate list of function dicts and use correct address format for matched_basic_blocks assertion @williballenthin (SURF-76) diff --git a/tests/test_rules_insn_scope.py b/tests/test_rules_insn_scope.py index 9db9c699..da3316d3 100644 --- a/tests/test_rules_insn_scope.py +++ b/tests/test_rules_insn_scope.py @@ -118,21 +118,3 @@ def test_scope_instruction_description(): - os: windows """) ) - - capa.rules.Rule.from_yaml( - textwrap.dedent(""" - rule: - meta: - name: test rule - scopes: - static: function - dynamic: process - features: - - and: - - instruction: - - description: foo - - mnemonic: mov - - arch: i386 - - os: windows - """) - )