This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/ext/librethinkdbxx/test/upstream/regression/619.yaml
2017-11-02 07:05:11 -07:00

16 lines
397 B
YAML

desc: Regression test for issue #619 "Python driver doesn't support inserting objects w/ 'self' as a key"
tests:
- py: r.expr({"self":"foo"})
ot: ({'self':'foo'})
- py: r.expr(1).do(lambda x:{'self':x})
ot: ({'self':1})
- py: r.expr({"a":{"self":1}})
ot: ({"a":{"self":1}})
- py: r.expr({"self":{"self":{"self":1}}})
ot: ({"self":{"self":{"self":1}}})