summaryrefslogtreecommitdiff
path: root/networkx/readwrite/tests/test_graphml.py
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2019-10-07 15:10:19 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2019-10-12 09:21:57 -0700
commitc85cb4a8b688546c46bc155e1f15c9cf80b94471 (patch)
treecf593c28452a0839bab3d262df05a7aa66878f4b /networkx/readwrite/tests/test_graphml.py
parent04bda295dc7a5b2208bf81a1c3d54d277c019a87 (diff)
downloadnetworkx-c85cb4a8b688546c46bc155e1f15c9cf80b94471.tar.gz
Use class methods for class setup/teardown, cont.
Diffstat (limited to 'networkx/readwrite/tests/test_graphml.py')
-rw-r--r--networkx/readwrite/tests/test_graphml.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/networkx/readwrite/tests/test_graphml.py b/networkx/readwrite/tests/test_graphml.py
index 8882d56f..02c75024 100644
--- a/networkx/readwrite/tests/test_graphml.py
+++ b/networkx/readwrite/tests/test_graphml.py
@@ -840,6 +840,8 @@ class TestWriteGraphML(BaseGraphML):
@classmethod
def setup_class(cls):
+ BaseGraphML.setup_class()
+
try:
import lxml.etree
except ImportError:
@@ -1041,6 +1043,8 @@ class TestXMLGraphML(TestWriteGraphML):
@classmethod
def setup_class(cls):
+ TestWriteGraphML.setup_class()
+
try:
import xml.etree.ElementTree
except ImportError: