def test_options_context(): with rl.option_context("indexing.pairs", "multiindex"): rl.options.indexing.pairs = "multiindex" assert rl.get_option("indexing.pairs") == "multiindex"
def test_options(): # global set rl.options.indexing.pairs = "multiindex" assert rl.get_option("indexing.pairs") == "multiindex"