Skip to content

Commit 2051ae5

Browse files
committed
fixup! feat: implement all options of compile method
1 parent 4f55a7f commit 2051ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boreal-py/tests/test_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def test_compile_errors_invalid_types(module, is_yara):
248248
module.compile(filepaths=1)
249249
# FIXME: yara segfaults on this on Windows
250250
if not is_yara:
251-
with pytest.raises(TypeError):
251+
with pytest.raises(AttributeError):
252252
module.compile(file='str')
253253

254254
with pytest.raises(TypeError):

0 commit comments

Comments
 (0)