Minor test change.
This commit is contained in:
@ -55,8 +55,10 @@ def test_write_stream_json(tmpdir):
|
||||
|
||||
with BufferingNodeExecutionContext(LdjsonWriter(filename),
|
||||
services=services) as context:
|
||||
context.write_sync({'foo': 'bar'})
|
||||
context.write_sync({'baz': 'boz'})
|
||||
context.write_sync(
|
||||
{'foo': 'bar'},
|
||||
{'baz': 'boz'},
|
||||
)
|
||||
|
||||
expected = '''{"foo": "bar"}\n{"baz": "boz"}\n'''
|
||||
with fs.open(filename) as fin:
|
||||
|
||||
Reference in New Issue
Block a user