Skip to content

Commit

Permalink
Release v1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
henu committed Jun 13, 2022
1 parent 7dde8ea commit b562d7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.0.9

- Fix UTF-8 loading problem. (thanks James C. McPherson!)

v1.0.8

- Fix problem with double backslashes.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='bigjson',
version='1.0.8',
version='1.0.9',
packages=['bigjson'],
description='Python library that reads JSON files of any size.',
author='Henrik Heino',
Expand Down
4 changes: 1 addition & 3 deletions tests/test_crlf_line_terminators.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ def _load_data(self, mode):
else:
file_in = open(DATA_JSON_PATH, mode)

json_obj = bigjson.load(file_in, encoding='utf-8')
file_in.close()
return json_obj
return bigjson.load(file_in, encoding='utf-8')


class TestCrlfLineTerminators(TestCase):
Expand Down

0 comments on commit b562d7b

Please sign in to comment.