Skip to content

Commit

Permalink
Fix wrong SHA in CI tests of HubDatasetModuleFactoryWithParquetExport (
Browse files Browse the repository at this point in the history
…#7125)

* Fix wrong SHA in test_HubDatasetModuleFactoryWithParquetExport

* Fix wrong SHA in test_HubDatasetModuleFactoryWithParquetExport_errors_on_wrong_sha
  • Loading branch information
albertvillanova authored Aug 26, 2024
1 parent 88f646c commit 880a52c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,10 +790,10 @@ def test_HubDatasetModuleFactoryWithParquetExport(self):
)
assert module_factory_result.builder_configs_parameters.builder_configs[0].data_files == {
"train": [
"hf://datasets/hf-internal-testing/dataset_with_script@0c97cd1168f31e683059ddcf0703e3f45d9007c4/default/train/0000.parquet"
"hf://datasets/hf-internal-testing/dataset_with_script@3d8a0e457ddb581301fb13f60d38906c9cdcaf1c/default/train/0000.parquet"
],
"validation": [
"hf://datasets/hf-internal-testing/dataset_with_script@0c97cd1168f31e683059ddcf0703e3f45d9007c4/default/validation/0000.parquet"
"hf://datasets/hf-internal-testing/dataset_with_script@3d8a0e457ddb581301fb13f60d38906c9cdcaf1c/default/validation/0000.parquet"
],
}

Expand All @@ -802,7 +802,7 @@ def test_HubDatasetModuleFactoryWithParquetExport_errors_on_wrong_sha(self):
factory = HubDatasetModuleFactoryWithParquetExport(
SAMPLE_DATASET_IDENTIFIER,
download_config=self.download_config,
revision="1a21ac5846fc3f36ad5f128740c58932d3d7806f",
revision="0e1cee81e718feadf49560b287c4eb669c2efb1a",
)
factory.get_module()
factory = HubDatasetModuleFactoryWithParquetExport(
Expand Down

0 comments on commit 880a52c

Please sign in to comment.