|
|
|
@ -462,10 +462,10 @@ When looking to determine types, it may be tempting to use the ``type_debug`` fi
|
|
|
|
|
assert:
|
|
|
|
|
that:
|
|
|
|
|
# Note that a string is classed as also being "iterable" and "sequence", but not "mapping"
|
|
|
|
|
- a_string is string
|
|
|
|
|
- a_string is string and a_string is iterable and a_string is sequence and a_string is not mapping
|
|
|
|
|
|
|
|
|
|
# Note that a dictionary is classed as not being a "string", but is "iterable", "sequence" and "mapping"
|
|
|
|
|
- a_dictionary is not string and a_dictionary is mapping
|
|
|
|
|
- a_dictionary is not string and a_dictionary is iterable and a_dictionary is mapping
|
|
|
|
|
|
|
|
|
|
# Note that a list is classed as not being a "string" or "mapping" but is "iterable" and "sequence"
|
|
|
|
|
- a_list is not string and a_list is not mapping and a_list is iterable
|
|
|
|
|