Ticket #269: jython-r4758.log

File jython-r4758.log, 187.5 KB (added by thijs, 5 months ago)
Line 
1running test
2running egg_info
3writing PyAMF.egg-info/PKG-INFO
4writing top-level names to PyAMF.egg-info/top_level.txt
5writing dependency_links to PyAMF.egg-info/dependency_links.txt
6writing requirements to PyAMF.egg-info/requires.txt
7writing manifest file 'PyAMF.egg-info/SOURCES.txt'
8running build_ext
9test_types (test_amf0.TypesTestCase) ... ok
10test_add (test_amf0.ContextTestCase) ... ok
11test_clear (test_amf0.ContextTestCase) ... ok
12test_copy (test_amf0.ContextTestCase) ... ok
13test_create (test_amf0.ContextTestCase) ... ok
14test_get_by_reference (test_amf0.ContextTestCase) ... ok
15test_get_reference (test_amf0.ContextTestCase) ... ok
16test_amf3 (test_amf0.EncoderTestCase) ... ok
17test_anonymous (test_amf0.EncoderTestCase) ... ok
18test_boolean (test_amf0.EncoderTestCase) ... ok
19test_bytestring (test_amf0.EncoderTestCase) ... FAIL
20test_complex_list (test_amf0.EncoderTestCase) ... ok
21test_custom_type (test_amf0.EncoderTestCase) ... ok
22test_date (test_amf0.EncoderTestCase) ... ok
23test_dict (test_amf0.EncoderTestCase) ... ok
24test_dynamic (test_amf0.EncoderTestCase) ... FAIL
25test_elementtree_tag (test_amf0.EncoderTestCase) ... FAIL
26test_force_amf3 (test_amf0.EncoderTestCase) ... ok
27test_getstate (test_amf0.EncoderTestCase) ... ok
28test_list (test_amf0.EncoderTestCase) ... ok
29test_longstring (test_amf0.EncoderTestCase) ... ok
30test_mixed_array (test_amf0.EncoderTestCase) ... FAIL
31test_null (test_amf0.EncoderTestCase) ... ok
32test_number (test_amf0.EncoderTestCase) ... ok
33test_object (test_amf0.EncoderTestCase) ... ok
34test_old_style_classes (test_amf0.EncoderTestCase) ... ok
35test_string (test_amf0.EncoderTestCase) ... FAIL
36test_typed_object (test_amf0.EncoderTestCase) ... ok
37test_undefined (test_amf0.EncoderTestCase) ... ok
38test_unsupported (test_amf0.EncoderTestCase) ... ok
39test_xml (test_amf0.EncoderTestCase) ... ERROR
40test_xml_references (test_amf0.EncoderTestCase) ... ERROR
41test_amf3 (test_amf0.DecoderTestCase) ... ERROR
42test_boolean (test_amf0.DecoderTestCase) ... ERROR
43test_classic_class (test_amf0.DecoderTestCase) ... ERROR
44test_complex_list (test_amf0.DecoderTestCase) ... ERROR
45test_date (test_amf0.DecoderTestCase) ... ERROR
46test_dict (test_amf0.DecoderTestCase) ... ERROR
47test_dynamic (test_amf0.DecoderTestCase) ... ERROR
48test_infinites (test_amf0.DecoderTestCase) ... ERROR
49test_list (test_amf0.DecoderTestCase) ... ERROR
50test_longstring (test_amf0.DecoderTestCase) ... ERROR
51test_mixed_array (test_amf0.DecoderTestCase) ... ERROR
52test_null (test_amf0.DecoderTestCase) ... ERROR
53test_number (test_amf0.DecoderTestCase) ... ERROR
54test_number_types (test_amf0.DecoderTestCase) ... ERROR
55test_object (test_amf0.DecoderTestCase) ... ERROR
56test_registered_class (test_amf0.DecoderTestCase) ... ERROR
57test_setstate_classic (test_amf0.DecoderTestCase) ... ERROR
58test_setstate_newstyle (test_amf0.DecoderTestCase) ... ERROR
59test_string (test_amf0.DecoderTestCase) ... ERROR
60test_types (test_amf0.DecoderTestCase) ... ERROR
61test_undefined (test_amf0.DecoderTestCase) ... ERROR
62test_xml (test_amf0.DecoderTestCase) ... ERROR
63test_xml_references (test_amf0.DecoderTestCase) ... ERROR
64test_create (test_amf0.RecordSetTestCase) ... ok
65test_decode (test_amf0.RecordSetTestCase) ... ERROR
66test_encode (test_amf0.RecordSetTestCase) ... ok
67test_server_info (test_amf0.RecordSetTestCase) ... ok
68test_decode (test_amf0.HelperTestCase) ... ERROR
69test_decode_with_context (test_amf0.HelperTestCase) ... ERROR
70test_encode (test_amf0.HelperTestCase) ... ok
71test_encode_with_context (test_amf0.HelperTestCase) ... ok
72test_deep (test_amf0.ClassInheritanceTestCase) ... FAIL
73test_simple (test_amf0.ClassInheritanceTestCase) ... ok
74test_types (test_amf3.TypesTestCase) ... ok
75test_create (test_amf3.ClassDefinitionTestCase) ... ok
76test_get_alias (test_amf3.ClassDefinitionTestCase) ... ok
77test_get_class (test_amf3.ClassDefinitionTestCase) ... ok
78test_name (test_amf3.ClassDefinitionTestCase) ... ok
79test_add_class (test_amf3.ContextTestCase) ... ok
80test_add_legacy_xml (test_amf3.ContextTestCase) ... ok
81test_add_object (test_amf3.ContextTestCase) ... ok
82test_add_string (test_amf3.ContextTestCase) ... ok
83test_clear (test_amf3.ContextTestCase) ... ok
84test_copy (test_amf3.ContextTestCase) ... ok
85test_create (test_amf3.ContextTestCase) ... ok
86test_empty_string (test_amf3.ContextTestCase) ... ok
87test_get_by_reference (test_amf3.ContextTestCase) ... ok
88test_get_reference (test_amf3.ContextTestCase) ... ok
89test_anonymous (test_amf3.EncoderTestCase) ... ok
90test_boolean (test_amf3.EncoderTestCase) ... ok
91test_byte_array (test_amf3.EncoderTestCase) ... ok
92test_bytestring (test_amf3.EncoderTestCase) ... FAIL
93test_custom_type (test_amf3.EncoderTestCase) ... ok
94test_date (test_amf3.EncoderTestCase) ... ok
95test_date_references (test_amf3.EncoderTestCase) ... ok
96test_dict (test_amf3.EncoderTestCase) ... FAIL
97test_elementtree_tag (test_amf3.EncoderTestCase) ... FAIL
98test_empty_key_string (test_amf3.EncoderTestCase) ... ok
99test_get_class_definition (test_amf3.EncoderTestCase) ... ok
100test_get_class_definition_attrs (test_amf3.EncoderTestCase) ... ok
101test_getstate (test_amf3.EncoderTestCase) ... ok
102test_integer (test_amf3.EncoderTestCase) ... ERROR
103test_list (test_amf3.EncoderTestCase) ... ok
104test_list_references (test_amf3.EncoderTestCase) ... ok
105test_mixed_array (test_amf3.EncoderTestCase) ... ERROR
106test_null (test_amf3.EncoderTestCase) ... ok
107test_number (test_amf3.EncoderTestCase) ... ok
108test_object (test_amf3.EncoderTestCase) ... ok
109test_old_style_classes (test_amf3.EncoderTestCase) ... ok
110test_string (test_amf3.EncoderTestCase) ... FAIL
111test_string_references (test_amf3.EncoderTestCase) ... ok
112test_undefined (test_amf3.EncoderTestCase) ... ok
113test_xml (test_amf3.EncoderTestCase) ... ERROR
114test_xmlstring (test_amf3.EncoderTestCase) ... ERROR
115test_boolean (test_amf3.DecoderTestCase) ... ERROR
116test_byte_array (test_amf3.DecoderTestCase) ... ERROR
117test_classic_class (test_amf3.DecoderTestCase) ... ERROR
118test_date (test_amf3.DecoderTestCase) ... ERROR
119test_dict (test_amf3.DecoderTestCase) ... ERROR
120test_get_class_definition (test_amf3.DecoderTestCase) ... ERROR
121test_infinites (test_amf3.DecoderTestCase) ... ERROR
122test_integer (test_amf3.DecoderTestCase) ... ERROR
123test_list (test_amf3.DecoderTestCase) ... ERROR
124test_list_references (test_amf3.DecoderTestCase) ... ERROR
125test_null (test_amf3.DecoderTestCase) ... ERROR
126test_number (test_amf3.DecoderTestCase) ... ERROR
127test_object (test_amf3.DecoderTestCase) ... ERROR
128test_setstate_classic (test_amf3.DecoderTestCase) ... ERROR
129test_setstate_newstyle (test_amf3.DecoderTestCase) ... ERROR
130test_string (test_amf3.DecoderTestCase) ... ERROR
131test_string_references (test_amf3.DecoderTestCase) ... ERROR
132test_types (test_amf3.DecoderTestCase) ... ERROR
133test_undefined (test_amf3.DecoderTestCase) ... ERROR
134test_unsignedInteger (test_amf3.DecoderTestCase) ... ERROR
135test_xml (test_amf3.DecoderTestCase) ... ERROR
136test_xmlstring (test_amf3.DecoderTestCase) ... ERROR
137test_class_references (test_amf3.ObjectEncodingTestCase) ... ok
138test_combined (test_amf3.ObjectEncodingTestCase) ... ok
139test_dynamic (test_amf3.ObjectEncodingTestCase) ... ok
140test_external (test_amf3.ObjectEncodingTestCase) ... ok
141test_object_references (test_amf3.ObjectEncodingTestCase) ... ok
142test_static (test_amf3.ObjectEncodingTestCase) ... ok
143test_combined (test_amf3.ObjectDecodingTestCase) ... ERROR
144test_dynamic (test_amf3.ObjectDecodingTestCase) ... ERROR
145test_external (test_amf3.ObjectDecodingTestCase) ... ERROR
146test_object_references (test_amf3.ObjectDecodingTestCase) ... ERROR
147test_static (test_amf3.ObjectDecodingTestCase) ... ERROR
148test_boolean (test_amf3.DataOutputTestCase) ... ok
149test_byte (test_amf3.DataOutputTestCase) ... ok
150test_create (test_amf3.DataOutputTestCase) ... ok
151test_double (test_amf3.DataOutputTestCase) ... ok
152test_float (test_amf3.DataOutputTestCase) ... ok
153test_int (test_amf3.DataOutputTestCase) ... ok
154test_multi_byte (test_amf3.DataOutputTestCase) ... FAIL
155test_object (test_amf3.DataOutputTestCase) ... ok
156test_short (test_amf3.DataOutputTestCase) ... ok
157test_uint (test_amf3.DataOutputTestCase) ... ok
158test_utf (test_amf3.DataOutputTestCase) ... FAIL
159test_utf_bytes (test_amf3.DataOutputTestCase) ... FAIL
160test_boolean (test_amf3.DataInputTestCase) ... ERROR
161test_byte (test_amf3.DataInputTestCase) ... ERROR
162test_create (test_amf3.DataInputTestCase) ... ok
163test_double (test_amf3.DataInputTestCase) ... ERROR
164test_float (test_amf3.DataInputTestCase) ... ERROR
165test_int (test_amf3.DataInputTestCase) ... ERROR
166test_multi_byte (test_amf3.DataInputTestCase) ... ERROR
167test_object (test_amf3.DataInputTestCase) ... ERROR
168test_short (test_amf3.DataInputTestCase) ... ERROR
169test_uint (test_amf3.DataInputTestCase) ... ERROR
170test_utf (test_amf3.DataInputTestCase) ... ERROR
171test_utf_bytes (test_amf3.DataInputTestCase) ... ERROR
172test_deep (test_amf3.ClassInheritanceTestCase) ... FAIL
173test_simple (test_amf3.ClassInheritanceTestCase) ... ok
174test_decode (test_amf3.HelperTestCase) ... ERROR
175test_decode_with_context (test_amf3.HelperTestCase) ... ERROR
176test_encode (test_amf3.HelperTestCase) ... ok
177test_encode_with_context (test_amf3.HelperTestCase) ... ok
178test_delitem (test_basic.ASObjectTestCase) ... ok
179test_eq (test_basic.ASObjectTestCase) ... ERROR
180test_getitem (test_basic.ASObjectTestCase) ... ok
181test_init (test_basic.ASObjectTestCase) ... ok
182test_iter (test_basic.ASObjectTestCase) ... ok
183test_setitem (test_basic.ASObjectTestCase) ... ok
184test_append (test_basic.ClassMetaDataTestCase) ... ok
185test_contains (test_basic.ClassMetaDataTestCase) ... ok
186test_create (test_basic.ClassMetaDataTestCase) ... ok
187test_anonymous (test_basic.ClassAliasTestCase) ... ok
188test_bad_class (test_basic.ClassAliasTestCase) ... ok
189test_bad_read_func (test_basic.ClassAliasTestCase) ... ok
190test_bad_write_func (test_basic.ClassAliasTestCase) ... ok
191test_call (test_basic.ClassAliasTestCase) ... ok
192test_eq (test_basic.ClassAliasTestCase) ... ok
193test_external (test_basic.ClassAliasTestCase) ... ok
194test_get_attrs (test_basic.ClassAliasTestCase) ... ok
195test_get_class_alias (test_basic.ClassAliasTestCase) ... ok
196test_init (test_basic.ClassAliasTestCase) ... ok
197test_str (test_basic.ClassAliasTestCase) ... ok
198test_decode (test_basic.HelperTestCase) ... ERROR
199test_encode (test_basic.HelperTestCase) ... ok
200test_get_decoder (test_basic.HelperTestCase) ... ok
201test_get_encoder (test_basic.HelperTestCase) ... ok
202test_anonymous (test_basic.RegisterClassTestCase) ... ok
203test_attrs (test_basic.RegisterClassTestCase) ... ok
204test_bad_attr_fun (test_basic.RegisterClassTestCase) ... ok
205test_bad_metadata (test_basic.RegisterClassTestCase) ... ok
206test_dynamic (test_basic.RegisterClassTestCase) ... ok
207test_has_alias (test_basic.RegisterClassTestCase) ... ok
208test_metadata (test_basic.RegisterClassTestCase) ... ok
209test_simple (test_basic.RegisterClassTestCase) ... ok
210test_alias (test_basic.UnregisterClassTestCase) ... ok
211test_klass (test_basic.UnregisterClassTestCase) ... ok
212test_bad_register (test_basic.ClassLoaderTestCase) ... ok
213test_load_class (test_basic.ClassLoaderTestCase) ... ok
214test_load_class_bad_return (test_basic.ClassLoaderTestCase) ... ok
215test_load_class_by_alias (test_basic.ClassLoaderTestCase) ... ok
216test_load_class_by_module (test_basic.ClassLoaderTestCase) ... ok
217test_load_class_by_module_bad (test_basic.ClassLoaderTestCase) ... ok
218test_load_unknown_class (test_basic.ClassLoaderTestCase) ... ok
219test_register (test_basic.ClassLoaderTestCase) ... ok
220test_unregister (test_basic.ClassLoaderTestCase) ... ok
221test_add_callable (test_basic.TypeMapTestCase) ... ok
222test_add_class (test_basic.TypeMapTestCase) ... ok
223test_add_invalid (test_basic.TypeMapTestCase) ... ok
224test_add_multiple (test_basic.TypeMapTestCase) ... ok
225test_add_same (test_basic.TypeMapTestCase) ... ok
226test_get_type (test_basic.TypeMapTestCase) ... ok
227test_remove (test_basic.TypeMapTestCase) ... ok
228test_add (test_basic.ErrorClassMapTestCase) ... ok
229test_remove (test_basic.ErrorClassMapTestCase) ... ok
230test_create (test_flex.ArrayCollectionTestCase) ... ok
231test_decode (test_flex.ArrayCollectionTestCase) ... ERROR
232test_encode (test_flex.ArrayCollectionTestCase) ... ok
233test_decode (test_flex.ObjectProxyTestCase) ... ERROR
234test_encode (test_flex.ObjectProxyTestCase) ... ok
235test_get_attrs (test_flex.ObjectProxyTestCase) ... ok
236test_repr (test_flex_messaging.AbstractMessageTestCase) ... ok
237test_build (test_gateway.FaultTestCase) ... ok
238test_create (test_gateway.FaultTestCase) ... ok
239test_encode (test_gateway.FaultTestCase) ... ERROR
240test_explicit_code (test_gateway.FaultTestCase) ... ok
241test_call (test_gateway.ServiceWrapperTestCase) ... ok
242test_cmp (test_gateway.ServiceWrapperTestCase) ... ok
243test_create (test_gateway.ServiceWrapperTestCase) ... ok
244test_create_preprocessor (test_gateway.ServiceWrapperTestCase) ... ok
245test_call (test_gateway.ServiceRequestTestCase) ... ok
246test_create (test_gateway.ServiceRequestTestCase) ... ok
247test_contains (test_gateway.ServiceCollectionTestCase) ... ok
248test_add_service (test_gateway.BaseGatewayTestCase) ... ok
249test_authenticate (test_gateway.BaseGatewayTestCase) ... ok
250test_create (test_gateway.BaseGatewayTestCase) ... ok
251test_get_response (test_gateway.BaseGatewayTestCase) ... ok
252test_long_service_name (test_gateway.BaseGatewayTestCase) ... ok
253test_malformed_credentials_header (test_gateway.BaseGatewayTestCase) ... ok
254test_process_request (test_gateway.BaseGatewayTestCase) ... ok
255test_remove_service (test_gateway.BaseGatewayTestCase) ... ok
256test_service_request (test_gateway.BaseGatewayTestCase) ... ok
257test_request (test_gateway.QueryBrowserTestCase) ... ok
258test_class_decorator (test_gateway.AuthenticatorTestCase) ... ok
259test_expose_request_decorator (test_gateway.AuthenticatorTestCase) ... ok
260test_expose_request_keyword (test_gateway.AuthenticatorTestCase) ... ok
261test_func_decorator (test_gateway.AuthenticatorTestCase) ... ok
262test_gateway (test_gateway.AuthenticatorTestCase) ... ok
263test_service (test_gateway.AuthenticatorTestCase) ... ok
264test_decorator (test_gateway.ExposeRequestTestCase) ... ok
265test_default (test_gateway.ExposeRequestTestCase) ... ok
266test_gateway (test_gateway.ExposeRequestTestCase) ... ok
267test_service (test_gateway.ExposeRequestTestCase) ... ok
268test_call (test_gateway.PreProcessingTestCase) ... ok
269test_decorator (test_gateway.PreProcessingTestCase) ... ok
270test_default (test_gateway.PreProcessingTestCase) ... ok
271test_fail (test_gateway.PreProcessingTestCase) ... ok
272test_global (test_gateway.PreProcessingTestCase) ... ok
273test_service (test_gateway.PreProcessingTestCase) ... ok
274test_bad_request (pyamf.tests.gateway.test_wsgi.WSGIServerTestCase) ... ERROR
275test_request_method (pyamf.tests.gateway.test_wsgi.WSGIServerTestCase) ... ok
276test_unknown_request (pyamf.tests.gateway.test_wsgi.WSGIServerTestCase) ... ERROR
277test_cwd (test_imports.JoinPathTestCase) ... ok
278test_empty (test_imports.JoinPathTestCase) ... ok
279test_name (test_imports.JoinPathTestCase) ... ok
280test_prev_dir (test_imports.JoinPathTestCase) ... ok
281test_relative (test_imports.JoinPathTestCase) ... ok
282test_root (test_imports.JoinPathTestCase) ... ok
283test_default (test_imports.GetModuleHooksTestCase) ... ok
284test_existant (test_imports.GetModuleHooksTestCase) ... ok
285test_none (test_imports.GetModuleHooksTestCase) ... ok
286test_getattr (test_imports.LazyModuleTestCase) ... ok
287test_init (test_imports.LazyModuleTestCase) ... ok
288test_setattr (test_imports.LazyModuleTestCase) ... ok
289test_slots (test_imports.LazyModuleTestCase) ... ok
290test_type (test_imports.LazyModuleTestCase) ... ok
291test_lazy (test_imports.IsLazyTestCase) ... ok
292test_loaded (test_imports.IsLazyTestCase) ... ok
293test_module (test_imports.WhenImportedTestCase) ... ok
294test_multipleChildDeepParent (test_imports.WhenImportedTestCase) ... ok
295test_submodule (test_imports.WhenImportedTestCase) ... ok
296test_error (test_imports.FindModuleTestCase) ... ok
297test_package (test_imports.FindModuleTestCase) ... ok
298test_root (test_imports.FindModuleTestCase) ... ok
299test_subpackage (test_imports.FindModuleTestCase) ... ok
300test_amf_version (test_remoting.DecoderTestCase) ... ERROR
301test_client_version (test_remoting.DecoderTestCase) ... ERROR
302test_invalid_body_data_length (test_remoting.DecoderTestCase) ... ERROR
303test_invalid_header_data_length (test_remoting.DecoderTestCase) ... ERROR
304test_message_order (test_remoting.DecoderTestCase) ... ERROR
305test_multiple_headers (test_remoting.DecoderTestCase) ... ERROR
306test_null_msg (test_remoting.DecoderTestCase) ... ERROR
307test_required_header (test_remoting.DecoderTestCase) ... ERROR
308test_simple_body (test_remoting.DecoderTestCase) ... ERROR
309test_simple_header (test_remoting.DecoderTestCase) ... ERROR
310test_string_reference_with_string_headers (test_remoting.DecoderTestCase) ... ERROR
311test_basic (test_remoting.EncoderTestCase) ... ok
312test_header (test_remoting.EncoderTestCase) ... ok
313test_message_order (test_remoting.EncoderTestCase) ... ok
314test_request (test_remoting.EncoderTestCase) ... ok
315test_response (test_remoting.EncoderTestCase) ... ok
316test_request (test_remoting.StrictEncodingTestCase) ... ok
317test_response (test_remoting.StrictEncodingTestCase) ... ok
318test_exception (test_remoting.FaultTestCase) ... ok
319test_kwargs (test_remoting.FaultTestCase) ... ok
320test_call (pyamf.tests.remoting.test_client.ServiceMethodProxyTestCase) ... ok
321test_create (pyamf.tests.remoting.test_client.ServiceMethodProxyTestCase) ... ok
322test_str (pyamf.tests.remoting.test_client.ServiceMethodProxyTestCase) ... ok
323test_call (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok
324test_create (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok
325test_getattr (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok
326test_pending_call (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok
327test_service_call (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok
328test_str (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok
329test_create (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok
330test_null_response (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok
331test_set_response (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok
332test_str (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok
333test_add_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
334test_append_url_header (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR
335test_close_http_response (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR
336test_create (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
337test_credentials (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
338test_execute (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... FAIL
339test_execute_single (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR
340test_get_amf_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
341test_get_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
342test_get_response (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR
343test_get_service (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
344test_port (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
345test_remove_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
346test_replace_url_header (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR
347test_schemes (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok
348test_generate (pyamf.tests.remoting.test_remoteobject.RandomIdGeneratorTestCase) ... ok
349test_generate (pyamf.tests.remoting.test_remoteobject.AcknowlegdementGeneratorTestCase) ... ok
350test_request (pyamf.tests.remoting.test_remoteobject.AcknowlegdementGeneratorTestCase) ... ok
351test_create (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
352test_destination (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
353test_disconnect (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
354test_error (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
355test_fail_preprocess (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
356test_ping (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
357test_preprocess (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
358test_request (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
359test_too_many_args (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok
360test_amf3 (test_sol.EncoderTestCase) ... ERROR
361test_encode_header (test_sol.EncoderTestCase) ... ERROR
362test_multiple_values (test_sol.EncoderTestCase) ... ERROR
363test_amf3 (test_sol.DecoderTestCase) ... ERROR
364test_header (test_sol.DecoderTestCase) ... ERROR
365test_invalid_header (test_sol.DecoderTestCase) ... ERROR
366test_invalid_header_length (test_sol.DecoderTestCase) ... ERROR
367test_invalid_header_name_length (test_sol.DecoderTestCase) ... ERROR
368test_invalid_header_padding (test_sol.DecoderTestCase) ... ERROR
369test_invalid_signature (test_sol.DecoderTestCase) ... ERROR
370test_strict_header_length (test_sol.DecoderTestCase) ... FAIL
371test_unknown_encoding (test_sol.DecoderTestCase) ... ERROR
372test_load_file (test_sol.HelperTestCase) ... ERROR
373test_load_name (test_sol.HelperTestCase) ... ERROR
374test_save_file (test_sol.HelperTestCase) ... ERROR
375test_save_name (test_sol.HelperTestCase) ... ERROR
376test_create (test_sol.SOLTestCase) ... ok
377test_save (test_sol.SOLTestCase) ... ERROR
378test_get_datetime (test_util.TimestampTestCase) ... ok
379test_get_timestamp (test_util.TimestampTestCase) ... ok
380test_close (test_util.StringIOProxyTestCase) ... ok
381test_create (test_util.StringIOProxyTestCase) ... ok
382test_flush (test_util.StringIOProxyTestCase) ... ok
383test_getvalue (test_util.StringIOProxyTestCase) ... ok
384test_len (test_util.StringIOProxyTestCase) ... ok
385test_read (test_util.StringIOProxyTestCase) ... ok
386test_readline (test_util.StringIOProxyTestCase) ... ok
387test_readlines (test_util.StringIOProxyTestCase) ... ok
388test_seek (test_util.StringIOProxyTestCase) ... ok
389test_tell (test_util.StringIOProxyTestCase) ... ok
390test_truncate (test_util.StringIOProxyTestCase) ... ok
391test_write (test_util.StringIOProxyTestCase) ... ok
392test_writelines (test_util.StringIOProxyTestCase) ... ok
393test_close (test_util.cStringIOProxyTestCase) ... ok
394test_create (test_util.cStringIOProxyTestCase) ... ERROR
395test_flush (test_util.cStringIOProxyTestCase) ... ERROR
396test_getvalue (test_util.cStringIOProxyTestCase) ... ok
397test_len (test_util.cStringIOProxyTestCase) ... ERROR
398test_read (test_util.cStringIOProxyTestCase) ... ERROR
399test_readline (test_util.cStringIOProxyTestCase) ... ERROR
400test_readlines (test_util.cStringIOProxyTestCase) ... ERROR
401test_seek (test_util.cStringIOProxyTestCase) ... ERROR
402test_tell (test_util.cStringIOProxyTestCase) ... ERROR
403test_truncate (test_util.cStringIOProxyTestCase) ... ERROR
404test_write (test_util.cStringIOProxyTestCase) ... ERROR
405test_writelines (test_util.cStringIOProxyTestCase) ... ERROR
406test_nan (test_util.DataTypeMixInTestCase) ... ok
407test_read_char (test_util.DataTypeMixInTestCase) ... ok
408test_read_double (test_util.DataTypeMixInTestCase) ... ok
409test_read_float (test_util.DataTypeMixInTestCase) ... ok
410test_read_long (test_util.DataTypeMixInTestCase) ... ok
411test_read_short (test_util.DataTypeMixInTestCase) ... ok
412test_read_uchar (test_util.DataTypeMixInTestCase) ... ok
413test_read_ulong (test_util.DataTypeMixInTestCase) ... ok
414test_read_ushort (test_util.DataTypeMixInTestCase) ... ok
415test_read_utf8_string (test_util.DataTypeMixInTestCase) ... FAIL
416test_write_char (test_util.DataTypeMixInTestCase) ... ok
417test_write_double (test_util.DataTypeMixInTestCase) ... ok
418test_write_float (test_util.DataTypeMixInTestCase) ... ok
419test_write_long (test_util.DataTypeMixInTestCase) ... ok
420test_write_short (test_util.DataTypeMixInTestCase) ... ok
421test_write_uchar (test_util.DataTypeMixInTestCase) ... ok
422test_write_ulong (test_util.DataTypeMixInTestCase) ... ok
423test_write_ushort (test_util.DataTypeMixInTestCase) ... ok
424test_write_utf8_string (test_util.DataTypeMixInTestCase) ... FAIL
425test_add (test_util.BufferedByteStreamTestCase) ... ok
426test_add_pos (test_util.BufferedByteStreamTestCase) ... ok
427test_create (test_util.BufferedByteStreamTestCase) ... ok
428test_eof (test_util.BufferedByteStreamTestCase) ... ERROR
429test_peek (test_util.BufferedByteStreamTestCase) ... ERROR
430test_read (test_util.BufferedByteStreamTestCase) ... ERROR
431test_remaining (test_util.BufferedByteStreamTestCase) ... ERROR
432
433======================================================================
434ERROR: test_xml (test_amf0.EncoderTestCase)
435----------------------------------------------------------------------
436Traceback (most recent call last):
437  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
438    testMethod()
439  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 238, in test_xml
440    '\x00\x19<a><b>hello world</b></a>')])
441  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML
442    return api.fromstring(text)
443  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring
444    parser = XMLTreeBuilder()
445  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__
446    raise ImportError(
447ImportError: No module named expat; use SimpleXMLTreeBuilder instead
448
449======================================================================
450ERROR: test_xml_references (test_amf0.EncoderTestCase)
451----------------------------------------------------------------------
452Traceback (most recent call last):
453  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
454    testMethod()
455  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 241, in test_xml_references
456    x = util.ET.fromstring('<a><b>hello world</b></a>')
457  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML
458    return api.fromstring(text)
459  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring
460    parser = XMLTreeBuilder()
461  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__
462    raise ImportError(
463ImportError: No module named expat; use SimpleXMLTreeBuilder instead
464
465======================================================================
466ERROR: test_amf3 (test_amf0.DecoderTestCase)
467----------------------------------------------------------------------
468Traceback (most recent call last):
469  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
470    testMethod()
471  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 632, in test_amf3
472    self.assertEquals(self.decoder.readElement(), 1)
473  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
474    type = self.readType()
475  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
476    type = self.stream.read_uchar()
477  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
478    return struct.unpack("B", self._read(1))[0]
479  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
480    bytes = self.read(length)
481  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
482    if length > 0 and self.at_eof():
483  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
484    return self.tell() >= len(self)
485TypeError: __len__ should return a int
486
487======================================================================
488ERROR: test_boolean (test_amf0.DecoderTestCase)
489----------------------------------------------------------------------
490Traceback (most recent call last):
491  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
492    testMethod()
493  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 524, in test_boolean
494    (False, '\x01\x00')])
495  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
496    e.run(self)
497  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
498    testcase.assertEqual(self.decoder.readElement(), n)
499  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
500    type = self.readType()
501  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
502    type = self.stream.read_uchar()
503  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
504    return struct.unpack("B", self._read(1))[0]
505  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
506    bytes = self.read(length)
507  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
508    if length > 0 and self.at_eof():
509  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
510    return self.tell() >= len(self)
511TypeError: __len__ should return a int
512
513======================================================================
514ERROR: test_classic_class (test_amf0.DecoderTestCase)
515----------------------------------------------------------------------
516Traceback (most recent call last):
517  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
518    testMethod()
519  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 729, in test_classic_class
520    foo = self.decoder.readElement()
521  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
522    type = self.readType()
523  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
524    type = self.stream.read_uchar()
525  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
526    return struct.unpack("B", self._read(1))[0]
527  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
528    bytes = self.read(length)
529  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
530    if length > 0 and self.at_eof():
531  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
532    return self.tell() >= len(self)
533TypeError: __len__ should return a int
534
535======================================================================
536ERROR: test_complex_list (test_amf0.DecoderTestCase)
537----------------------------------------------------------------------
538Traceback (most recent call last):
539  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
540    testMethod()
541  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 612, in test_complex_list
542    ])
543  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
544    e.run(self)
545  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
546    testcase.assertEqual(self.decoder.readElement(), n)
547  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
548    type = self.readType()
549  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
550    type = self.stream.read_uchar()
551  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
552    return struct.unpack("B", self._read(1))[0]
553  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
554    bytes = self.read(length)
555  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
556    if length > 0 and self.at_eof():
557  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
558    return self.tell() >= len(self)
559TypeError: __len__ should return a int
560
561======================================================================
562ERROR: test_date (test_amf0.DecoderTestCase)
563----------------------------------------------------------------------
564Traceback (most recent call last):
565  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
566    testMethod()
567  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 562, in test_date
568    '\x0bBp+6!\x15\x80\x00\x00\x00')])
569  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
570    e.run(self)
571  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
572    testcase.assertEqual(self.decoder.readElement(), n)
573  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
574    type = self.readType()
575  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
576    type = self.stream.read_uchar()
577  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
578    return struct.unpack("B", self._read(1))[0]
579  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
580    bytes = self.read(length)
581  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
582    if length > 0 and self.at_eof():
583  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
584    return self.tell() >= len(self)
585TypeError: __len__ should return a int
586
587======================================================================
588ERROR: test_dict (test_amf0.DecoderTestCase)
589----------------------------------------------------------------------
590Traceback (most recent call last):
591  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
592    testMethod()
593  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 548, in test_dict
594    '\x00\x09')])
595  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
596    e.run(self)
597  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
598    testcase.assertEqual(self.decoder.readElement(), n)
599  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
600    type = self.readType()
601  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
602    type = self.stream.read_uchar()
603  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
604    return struct.unpack("B", self._read(1))[0]
605  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
606    bytes = self.read(length)
607  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
608    if length > 0 and self.at_eof():
609  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
610    return self.tell() >= len(self)
611TypeError: __len__ should return a int
612
613======================================================================
614ERROR: test_dynamic (test_amf0.DecoderTestCase)
615----------------------------------------------------------------------
616Traceback (most recent call last):
617  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
618    testMethod()
619  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 656, in test_dynamic
620    '\x02\x00\x05world\x00\x00\t')])
621  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
622    e.run(self)
623  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
624    testcase.assertEqual(self.decoder.readElement(), n)
625  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
626    type = self.readType()
627  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
628    type = self.stream.read_uchar()
629  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
630    return struct.unpack("B", self._read(1))[0]
631  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
632    bytes = self.read(length)
633  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
634    if length > 0 and self.at_eof():
635  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
636    return self.tell() >= len(self)
637TypeError: __len__ should return a int
638
639======================================================================
640ERROR: test_infinites (test_amf0.DecoderTestCase)
641----------------------------------------------------------------------
642Traceback (most recent call last):
643  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
644    testMethod()
645  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 506, in test_infinites
646    x = self.decoder.readElement()
647  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
648    type = self.readType()
649  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
650    type = self.stream.read_uchar()
651  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
652    return struct.unpack("B", self._read(1))[0]
653  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
654    bytes = self.read(length)
655  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
656    if length > 0 and self.at_eof():
657  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
658    return self.tell() >= len(self)
659TypeError: __len__ should return a int
660
661======================================================================
662ERROR: test_list (test_amf0.DecoderTestCase)
663----------------------------------------------------------------------
664Traceback (most recent call last):
665  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
666    testMethod()
667  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 543, in test_list
668    '\x00\x00\x00\x00')])
669  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
670    e.run(self)
671  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
672    testcase.assertEqual(self.decoder.readElement(), n)
673  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
674    type = self.readType()
675  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
676    type = self.stream.read_uchar()
677  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
678    return struct.unpack("B", self._read(1))[0]
679  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
680    bytes = self.read(length)
681  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
682    if length > 0 and self.at_eof():
683  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
684    return self.tell() >= len(self)
685TypeError: __len__ should return a int
686
687======================================================================
688ERROR: test_longstring (test_amf0.DecoderTestCase)
689----------------------------------------------------------------------
690Traceback (most recent call last):
691  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
692    testMethod()
693  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 533, in test_longstring
694    self._run([('a' * 65537, '\x0c\x00\x01\x00\x01' + 'a' * 65537)])
695  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
696    e.run(self)
697  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
698    testcase.assertEqual(self.decoder.readElement(), n)
699  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
700    type = self.readType()
701  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
702    type = self.stream.read_uchar()
703  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
704    return struct.unpack("B", self._read(1))[0]
705  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
706    bytes = self.read(length)
707  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
708    if length > 0 and self.at_eof():
709  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
710    return self.tell() >= len(self)
711TypeError: __len__ should return a int
712
713======================================================================
714ERROR: test_mixed_array (test_amf0.DecoderTestCase)
715----------------------------------------------------------------------
716Traceback (most recent call last):
717  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
718    testMethod()
719  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 555, in test_mixed_array
720    '\x00\x00\t')])
721  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
722    e.run(self)
723  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
724    testcase.assertEqual(self.decoder.readElement(), n)
725  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
726    type = self.readType()
727  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
728    type = self.stream.read_uchar()
729  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
730    return struct.unpack("B", self._read(1))[0]
731  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
732    bytes = self.read(length)
733  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
734    if length > 0 and self.at_eof():
735  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
736    return self.tell() >= len(self)
737TypeError: __len__ should return a int
738
739======================================================================
740ERROR: test_null (test_amf0.DecoderTestCase)
741----------------------------------------------------------------------
742Traceback (most recent call last):
743  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
744    testMethod()
745  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 536, in test_null
746    self._run([(None, '\x05')])
747  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
748    e.run(self)
749  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
750    testcase.assertEqual(self.decoder.readElement(), n)
751  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
752    type = self.readType()
753  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
754    type = self.stream.read_uchar()
755  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
756    return struct.unpack("B", self._read(1))[0]
757  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
758    bytes = self.read(length)
759  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
760    if length > 0 and self.at_eof():
761  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
762    return self.tell() >= len(self)
763TypeError: __len__ should return a int
764
765======================================================================
766ERROR: test_number (test_amf0.DecoderTestCase)
767----------------------------------------------------------------------
768Traceback (most recent call last):
769  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
770    testMethod()
771  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 480, in test_number
772    (1.23456789, '\x00\x3f\xf3\xc0\xca\x42\x83\xde\x1b')])
773  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
774    e.run(self)
775  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
776    testcase.assertEqual(self.decoder.readElement(), n)
777  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
778    type = self.readType()
779  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
780    type = self.stream.read_uchar()
781  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
782    return struct.unpack("B", self._read(1))[0]
783  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
784    bytes = self.read(length)
785  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
786    if length > 0 and self.at_eof():
787  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
788    return self.tell() >= len(self)
789TypeError: __len__ should return a int
790
791======================================================================
792ERROR: test_number_types (test_amf0.DecoderTestCase)
793----------------------------------------------------------------------
794Traceback (most recent call last):
795  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
796    testMethod()
797  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 500, in test_number_types
798    self.assertEquals(type(self.decoder.readElement()), expected_type)
799  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
800    type = self.readType()
801  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
802    type = self.stream.read_uchar()
803  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
804    return struct.unpack("B", self._read(1))[0]
805  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
806    bytes = self.read(length)
807  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
808    if length > 0 and self.at_eof():
809  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
810    return self.tell() >= len(self)
811TypeError: __len__ should return a int
812
813======================================================================
814ERROR: test_object (test_amf0.DecoderTestCase)
815----------------------------------------------------------------------
816Traceback (most recent call last):
817  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
818    testMethod()
819  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 589, in test_object
820    ({'a': 'b'}, '\x03\x00\x01a\x02\x00\x01b\x00\x00\x09')])
821  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
822    e.run(self)
823  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
824    testcase.assertEqual(self.decoder.readElement(), n)
825  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
826    type = self.readType()
827  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
828    type = self.stream.read_uchar()
829  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
830    return struct.unpack("B", self._read(1))[0]
831  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
832    bytes = self.read(length)
833  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
834    if length > 0 and self.at_eof():
835  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
836    return self.tell() >= len(self)
837TypeError: __len__ should return a int
838
839======================================================================
840ERROR: test_registered_class (test_amf0.DecoderTestCase)
841----------------------------------------------------------------------
842Traceback (most recent call last):
843  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
844    testMethod()
845  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 598, in test_registered_class
846    obj = self.decoder.readElement()
847  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
848    type = self.readType()
849  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
850    type = self.stream.read_uchar()
851  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
852    return struct.unpack("B", self._read(1))[0]
853  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
854    bytes = self.read(length)
855  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
856    if length > 0 and self.at_eof():
857  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
858    return self.tell() >= len(self)
859TypeError: __len__ should return a int
860
861======================================================================
862ERROR: test_setstate_classic (test_amf0.DecoderTestCase)
863----------------------------------------------------------------------
864Traceback (most recent call last):
865  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
866    testMethod()
867  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 714, in test_setstate_classic
868    foo = self.decoder.readElement()
869  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
870    type = self.readType()
871  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
872    type = self.stream.read_uchar()
873  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
874    return struct.unpack("B", self._read(1))[0]
875  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
876    bytes = self.read(length)
877  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
878    if length > 0 and self.at_eof():
879  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
880    return self.tell() >= len(self)
881TypeError: __len__ should return a int
882
883======================================================================
884ERROR: test_setstate_newstyle (test_amf0.DecoderTestCase)
885----------------------------------------------------------------------
886Traceback (most recent call last):
887  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
888    testMethod()
889  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 689, in test_setstate_newstyle
890    foo = self.decoder.readElement()
891  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
892    type = self.readType()
893  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
894    type = self.stream.read_uchar()
895  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
896    return struct.unpack("B", self._read(1))[0]
897  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
898    bytes = self.read(length)
899  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
900    if length > 0 and self.at_eof():
901  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
902    return self.tell() >= len(self)
903TypeError: __len__ should return a int
904
905======================================================================
906ERROR: test_string (test_amf0.DecoderTestCase)
907----------------------------------------------------------------------
908Traceback (most recent call last):
909  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
910    testMethod()
911  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 530, in test_string
912    (u'ᚠᛇᚻ', '\x02\x00\t\xe1\x9a\xa0\xe1\x9b\x87\xe1\x9a\xbb')])
913  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
914    e.run(self)
915  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
916    testcase.assertEqual(self.decoder.readElement(), n)
917  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
918    type = self.readType()
919  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
920    type = self.stream.read_uchar()
921  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
922    return struct.unpack("B", self._read(1))[0]
923  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
924    bytes = self.read(length)
925  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
926    if length > 0 and self.at_eof():
927  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
928    return self.tell() >= len(self)
929TypeError: __len__ should return a int
930
931======================================================================
932ERROR: test_types (test_amf0.DecoderTestCase)
933----------------------------------------------------------------------
934Traceback (most recent call last):
935  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
936    testMethod()
937  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 463, in test_types
938    self.decoder.readType()
939  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
940    type = self.stream.read_uchar()
941  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
942    return struct.unpack("B", self._read(1))[0]
943  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
944    bytes = self.read(length)
945  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
946    if length > 0 and self.at_eof():
947  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
948    return self.tell() >= len(self)
949TypeError: __len__ should return a int
950
951======================================================================
952ERROR: test_undefined (test_amf0.DecoderTestCase)
953----------------------------------------------------------------------
954Traceback (most recent call last):
955  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
956    testMethod()
957  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 471, in test_undefined
958    self._run([(pyamf.Undefined, '\x06')])
959  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run
960    e.run(self)
961  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run
962    testcase.assertEqual(self.decoder.readElement(), n)
963  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
964    type = self.readType()
965  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
966    type = self.stream.read_uchar()
967  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
968    return struct.unpack("B", self._read(1))[0]
969  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
970    bytes = self.read(length)
971  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
972    if length > 0 and self.at_eof():
973  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
974    return self.tell() >= len(self)
975TypeError: __len__ should return a int
976
977======================================================================
978ERROR: test_xml (test_amf0.DecoderTestCase)
979----------------------------------------------------------------------
980Traceback (most recent call last):
981  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
982    testMethod()
983  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 571, in test_xml
984    util.ET.tostring(self.decoder.readElement()))
985  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML
986    return api.fromstring(text)
987  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring
988    parser = XMLTreeBuilder()
989  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__
990    raise ImportError(
991ImportError: No module named expat; use SimpleXMLTreeBuilder instead
992
993======================================================================
994ERROR: test_xml_references (test_amf0.DecoderTestCase)
995----------------------------------------------------------------------
996Traceback (most recent call last):
997  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
998    testMethod()
999  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 581, in test_xml_references
1000    util.ET.tostring(self.decoder.readElement()))
1001  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML
1002    return api.fromstring(text)
1003  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring
1004    parser = XMLTreeBuilder()
1005  File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__
1006    raise ImportError(
1007ImportError: No module named expat; use SimpleXMLTreeBuilder instead
1008
1009======================================================================
1010ERROR: test_decode (test_amf0.RecordSetTestCase)
1011----------------------------------------------------------------------
1012Traceback (most recent call last):
1013  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
1014    testMethod()
1015  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 889, in test_decode
1016    x = decoder.readElement()
1017  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
1018    type = self.readType()
1019  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
1020    type = self.stream.read_uchar()
1021  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
1022    return struct.unpack("B", self._read(1))[0]
1023  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
1024    bytes = self.read(length)
1025  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read
1026    if length > 0 and self.at_eof():
1027  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof
1028    return self.tell() >= len(self)
1029TypeError: __len__ should return a int
1030
1031======================================================================
1032ERROR: test_decode (test_amf0.HelperTestCase)
1033----------------------------------------------------------------------
1034Traceback (most recent call last):
1035  File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__
1036    testMethod()
1037  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 753, in test_decode
1038    self.assertEquals(gen.next(), 1)
1039  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 788, in decode
1040    yield decoder.readElement()
1041  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement
1042    type = self.readType()
1043  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType
1044    type = self.stream.read_uchar()
1045  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar
1046    return struct.unpack("B", self._read(1))[0]
1047  File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read
1048    bytes = self.read(length)
1049  Fi