From 3fa2ceb193e3cb3fe5d9ebf85fac9451460abcfa Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Tue, 20 Aug 2019 14:41:30 +0800 Subject: [PATCH] Add `self`. (#4794) --- tests/python-gpu/test_from_columnar.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/python-gpu/test_from_columnar.py b/tests/python-gpu/test_from_columnar.py index a690a28bf..f9be2194c 100644 --- a/tests/python-gpu/test_from_columnar.py +++ b/tests/python-gpu/test_from_columnar.py @@ -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