Exemplo n.º 1
0
	def test_dict(self):
		print('dict:')
		print_r({
			'number': 1,
			'object': {
				'string': "text",
				'list' : [1, 2, instance]
			},
			'instance' : instance
		})
Exemplo n.º 2
0
 def test_dict(self):
     print('dict:')
     print_r({
         'number': 1,
         'object': {
             'string': "text",
             'list': [1, 2, instance]
         },
         'instance': instance
     })
Exemplo n.º 3
0
	def test_list(self):
		print('list:')
		print_r([1,2,3, {'foo': 1, 'bar': 2}, instance])
Exemplo n.º 4
0
	def test_instance(self):
		print('class instance:')
		print_r(instance)
Exemplo n.º 5
0
 def test_list(self):
     print('list:')
     print_r([1, 2, 3, {'foo': 1, 'bar': 2}, instance])
Exemplo n.º 6
0
 def test_instance(self):
     print('class instance:')
     print_r(instance)