We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb8fa6 commit 79c3fd4Copy full SHA for 79c3fd4
tests/test_hf_datasets.py
@@ -2,7 +2,6 @@
2
3
import datasets
4
import pandas as pd
5
-import warnings
6
7
class TestHuggingFaceDatasets(unittest.TestCase):
8
@@ -17,7 +16,6 @@ def some_func(batch):
17
16
self.assertEqual('foo', mapped_df[0]['label'])
18
19
def test_load_dataset(self):
20
- warnings.simplefilter(action='ignore', category=FutureWarning)
21
dataset = datasets.load_dataset("csv", data_files="/input/tests/data/train.csv")
22
full_data = pd.DataFrame(dataset['train'])
23
self.assertFalse(full_data.empty)
0 commit comments