Skip to content

Commit

Permalink
ignore internal nbmake warnings - pytest (notebook tests) (pybamm-tea…
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp authored Dec 27, 2023
1 parent 9fd0cfd commit ee64eaf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,12 @@ testpaths = [
]
console_output_style = "progress"
xfail_strict = true
filterwarnings = ["error"]
filterwarnings = [
"error",
# ignore internal nbmake warnings
'ignore:unclosed \<socket.socket:ResourceWarning',
'ignore:unclosed event loop \<:ResourceWarning',
]

# Logging configuration
log_cli = "true"
Expand Down

0 comments on commit ee64eaf

Please sign in to comment.