Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lezwon committed Mar 22, 2022
1 parent ac4e4c8 commit 83db89d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def _serialization_test_for_dp_with_children(self, dp1, dp2):
def test_serializable(self):
picklable_datapipes: List = [
(iterdp.BucketBatcher, IterableWrapper([0, 0, 0, 0, 0, 0, 0]), (5,), {}),
(iterdp.Bz2FileLoader, None, (), {}),
(
iterdp.CSVDictParser,
IterableWrapper(
Expand Down Expand Up @@ -256,6 +257,7 @@ def test_serializable(self):
# Most of them return streams not comparable by `self.assertEqual`
# Others are similar to caching where the outputs depend on other DataPipes
dp_skip_comparison = {
iterdp.Bz2FileLoader,
iterdp.Decompressor,
iterdp.FileOpener,
iterdp.FSSpecFileOpener,
Expand Down

0 comments on commit 83db89d

Please sign in to comment.