summaryrefslogtreecommitdiff
path: root/tests/unit/misc/test_elf.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/misc/test_elf.py')
-rw-r--r--tests/unit/misc/test_elf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/misc/test_elf.py b/tests/unit/misc/test_elf.py
index 88b984dcd..6ae23357c 100644
--- a/tests/unit/misc/test_elf.py
+++ b/tests/unit/misc/test_elf.py
@@ -9,7 +9,7 @@ import pytest
import hypothesis
from hypothesis import strategies as hst
-from qutebrowser.misc import elf
+from qutebrowser.misc import elf, binparsing
from qutebrowser.utils import utils
@@ -117,7 +117,7 @@ def test_find_versions(data, expected):
),
])
def test_find_versions_invalid(data, message):
- with pytest.raises(elf.ParseError) as excinfo:
+ with pytest.raises(binparsing.ParseError) as excinfo:
elf._find_versions(data)
assert str(excinfo.value) == message
@@ -132,5 +132,5 @@ def test_hypothesis(data):
fobj = io.BytesIO(data)
try:
elf._parse_from_file(fobj)
- except elf.ParseError as e:
+ except binparsing.ParseError as e:
print(e)