Fix unpack error

This commit is contained in:
Kruglov Pavel 2024-08-13 15:58:49 +02:00 committed by GitHub
parent cfeb20681d
commit 0414cdbbbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1995,7 +1995,7 @@ class TestSuite:
tag_line = find_tag_line(file)
next_line = file.readline()
except UnicodeDecodeError:
return []
return [], {}
try:
if filepath.endswith(".sql"):
for line in file: