Module ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad Str attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad Str attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad Str attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement abc abstractproperty textwrap dedent pants.build_graph.address_lookup_error AddressLookupError pants.util.meta AbstractClass pants_test.base_test BaseTest pants.contrib.go.register build_file_aliases GoLocalSourceTestBase N/A AbstractClass N/A setUpClass N/A N/A cls N/A N/A N/A N/A N/A issubclass cls BaseTest N/A N/A N/A TypeError Subclasses must mix in BaseTest N/A N/A N/A N/A super GoLocalSourceTestBase cls setUpClass N/A classmethod setUp N/A N/A self N/A N/A N/A N/A N/A N/A super GoLocalSourceTestBase self setUp N/A N/A N/A self context N/A target_type N/A N/A self N/A N/A N/A Subclasses should return a GoLocalSource target subclass. N/A abstractproperty alias_groups N/A N/A self N/A N/A N/A N/A build_file_aliases N/A property test_default_name_and_sources N/A N/A self N/A N/A N/A N/A N/A self create_file src/go/src/foo/jake.go N/A N/A N/A self create_file src/go/src/foo/sub/jane.go N/A N/A N/A self add_to_build_file src/go/src/foo N/A dedent N/A N/A 
        {target_alias}()
       format target_alias N/A N/A N/A self target_type alias N/A go_local_source_target N/A N/A self target src/go/src/foo N/A N/A N/A self assertIsNotNone go_local_source_target N/A N/A N/A self assertEqual src/foo N/A go_local_source_target import_path N/A N/A N/A self assertEqual N/A src/foo/jake.go N/A list N/A N/A go_local_source_target sources_relative_to_source_root N/A test_cannot_name N/A N/A self N/A N/A N/A N/A N/A self add_to_build_file src/go/src/foo N/A dedent N/A N/A 
        {target_alias}(name='bob')
       format target_alias N/A N/A N/A self target_type alias N/A N/A N/A self assertRaises AddressLookupError N/A N/A N/A N/A self target src/go/src/foo N/A test_cannot_sources N/A N/A self N/A N/A N/A N/A N/A self create_file src/go/src/foo/sub/jane.go N/A N/A N/A self add_to_build_file src/go/src/foo N/A dedent N/A N/A 
        {target_alias}(sources=['sub/jane.go'])
       format target_alias N/A N/A N/A self target_type alias N/A N/A N/A self assertRaises AddressLookupError N/A N/A N/A N/A self target src/go/src/foo N/A test_globs_cgo N/A N/A self N/A N/A N/A N/A N/A self create_file src/go/src/foo/BUILD N/A N/A N/A self create_file src/go/src/foo/subpackage/jane.go N/A N/A N/A self create_file src/go/src/foo/subpackage/jane.c N/A N/A N/A self create_file src/go/src/foo/jake.go N/A N/A N/A self create_file src/go/src/foo/jake.c N/A N/A N/A self create_file src/go/src/foo/jake.s N/A N/A N/A self create_file src/go/src/foo/jake.cc N/A N/A N/A self create_file src/go/src/foo/jake.cpp N/A N/A N/A self create_file src/go/src/foo/jake.cxx N/A N/A N/A self create_file src/go/src/foo/jake.h N/A N/A N/A self create_file src/go/src/foo/jake.hh N/A N/A N/A self create_file src/go/src/foo/jake.hpp N/A N/A N/A self create_file src/go/src/foo/jake.hxx N/A target N/A N/A self make_target spec src/go/src/foo target_type N/A self target_type N/A N/A N/A self assertEqual N/A sorted N/A src/foo/jake.go src/foo/jake.c src/foo/jake.s src/foo/jake.cc src/foo/jake.cpp src/foo/jake.cxx src/foo/jake.h src/foo/jake.hh src/foo/jake.hpp src/foo/jake.hxx N/A sorted N/A N/A target sources_relative_to_source_root N/A test_globs_resources N/A N/A self N/A N/A N/A N/A N/A self create_file src/go/src/foo/BUILD N/A N/A N/A self create_file src/go/src/foo/subpackage/jane.go N/A N/A N/A self create_file src/go/src/foo/subpackage/jane.png N/A N/A N/A self create_file src/go/src/foo/jake.go N/A N/A N/A self create_file src/go/src/foo/jake.png N/A target N/A N/A self make_target spec src/go/src/foo target_type N/A self target_type N/A N/A N/A self assertEqual N/A sorted N/A src/foo/jake.go src/foo/jake.png N/A sorted N/A N/A target sources_relative_to_source_root N/A N/A