File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ def test_classes_are_objects_too(self):
2323
2424 def test_objects_have_methods (self ):
2525 fido = self .Dog ()
26- self .assertEqual (25 , len (dir (fido )))
26+ self .assertEqual (26 , len (dir (fido )))
2727
2828 def test_classes_have_methods (self ):
29- self .assertEqual (25 , len (dir (self .Dog )))
29+ self .assertEqual (26 , len (dir (self .Dog )))
3030
3131 def test_creating_objects_without_defining_a_class (self ):
3232 singularity = object ()
33- self .assertEqual (22 , len (dir (singularity )))
33+ self .assertEqual (23 , len (dir (singularity )))
3434
3535 def test_defining_attributes_on_individual_objects (self ):
3636 fido = self .Dog ()
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ def test_methods_are_also_bound_to_a_function(self):
2525
2626 def test_functions_have_attributes (self ):
2727 obj = Class ()
28- self .assertEqual (34 , len (dir (function )))
28+ self .assertEqual (35 , len (dir (function )))
2929 self .assertEqual (True , dir (function ) == dir (obj .method .__func__ ))
3030
3131 def test_methods_have_different_attributes (self ):
3232 obj = Class ()
33- self .assertEqual (26 , len (dir (obj .method )))
33+ self .assertEqual (27 , len (dir (obj .method )))
3434
3535 def test_setting_attributes_on_an_unbound_function (self ):
3636 function .cherries = 3
You can’t perform that action at this time.
0 commit comments