From a8a4b47dd872f38bbe649768ca472190e3a8614c Mon Sep 17 00:00:00 2001 From: Samuel M Smith Date: Wed, 3 Apr 2024 20:23:56 -0600 Subject: [PATCH] fixed lint errors --- tests/test_kering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_kering.py b/tests/test_kering.py index 6adbbc04e..aeb86e717 100644 --- a/tests/test_kering.py +++ b/tests/test_kering.py @@ -274,11 +274,11 @@ def snuff(raw, size=0): """ if len(raw) < SNUFFSIZE: - raise ShortageError(f"Need more raw bytes to smell full version string.") + raise kering.ShortageError(f"Need more raw bytes to smell full version string.") match = Rever.search(raw) # Rever regex takes bytes/bytearray not str if not match or match.start() > MAXVFOFFSET: - raise VersionError(f"Invalid version string from smelled raw = " + raise kering.VersionError(f"Invalid version string from smelled raw = " f"{raw[: SNUFFSIZE]}.") return snatch(match, size=size)