Skip to content

Commit 7c6d06e

Browse files
Black formatting
Signed-off-by: Bartosz Grabowski <[email protected]>
1 parent e464239 commit 7c6d06e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/data/test_csv_dataset.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,7 @@ def prepare_csv_file(data, filepath):
184184
df_subset = df.iloc[[1, 3, 4]]
185185
dataset = CSVDataset(src=df_subset, col_groups={"ehr": [f"ehr_{i}" for i in range(3)]})
186186
self.assertEqual(len(dataset), 3)
187-
np.testing.assert_allclose(
188-
[round(i, 4) for i in dataset[1]["ehr"]],
189-
[3.3333, 3.2353, 3.4000],
190-
)
187+
np.testing.assert_allclose([round(i, 4) for i in dataset[1]["ehr"]], [3.3333, 3.2353, 3.4000])
191188

192189
# test pre-loaded multiple DataFrames, join tables with kwargs
193190
dfs = [pd.read_csv(i) for i in filepaths]

0 commit comments

Comments
 (0)