Skip to content

Commit

Permalink
Small fixes to comments (redis#3280)
Browse files Browse the repository at this point in the history
Small fixed to doctests.
  • Loading branch information
andy-stark-redis authored and agnesnatasya committed Jul 20, 2024
1 parent 55c010d commit dc3b505
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion doctests/dt_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@
# REMOVE_END

# STEP_START filter2
# names of bikes made from an alloy
res9 = r.json().get("bikes:inventory", "$..[?(@.specs.material == 'alloy')].model")
print(res9) # >>> ['Weywot', 'Mimas']
# STEP_END
Expand Down
2 changes: 1 addition & 1 deletion doctests/dt_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
print(res5) # >>> 1

res6 = r.sismember("bikes:racing:usa", "bike:2")
print(res6) # >>> 1
print(res6) # >>> 0
# STEP_END

# REMOVE_START
Expand Down

0 comments on commit dc3b505

Please sign in to comment.