[to #42670107] restore pydataset test

* pydataset unitest
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9132896
This commit is contained in:
feiwu.yfw
2022-06-22 22:01:25 +08:00
committed by yingda.chen
parent 8400ca1fc7
commit b8ba35bd27
3 changed files with 2 additions and 4 deletions

View File

@@ -33,8 +33,6 @@ class ImgPreprocessor(Preprocessor):
class PyDatasetTest(unittest.TestCase):
@unittest.skipUnless(test_level() >= 2,
'skip test due to dataset api problem')
def test_ds_basic(self):
ms_ds_full = PyDataset.load('squad')
ms_ds_full_hf = hfdata.load_dataset('squad')