spack.test.util.unparse package

Submodules

spack.test.util.unparse.unparse module

spack.test.util.unparse.unparse.check_ast_roundtrip(code1, filename='internal', mode='exec')[source]
spack.test.util.unparse.unparse.read_pyfile(filename)[source]

Read and return the contents of a Python source file (as a string), taking into account the file encoding.

spack.test.util.unparse.unparse.test_annotations()[source]
spack.test.util.unparse.unparse.test_async_comp_and_gen_in_async_function()[source]
spack.test.util.unparse.unparse.test_async_comprehension()[source]
spack.test.util.unparse.unparse.test_async_for()[source]
spack.test.util.unparse.unparse.test_async_function_def()[source]
spack.test.util.unparse.unparse.test_async_generator_expression()[source]
spack.test.util.unparse.unparse.test_async_with()[source]
spack.test.util.unparse.unparse.test_async_with_as()[source]
spack.test.util.unparse.unparse.test_bytes()[source]
spack.test.util.unparse.unparse.test_chained_comparisons()[source]
spack.test.util.unparse.unparse.test_class_decorators()[source]
spack.test.util.unparse.unparse.test_class_definition()[source]
spack.test.util.unparse.unparse.test_complex_f_string()[source]
spack.test.util.unparse.unparse.test_core_lib_files()[source]

Roundtrip source files from the Python core libs.

spack.test.util.unparse.unparse.test_del_statement()[source]
spack.test.util.unparse.unparse.test_dict_comprehension()[source]
spack.test.util.unparse.unparse.test_dict_with_unpacking()[source]
spack.test.util.unparse.unparse.test_elifs()[source]
spack.test.util.unparse.unparse.test_for_else()[source]
spack.test.util.unparse.unparse.test_formatted_value()[source]
spack.test.util.unparse.unparse.test_fstrings()[source]
spack.test.util.unparse.unparse.test_fstrings_complicated()[source]
spack.test.util.unparse.unparse.test_function_arguments()[source]
spack.test.util.unparse.unparse.test_huge_float()[source]
spack.test.util.unparse.unparse.test_imaginary_literals()[source]
spack.test.util.unparse.unparse.test_import_many()[source]
spack.test.util.unparse.unparse.test_integer_parens()[source]
spack.test.util.unparse.unparse.test_joined_str()[source]
spack.test.util.unparse.unparse.test_joined_str_361()[source]
spack.test.util.unparse.unparse.test_lambda_parentheses()[source]
spack.test.util.unparse.unparse.test_match_literal(literal)[source]
spack.test.util.unparse.unparse.test_min_int30()[source]
spack.test.util.unparse.unparse.test_negative_zero()[source]
spack.test.util.unparse.unparse.test_nonlocal()[source]
spack.test.util.unparse.unparse.test_parser_modes()[source]
spack.test.util.unparse.unparse.test_raise_from()[source]
spack.test.util.unparse.unparse.test_relative_import()[source]
spack.test.util.unparse.unparse.test_set_comprehension()[source]
spack.test.util.unparse.unparse.test_set_literal()[source]
spack.test.util.unparse.unparse.test_shifts()[source]
spack.test.util.unparse.unparse.test_simple_fstring()[source]
spack.test.util.unparse.unparse.test_starred_assignment()[source]
spack.test.util.unparse.unparse.test_try_except_finally()[source]
spack.test.util.unparse.unparse.test_unary_parens()[source]
spack.test.util.unparse.unparse.test_variable_annotation()[source]
spack.test.util.unparse.unparse.test_while_else()[source]
spack.test.util.unparse.unparse.test_with_as()[source]
spack.test.util.unparse.unparse.test_with_simple()[source]
spack.test.util.unparse.unparse.test_with_two_items()[source]

Module contents