mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[RLlib] Test output length in DatasetReader with default IOContext. (#26852)
This commit is contained in:
parent
2cfd6c2e97
commit
69f6b843da
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ class TestDatasetReader(unittest.TestCase):
|
||||||
{"input": "dataset", "input_config": input_config}
|
{"input": "dataset", "input_config": input_config}
|
||||||
)
|
)
|
||||||
reader = DatasetReader(dataset)
|
reader = DatasetReader(dataset)
|
||||||
reader.next()
|
# Reads in one line of Pendulum dataset with 600 timesteps
|
||||||
|
assert len(reader.next()) == 600
|
||||||
|
|
||||||
|
|
||||||
class TestUnzipIfNeeded(unittest.TestCase):
|
class TestUnzipIfNeeded(unittest.TestCase):
|
||||||
|
|
Loading…
Add table
Reference in a new issue