This commit is contained in:
Jiaming Yuan 2019-08-20 14:41:30 +08:00 committed by GitHub
parent 9700776597
commit 3fa2ceb193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,15 +5,13 @@ import pytest
sys.path.append("tests/python")
import testing as tm
pytestmark = pytest.mark.skipif(**tm.no_cudf())
class TestFromColumnar:
'''Tests for constructing DMatrix from data structure conforming Apache
Arrow specification.'''
@pytest.mark.skipif(**tm.no_cudf())
def test_from_cudf():
def test_from_cudf(self):
'''Test constructing DMatrix from cudf'''
import cudf
import pandas as pd