Skip to content

Commit

Permalink
Only run Graph bundling tests with future datashader release
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 4, 2017
1 parent 2e5b1de commit 2864fe0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testdatashader.py
Expand Up @@ -177,10 +177,13 @@ def test_stack_saturate_compositor_reverse(self):
combined = stack(self.rgb2*self.rgb1, compositor='saturate')
self.assertEqual(combined, self.rgb2)


@attr(optional=1)
class GraphBundlingTests(ComparisonTestCase):

def setUp(self):
if ds_version is None or ds_version <= '0.7.0':
raise SkipTest('Regridding operations require datashader>=0.7.0')
self.source = np.arange(8)
self.target = np.zeros(8)
self.graph = Graph(((self.source, self.target),))
Expand Down

0 comments on commit 2864fe0

Please sign in to comment.