def pickling(options):
empty = check_pickle_roundtrip(None, options)<EOL>assert_equals(empty, {})<EOL>mapping = check_pickle_roundtrip({'<STR_LIT:foo>': '<STR_LIT:bar>'}, options)<EOL>assert_equals(mapping, {'<STR_LIT:foo>': '<STR_LIT:bar>'})<EOL>raw = {'<STR_LIT:list>': [{'<STR_LIT:a>': '<STR_LIT:b>'}], '<STR_LIT>': ({'<STR_LIT:a>': '<STR_LIT:b>'},)}<EOL>as_tuple = check_pickle_roundtrip(raw, options)<EOL>assert_true(isinstance(as_tuple['<STR_LIT:list>'], list))<EOL>assert_true(isinstance(as_tuple['<STR_LIT>'], tuple))<EOL>assert_true(isinstance(as_tuple.list, tuple))<EOL>assert_true(isinstance(as_tuple.tuple, tuple))<EOL>as_list = check_pickle_roundtrip(raw, options, sequence_type=list)<EOL>assert_true(isinstance(as_list['<STR_LIT:list>'], list))<EOL>assert_true(isinstance(as_list['<STR_LIT>'], tuple))<EOL>assert_true(isinstance(as_list.list, list))<EOL>assert_true(isinstance(as_list.tuple, list))<EOL>as_raw = check_pickle_roundtrip(raw, options, sequence_type=None)<EOL>assert_true(isinstance(as_raw['<STR_LIT:list>'], list))<EOL>assert_true(isinstance(as_raw['<STR_LIT>'], tuple))<EOL>assert_true(isinstance(as_raw.list, list))<EOL>assert_true(isinstance(as_raw.tuple, tuple))<EOL>
Pickle {cls}