From f09e683ef55151141fab263091e0144099f0ef33 Mon Sep 17 00:00:00 2001 From: Michael Hunhoff Date: Fri, 3 Jul 2020 12:24:17 -0600 Subject: [PATCH] removing stale imports --- capa/features/freeze.py | 1 - capa/rules.py | 1 - tests/fixtures.py | 3 ++- tests/test_rules.py | 1 - tests/test_viv_features.py | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/capa/features/freeze.py b/capa/features/freeze.py index ac5363c0..1f2cc1d9 100644 --- a/capa/features/freeze.py +++ b/capa/features/freeze.py @@ -47,7 +47,6 @@ import logging import capa.features import capa.features.file import capa.features.insn -import capa.features.function import capa.features.basicblock import capa.features.extractors from capa.helpers import hex diff --git a/capa/rules.py b/capa/rules.py index f4550fca..bff1f19e 100644 --- a/capa/rules.py +++ b/capa/rules.py @@ -10,7 +10,6 @@ import capa.engine import capa.features import capa.features.file import capa.features.insn -import capa.features.function import capa.features.basicblock from capa.engine import * from capa.features import MAX_BYTES_FEATURE_SIZE diff --git a/tests/fixtures.py b/tests/fixtures.py index dd6bc7c2..35c660a4 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -2,9 +2,10 @@ import os import os.path import collections -import pytest import viv_utils +import pytest + CD = os.path.dirname(__file__) diff --git a/tests/test_rules.py b/tests/test_rules.py index e2319148..5b77ea31 100644 --- a/tests/test_rules.py +++ b/tests/test_rules.py @@ -1,7 +1,6 @@ import textwrap import pytest - import capa.rules from capa.features import String from capa.features.insn import Number, Offset diff --git a/tests/test_viv_features.py b/tests/test_viv_features.py index de74a0c5..4447b0ac 100644 --- a/tests/test_viv_features.py +++ b/tests/test_viv_features.py @@ -3,7 +3,6 @@ import viv_utils import capa.features import capa.features.file import capa.features.insn -import capa.features.function import capa.features.basicblock import capa.features.extractors.viv.file import capa.features.extractors.viv.insn