Skip to content

Commit 4cf8b8a

Browse files
committed
pytest fails with warnings
1 parent 149ab8b commit 4cf8b8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ log_level = "INFO"
9393
log_format = "%(asctime)s [%(levelname)s] %(name)s.%(funcName)s.%(lineno)d: %(message)s"
9494

9595
# Disable botocore 'datetime.datetime.utcnow()' deprecation warning
96-
filterwarnings = "ignore:datetime.datetime.utcnow:DeprecationWarning:botocore"
96+
filterwarnings = [
97+
"error",
98+
"ignore:datetime.datetime.utcnow:DeprecationWarning:botocore",
99+
]
97100

98101
[tool.coverage.report]
99102
omit =[

0 commit comments

Comments
 (0)