class documentation

Test pytype.pytd.pytd_utils.

Method test_astdiff Undocumented
Method test_asteq Undocumented
Method test_builtin_alias Undocumented
Method test_concat Test for concatenating two pytd ASTs.
Method test_concat3 Test for concatenating three pytd ASTs.
Method test_concat_type_parameters Test for concatenating ASTs with type parameters.
Method test_diff_pickle_ast Undocumented
Method test_diff_pickle_length Undocumented
Method test_diff_pickle_name Undocumented
Method test_diff_same_pickle Undocumented
Method test_dummy_method Undocumented
Method test_join_anything_types Test that JoinTypes() simplifies unions containing 'Any'.
Method test_join_empty_types_to_nothing Test that JoinTypes() simplifies empty unions to 'nothing'.
Method test_join_nothing_type Test that JoinTypes() removes or collapses 'nothing'.
Method test_join_optional_anything_types Test that JoinTypes() simplifies unions containing 'Any' and 'None'.
Method test_join_single_type Test that JoinTypes() returns single types as-is.
Method test_join_types Test that JoinTypes() does recursive flattening.
Method test_named_type_with_module Test NamedTypeWithModule().
Method test_ordered_set Undocumented
Method test_type_builder Undocumented
Method test_type_matcher Test for the TypeMatcher class.
Method test_typing_name_conflict1 Undocumented
Method test_typing_name_conflict2 Undocumented
Method test_unpack_union Test for UnpackUnion.
Method test_wrap_type_decl_unit Test WrapTypeDeclUnit.

Inherited from ParserTest:

Class Method setUpClass Undocumented
Method ApplyVisitorToString Undocumented
Method AssertSourceEquals Undocumented
Method Parse Undocumented
Method ParseWithBuiltins Undocumented
Method setUp Undocumented
Method ToAST Undocumented
Class Variable loader Undocumented
Instance Variable maxDiff Undocumented
Instance Variable options Undocumented
def test_astdiff(self): (source)

Undocumented

def test_asteq(self): (source)

Undocumented

def test_builtin_alias(self): (source)

Undocumented

def test_concat(self): (source)

Test for concatenating two pytd ASTs.

def test_concat3(self): (source)

Test for concatenating three pytd ASTs.

def test_concat_type_parameters(self): (source)

Test for concatenating ASTs with type parameters.

def test_diff_pickle_ast(self): (source)

Undocumented

def test_diff_pickle_length(self): (source)

Undocumented

def test_diff_pickle_name(self): (source)

Undocumented

def test_diff_same_pickle(self): (source)

Undocumented

def test_dummy_method(self): (source)

Undocumented

def test_join_anything_types(self): (source)

Test that JoinTypes() simplifies unions containing 'Any'.

def test_join_empty_types_to_nothing(self): (source)

Test that JoinTypes() simplifies empty unions to 'nothing'.

def test_join_nothing_type(self): (source)

Test that JoinTypes() removes or collapses 'nothing'.

def test_join_optional_anything_types(self): (source)

Test that JoinTypes() simplifies unions containing 'Any' and 'None'.

def test_join_single_type(self): (source)

Test that JoinTypes() returns single types as-is.

def test_join_types(self): (source)

Test that JoinTypes() does recursive flattening.

def test_named_type_with_module(self): (source)

Test NamedTypeWithModule().

def test_ordered_set(self): (source)

Undocumented

def test_type_builder(self): (source)

Undocumented

def test_type_matcher(self): (source)

Test for the TypeMatcher class.

def test_typing_name_conflict1(self): (source)

Undocumented

def test_typing_name_conflict2(self): (source)

Undocumented

def test_unpack_union(self): (source)

Test for UnpackUnion.

def test_wrap_type_decl_unit(self): (source)

Test WrapTypeDeclUnit.