Skip to content
Prev Previous commit
Next Next commit
reformat (black)
  • Loading branch information
sblondon committed Dec 9, 2022
commit 947b82ae542f900af28bfac87d64540722d6e1e0
4 changes: 1 addition & 3 deletions msgpack/fallback.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,9 +831,7 @@ def _pack(
self._pack(obj[i], nest_limit - 1)
return
if check(obj, dict):
return self._pack_map_pairs(
len(obj), obj.items(), nest_limit - 1
)
return self._pack_map_pairs(len(obj), obj.items(), nest_limit - 1)

if self._datetime and check(obj, _DateTime) and obj.tzinfo is not None:
obj = Timestamp.from_datetime(obj)
Expand Down
1 change: 0 additions & 1 deletion test/test_memoryview.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import sys



def make_array(f, data):
a = array(f)
a.frombytes(data)
Expand Down