mirror of
https://github.com/mandiant/capa.git
synced 2025-12-22 07:10:29 -08:00
extractors accept Path instance
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
# Unless required by applicable law or agreed to in writing, software distributed under the License
|
||||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and limitations under the License.
|
||||
from pathlib import PosixPath
|
||||
|
||||
import pytest
|
||||
import fixtures
|
||||
from fixtures import *
|
||||
@@ -27,5 +29,4 @@ def test_pefile_features(sample, scope, feature, expected):
|
||||
|
||||
if ".elf" in sample.name:
|
||||
pytest.xfail("pefile doesn't handle ELF files")
|
||||
|
||||
fixtures.do_test_feature_presence(fixtures.get_pefile_extractor, sample, scope, feature, expected)
|
||||
|
||||
Reference in New Issue
Block a user