Skip to content

Commit

Permalink
Add cuDF tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 8, 2019
1 parent 90c2569 commit 369650d
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions holoviews/tests/core/data/testcudfinterface.py
Original file line number Diff line number Diff line change
@@ -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")


0 comments on commit 369650d

Please sign in to comment.