Module Expr Str Import alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call NameLoad Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Copyright 2013 Paul Sidnell

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 N/A unittest typeof TypeOf Parent N/A object N/A N/A N/A Child N/A Parent N/A N/A N/A DemoClass N/A object N/A N/A string N/A TypeOf string str N/A child N/A TypeOf child Child N/A parent N/A TypeOf parent Parent N/A Test_typeof N/A N/A unittest TestCase N/A test_field_access_when_not_set N/A N/A self N/A N/A N/A demo N/A DemoClass N/A N/A N/A self assertEqual None N/A demo string N/A test_field_access_when_set N/A N/A self N/A N/A N/A demo N/A DemoClass N/A N/A demo string xxx N/A N/A N/A self assertEqual xxx N/A demo string N/A test_set_to_null N/A N/A self N/A N/A N/A demo N/A DemoClass N/A N/A demo string None N/A N/A N/A self assertEqual None N/A demo string N/A test_set_to_bad_type N/A N/A self N/A N/A N/A demo N/A DemoClass N/A N/A N/A N/A demo string 42 N/A N/A N/A self fail expected error N/A N/A N/A AssertionError N/A e N/A N/A N/A N/A self assertEqual string: expected type <type 'str'> got <type 'int'> N/A e message N/A test_type_hierarchy_ok N/A N/A self N/A N/A N/A demo N/A DemoClass N/A N/A demo child N/A Child N/A N/A demo parent N/A Parent N/A N/A demo parent N/A Child N/A test_type_hierarchy_bad N/A N/A self N/A N/A N/A demo N/A DemoClass N/A N/A N/A N/A demo child N/A Parent N/A N/A N/A self fail expected error N/A N/A N/A AssertionError N/A e N/A N/A N/A N/A self assertEqual child: expected type <class 'types_test.Child'> got <class 'types_test.Parent'> N/A e message N/A N/A