Skip to content

Commit bfb3581

Browse files
committed
Add datetime DeprecationWarning to ignore list when running pytest
1 parent 6eddd20 commit bfb3581

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ xfail_strict = true
3636
filterwarnings = [
3737
"error",
3838
"ignore:(ast.Str|Attribute s|ast.NameConstant|ast.Num) is deprecated:DeprecationWarning:_pytest",
39+
"ignore:datetime\\.datetime\\.utcfromtimestamp\\(\\)*:DeprecationWarning", # https://github.com/pytest-dev/pytest/issues/11528
3940
]
4041

4142
[tool.cibuildwheel]

0 commit comments

Comments
 (0)