Skip to content

Commit

Permalink
Fix flake8 for #169, #170
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Nov 2, 2020
1 parent ab7dde0 commit f016c60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/columns/test_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,3 @@ def test_simple_agg_function_nullable(self):
('hello',), ('world',)
]
)

3 changes: 3 additions & 0 deletions tests/test_errors.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import pickle

import clickhouse_driver.errors as err


def picklable(o):
picked = pickle.loads(pickle.dumps(o))
assert repr(o) == repr(picked)
assert str(o) == str(picked)


def test_exception_picklable():
picklable(err.Error('foo'))
picklable(err.Error(message='foo'))
Expand Down

0 comments on commit f016c60

Please sign in to comment.