summaryrefslogtreecommitdiff
path: root/networkx/conftest.py
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2023-04-03 10:22:09 -0700
committerGitHub <noreply@github.com>2023-04-03 13:22:09 -0400
commit7366c9f5352352e562d5081cdaff042a15a73f72 (patch)
treece9f995a45a09a84cc321d3e1c47b4e8cbeaba69 /networkx/conftest.py
parentf26a1705f57c83838a966cc847fc52f78ff7314c (diff)
downloadnetworkx-7366c9f5352352e562d5081cdaff042a15a73f72.tar.gz
Minor docs/test maintenance (#6614)
* doc: fix docstring heading, eliminate sphinx error. * doc: change extension of included file to prevent duplicate labels. * tst: add warnings filter for deprecated forest_str.
Diffstat (limited to 'networkx/conftest.py')
-rw-r--r--networkx/conftest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/networkx/conftest.py b/networkx/conftest.py
index d26a1935..8da660b2 100644
--- a/networkx/conftest.py
+++ b/networkx/conftest.py
@@ -78,6 +78,9 @@ def set_warnings():
category=DeprecationWarning,
message="shortest_path for all_pairs",
)
+ warnings.filterwarnings(
+ "ignore", category=DeprecationWarning, message="\nforest_str is deprecated"
+ )
@pytest.fixture(autouse=True)