Skip to content

Commit

Permalink
MOTOR-1014 Auto format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey committed Aug 17, 2022
1 parent 4c704fb commit 52fc426
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/asyncio_tests/test_asyncio_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,9 @@ async def test_context_manager(self):
with self.assertWarns(DeprecationWarning):
await cursor.fetch_next
record = cursor.next_object()
self.assertEqual({"_id": 0}, bson.decode_all(record)[0] if type(record) is bytes else record)
self.assertEqual(
{"_id": 0}, bson.decode_all(record)[0] if type(record) is bytes else record
)
self.assertTrue(cursor.started)
self.assertFalse(cursor.closed)
self.assertFalse(contrast_cursor.closed)
Expand Down

0 comments on commit 52fc426

Please sign in to comment.