Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
  • Loading branch information
jameslamb and StrikerRUS authored Feb 2, 2021
1 parent 22e6046 commit 8cd6101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python_package_test/test_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _pickle(obj, filepath, serializer):
with open(filepath, 'wb') as f:
cloudpickle.dump(obj, f)
else:
raise ValueError(f'unrecognized serializer type: {serializer}')
raise ValueError(f'Unrecognized serializer type: {serializer}')


def _unpickle(filepath, serializer):
Expand All @@ -164,7 +164,7 @@ def _unpickle(filepath, serializer):
with open(filepath, 'rb') as f:
return cloudpickle.load(f)
else:
raise ValueError(f'unrecognized serializer type: {serializer}')
raise ValueError(f'Unrecognized serializer type: {serializer}')


@pytest.mark.parametrize('output', data_output)
Expand Down

0 comments on commit 8cd6101

Please sign in to comment.