示例#1
0
 def test_raise_notimplmenetederror(self):
     with pytest.raises(NotImplementedError):
         dset = datasets.BaseDataset('.')
示例#2
0
 def test_empty_construct(self):
     dset = datasets.BaseDataset()
     assert len(dset) == 0