File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# This source code is licensed under the license found in the
55# LICENSE file in the root directory of this source tree.
66
7+ import os
78import shutil
89import tempfile
910from pathlib import Path
1314import pyarrow as pa
1415import pyarrow .parquet as pq
1516import pytest
16- import os
1717
1818
1919def get_random_table (size : int , seed : int = 123 ) -> pa .Table :
Original file line number Diff line number Diff line change 44# This source code is licensed under the license found in the
55# LICENSE file in the root directory of this source tree.
66
7+ import tempfile
78from unittest .mock import MagicMock , patch
89
910import pyarrow as pa
10- import pytest
11- import tempfile
1211import pyarrow .parquet as pq
12+ import pytest
1313
1414from fairseq2 .data .parquet .pipeline import SafeFragment , init_parquet_dataset
1515from fairseq2 .data .parquet .utils import get_dataset_fragments
You can’t perform that action at this time.
0 commit comments