diff --git a/tests/python/test_ranking.py b/tests/python/test_ranking.py index da2411983..239271ec7 100644 --- a/tests/python/test_ranking.py +++ b/tests/python/test_ranking.py @@ -1,8 +1,6 @@ import itertools import os import shutil -import urllib.request -import zipfile import numpy as np from scipy.sparse import csr_matrix diff --git a/tests/python/test_with_pandas.py b/tests/python/test_with_pandas.py index eac78deba..ff2c2e6eb 100644 --- a/tests/python/test_with_pandas.py +++ b/tests/python/test_with_pandas.py @@ -1,6 +1,3 @@ -import os -import tempfile - import numpy as np import pytest from test_dmatrix import set_base_margin_info