openpyxl.formula.tests.test_tokenizer module

class openpyxl.formula.tests.test_tokenizer.TestToken[source]

Bases: object

test_get_closer(tokenizer, token, close_val)[source]
test_init(tokenizer)[source]
test_make_operand(tokenizer, value, subtype)[source]
test_make_separator(tokenizer)[source]
test_make_subexp(tokenizer, value, type_, subtype)[source]
test_make_subexp_func(tokenizer)[source]
test_parse_quoted_sheet_name_in_range(tokenizer, formula, tokens)[source]
class openpyxl.formula.tests.test_tokenizer.TestTokenizer[source]

Bases: object

test_assert_empty_token(tokenizer, token, can_follow, raises)[source]
test_check_scientific_notation(tokenizer, formula, offset, token, ret)[source]
test_init(tokenizer)[source]
test_parse(tokenizer, formula, tokens)[source]
test_parse_brackets(tokenizer, formula, offset, result)[source]
test_parse_brackets_error(tokenizer, formula, offset)[source]
test_parse_closer(tokenizer, formula, offset, opener)[source]
test_parse_closer_error(tokenizer, formula, offset, opener)[source]
test_parse_defined_name_reference_error(tokenizer)[source]
test_parse_error(tokenizer, error)[source]
test_parse_error_error(tokenizer)[source]
test_parse_nested_brackets(tokenizer, formula, offset, result)[source]
test_parse_opener(tokenizer, prefix, char, type_)[source]
test_parse_opener_error(tokenizer)[source]
test_parse_operator(tokenizer, formula, result, type_)[source]
test_parse_separator(tokenizer, formula, offset, opener, type_, subtype)[source]
test_parse_string(tokenizer, formula, offset, result)[source]
test_parse_whitespace(tokenizer, formula, value)[source]
test_render(tokenizer, formula)[source]
test_save_token(tokenizer)[source]
class openpyxl.formula.tests.test_tokenizer.TestTokenizerRegexes[source]

Bases: object

test_scientific_re(tokenizer, string, success)[source]
test_string_re(tokenizer, string, expected)[source]
test_whitespace_re(tokenizer, string, expected)[source]
openpyxl.formula.tests.test_tokenizer.tokenizer()[source]