File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change 8282
8383thread_pool : ContextVar [Pool ] = ContextVar ("thread_pool" , default = Pool (7 ))
8484
85- if sys .version_info < (3 , 6 ):
86- """
87- Consistently ordered variant of :class:`~networkx.DiGraph`.
88-
89- PY3.6 has inmsertion-order dicts, but PY3.5 has not.
90- And behvavior *and TCs) in these environments may fail spuriously!
91- Still *subgraphs* may not patch!
92-
93- Fix from:
94- https://networkx.github.io/documentation/latest/reference/classes/ordered.html#module-networkx.classes.ordered
95- """
96- from networkx import OrderedDiGraph as DiGraph
97-
9885
9986class _DataNode (str ):
10087 """
Original file line number Diff line number Diff line change @@ -161,13 +161,6 @@ def _check_plt_img(img):
161161def test_plot_matpotlib (pipeline , tmp_path ):
162162 ## Try matplotlib Window, but # without opening a Window.
163163
164- if sys .version_info < (3 , 5 ):
165- # On PY< 3.5 it fails with:
166- # nose.proxy.TclError: no display name and no $DISPLAY environment variable
167- # eg https://travis-ci.org/ankostis/graphtik/jobs/593957996
168- import matplotlib
169-
170- matplotlib .use ("Agg" )
171164 # do not open window in headless travis
172165 img = pipeline .plot (show = - 1 )
173166 _check_plt_img (img )
You can’t perform that action at this time.
0 commit comments