This commit is contained in:
sneakers-the-rat 2024-08-14 00:21:48 -07:00
parent b610f32c4b
commit 7cb8eea6fe
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
2 changed files with 3 additions and 3 deletions

View file

@ -340,7 +340,7 @@ class DynamicTableMixin(BaseModel):
)
)
except Exception:
raise e
raise e from None
class VectorDataMixin(BaseModel, Generic[T]):

View file

@ -22,7 +22,7 @@ def test_init_logger(capsys, tmp_path):
captured = capsys.readouterr()
assert "WARNING" in captured.out
with open(log_file, "r") as lfile:
with open(log_file) as lfile:
log_str = lfile.read()
assert "WARNING" in log_str
@ -30,6 +30,6 @@ def test_init_logger(capsys, tmp_path):
logger.info(info_msg)
captured = capsys.readouterr()
assert "INFO" in captured.out
with open(log_file, "r") as lfile:
with open(log_file) as lfile:
log_str = lfile.read()
assert "INFO" not in log_str