Skip to content

Commit

Permalink
blacken using black 23.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wbolster committed Feb 17, 2023
1 parent 2cd1679 commit cba07d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_jsonlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def test_typed_reads() -> None:
reader.read(type=int)
exc = excinfo.value
assert "does not match requested type" in str(exc)
assert exc.line == 'true'
assert exc.line == "true"

with pytest.raises(jsonlines.InvalidLineError) as excinfo:
reader.read(type=float)
Expand Down
1 change: 0 additions & 1 deletion tests/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def reveal_type(obj: Any) -> None:


def something_with_reader() -> None:

reader: jsonlines.Reader
reader = jsonlines.Reader(io.StringIO())
reader = jsonlines.Reader(io.BytesIO())
Expand Down

0 comments on commit cba07d3

Please sign in to comment.