Skip to content

Commit ebc8259

Browse files
author
Paul Miller
committed
more black formatting
1 parent 7a95cd7 commit ebc8259

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

jstat/data.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,15 @@ def __sub__(self, other):
184184
ret[k] = self[k] - other
185185
return ret
186186

187+
187188
def _default_header_format(names=None):
188189
return names.disp
189190

191+
190192
def _default_sample_format(sample=None):
191193
return sample.v
192194

195+
193196
class DataTable:
194197
_time = Names(__package__, "time", "dt")
195198

t/test_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_dataset(twenty_item_data_set, twenty_tabled_values, five_names):
1313
headers, rows = twenty_item_data_set
1414

1515
assert len(rows) == len(twenty_tabled_values)
16-
assert headers[1:] == [ x.disp for x in five_names ]
16+
assert headers[1:] == [x.disp for x in five_names]
1717

1818
for ds_row, tv_row in zip(rows, twenty_tabled_values):
1919
assert tuple(ds_row[1:]) == tv_row

0 commit comments

Comments
 (0)