mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-18 17:27:43 +01:00
[to #42670107] restore pydataset test
* pydataset unitest
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9132896
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user