Skip to content

Commit 5dd07b7

Browse files
andy-stark-redisvladvildanov
authored andcommitted
Small fixes to comments (#3280)
Small fixed to doctests.
1 parent 744d85f commit 5dd07b7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doctests/dt_json.py

-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@
284284
# REMOVE_END
285285

286286
# STEP_START filter2
287-
# names of bikes made from an alloy
288287
res9 = r.json().get("bikes:inventory", "$..[?(@.specs.material == 'alloy')].model")
289288
print(res9) # >>> ['Weywot', 'Mimas']
290289
# STEP_END

doctests/dt_set.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
print(res5) # >>> 1
4545

4646
res6 = r.sismember("bikes:racing:usa", "bike:2")
47-
print(res6) # >>> 1
47+
print(res6) # >>> 0
4848
# STEP_END
4949

5050
# REMOVE_START

0 commit comments

Comments
 (0)