File tree Expand file tree Collapse file tree
holoviews/tests/operation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 AggregationOperation ,
2929 aggregate ,
3030 datashade ,
31- directly_connect_edges ,
3231 dynspread ,
3332 inspect ,
3433 inspect_points ,
@@ -1843,17 +1842,13 @@ def test_stack_saturate_compositor_reverse(self):
18431842 assert_element_equal (combined , self .rgb2 )
18441843
18451844
1846- class GraphBundlingTests :
1847- def setup_method (self ):
1848- if DATASHADER_VERSION <= (0 , 7 , 0 ):
1849- pytest .skip ("Regridding operations require datashader>=0.7.0" )
1850- self .source = np .arange (8 )
1851- self .target = np .zeros (8 )
1852- self .graph = hv .Graph (((self .source , self .target ),))
1845+ def test_directly_connect_paths (bokeh_backend ):
1846+ # Import here to avoid slow collect time
1847+ from holoviews .operation ._datashader_bundling import directly_connect_edges
18531848
1854- def test_directly_connect_paths ( self ):
1855- direct = directly_connect_edges (self . graph )._split_edgepaths
1856- assert_element_equal (direct , self . graph .edgepaths )
1849+ graph = hv . Graph ((( np . arange ( 8 ), np . zeros ( 8 )),))
1850+ direct = directly_connect_edges (graph )._split_edgepaths
1851+ assert_element_equal (direct , graph .edgepaths )
18571852
18581853
18591854class InspectorTests :
You can’t perform that action at this time.
0 commit comments