From 369650db2464fbe03e3e14b5b7be051de98800ae Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Sun, 8 Dec 2019 19:43:45 +0100 Subject: [PATCH] Add cuDF tests --- .../tests/core/data/testcudfinterface.py | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 holoviews/tests/core/data/testcudfinterface.py diff --git a/holoviews/tests/core/data/testcudfinterface.py b/holoviews/tests/core/data/testcudfinterface.py new file mode 100644 index 0000000000..6e6ff4008f --- /dev/null +++ b/holoviews/tests/core/data/testcudfinterface.py @@ -0,0 +1,44 @@ +from unittest import SkipTest + +try: + import cudf +except: + raise SkipTest("Could not import cuDF, skipping cuDFInterface tests.") + +from .base import HeterogeneousColumnTests, InterfaceTests + +import logging + + + +class cuDFInterfaceTests(HeterogeneousColumnTests, InterfaceTests): + """ + Tests for the cuDFInterface. + """ + + datatype = 'cuDF' + data_type = cudf.DataFrame + + def setUp(self): + super(cuDFInterfaceTests, self).setUp() + logging.getLogger('numba.cuda.cudadrv.driver').setLevel(30) + + def test_dataset_sort_hm(self): + raise SkipTest("Not supported") + + def test_dataset_sort_reverse_hm(self): + raise SkipTest("Not supported") + + def test_dataset_sort_vdim_ht(self): + raise SkipTest("Not supported") + + def test_dataset_sort_vdim_hm(self): + raise SkipTest("Not supported") + + def test_dataset_sort_vdim_hm_alias(self): + raise SkipTest("Not supported") + + def test_dataset_sort_string_ht(self): + raise SkipTest("Not supported") + +