File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,27 +8,27 @@ class TestAcceptsClass(object):
88
99 @accepts.boolean
1010 def _boolean (self ,_boolean_ ):
11- print (' boolean => ' , _boolean_)
11+ print (' boolean => ' + str ( _boolean_) )
1212
1313 @accepts.integer
1414 def _integer (self ,_integer_ ):
15- print (' integer => ' , _integer_)
15+ print (' integer => ' + str ( _integer_) )
1616
1717 @accepts.string
1818 def _string (self ,_string_ ):
19- print (' string => ' , _string_)
19+ print (' string => ' + str ( _string_) )
2020
2121 @accepts.dictionary
2222 def _dictionary (self ,_dictionary_ ):
23- print (' dictionary => ' , _dictionary_)
23+ print (' dictionary => ' + str ( _dictionary_) )
2424
2525 @accepts.list
2626 def _list (self ,_list_ ):
27- print (' list => ' , _list_)
27+ print (' list => ' + str ( _list_) )
2828
2929 @accepts.tuple
3030 def _tuple (self ,_tuple_ ):
31- print (' tuple => ' , _tuple_)
31+ print (' tuple => ' + str ( _tuple_) )
3232
3333if __name__ == ' __main__' :
3434
You can’t perform that action at this time.
0 commit comments