Skip to content

Commit

Permalink
remove prints from test_map (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkho authored Oct 25, 2024
1 parent a087018 commit dcaa6ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/nodes/test_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _test_exception_handling_mapper(self, pin_memory, method):
node = Prefetcher(node, prefetch_factor=2)

with self.assertRaisesRegex(ValueError, "test exception"):
print(list(node))
list(node)

def test_exception_handling_mapper(self):
self._test_exception_handling_mapper(False, "thread")
Expand Down Expand Up @@ -71,7 +71,6 @@ def _test_map(self, in_order, method) -> None:
results: List[List[dict]] = [[], []]
for epoch in range(2):
for batch in node:
print(f"{epoch=}, {batch=}")
results[epoch].extend(batch)

for result in results:
Expand Down

0 comments on commit dcaa6ea

Please sign in to comment.