/home/exarkun/Projects/python/trunk/Lib/socket.py:49: DeprecationWarning: The 'new' module has been removed in Python 3.0; use the 'types' module instead. from new import instancemethod test_grammar testBackslash (test.test_grammar.TokenTests) ... ok testFloats (test.test_grammar.TokenTests) ... ok testLongIntegers (test.test_grammar.TokenTests) ... ok testPlainIntegers (test.test_grammar.TokenTests) ... ok testStringLiterals (test.test_grammar.TokenTests) ... ok testAdditiveOps (test.test_grammar.GrammarTests) ... ok testAssert (test.test_grammar.GrammarTests) ... ok testAtoms (test.test_grammar.GrammarTests) ... ok testBinaryMaskOps (test.test_grammar.GrammarTests) ... ok testBreakStmt (test.test_grammar.GrammarTests) ... ok testClassdef (test.test_grammar.GrammarTests) ... ok testComparison (test.test_grammar.GrammarTests) ... ok testComprehensionSpecials (test.test_grammar.GrammarTests) ... ok testContinueStmt (test.test_grammar.GrammarTests) ... ok testDelStmt (test.test_grammar.GrammarTests) ... ok testEvalInput (test.test_grammar.GrammarTests) ... ok testExec (test.test_grammar.GrammarTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:539: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if g.has_key('__builtins__'): del g['__builtins__'] /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:547: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if g.has_key('__builtins__'): del g['__builtins__'] /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:548: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if l.has_key('__builtins__'): del l['__builtins__'] ok testExprStmt (test.test_grammar.GrammarTests) ... ok testFor (test.test_grammar.GrammarTests) ... ok testFuncdef (test.test_grammar.GrammarTests) ... ok testGenexps (test.test_grammar.GrammarTests) ... ok testGlobal (test.test_grammar.GrammarTests) ... ok testIf (test.test_grammar.GrammarTests) ... ok testIfElseExpr (test.test_grammar.GrammarTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:966: DeprecationWarning: classic int division self.assertEqual((6 / 2 if 1 else 3), 3) ok testImport (test.test_grammar.GrammarTests) ... ok testLambdef (test.test_grammar.GrammarTests) ... :1: SyntaxWarning: tuple parameter unpacking has been removed in 3.x ok testListcomps (test.test_grammar.GrammarTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:829: DeprecationWarning: comparing unequal types not supported in 3.x return [None < x < 3 for x in l if x > 2] ok testMultiplicativeOps (test.test_grammar.GrammarTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:709: DeprecationWarning: classic int division x = 1 / 1 /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:711: DeprecationWarning: classic int division x = 1 / 1 * 1 % 1 ok testPassStmt (test.test_grammar.GrammarTests) ... ok testPrintStmt (test.test_grammar.GrammarTests) ... ok testRaise (test.test_grammar.GrammarTests) ... ok testReturn (test.test_grammar.GrammarTests) ... ok testSelectors (test.test_grammar.GrammarTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:747: DeprecationWarning: comparing unequal types not supported in 3.x L.sort() ok testShiftOps (test.test_grammar.GrammarTests) ... ok testSimpleStmt (test.test_grammar.GrammarTests) ... ok testSuite (test.test_grammar.GrammarTests) ... ok testTest (test.test_grammar.GrammarTests) ... ok testTry (test.test_grammar.GrammarTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:629: DeprecationWarning: classic int division 1/0 /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:634: DeprecationWarning: classic int division try: 1/0 /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:640: DeprecationWarning: classic int division try: 1/0 /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:642: DeprecationWarning: classic int division try: 1/0 ok testUnaryOps (test.test_grammar.GrammarTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py:718: DeprecationWarning: classic int division x = -1*1/1 + 1*1 - ---1*1 ok testWhile (test.test_grammar.GrammarTests) ... ok testYield (test.test_grammar.GrammarTests) ... ok test_break_continue_loop (test.test_grammar.GrammarTests) ... ok test_with_statement (test.test_grammar.GrammarTests) ... ok ---------------------------------------------------------------------- Ran 43 tests in 0.010s OK test_opcodes test_compare_function_objects (test.test_opcodes.OpcodeTest) ... ok test_modulo_of_string_subclasses (test.test_opcodes.OpcodeTest) ... ok test_raise_class_exceptions (test.test_opcodes.OpcodeTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:33: DeprecationWarning: exceptions must derive from BaseException in 3.x try: raise AClass() /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:36: DeprecationWarning: exceptions must derive from BaseException in 3.x try: raise AClass() /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:37: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except AClass: pass /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:39: DeprecationWarning: exceptions must derive from BaseException in 3.x try: raise BClass() /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:40: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except AClass: pass /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:42: DeprecationWarning: exceptions must derive from BaseException in 3.x try: raise BClass() /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:43: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except CClass: self.fail() /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:49: DeprecationWarning: exceptions must derive from BaseException in 3.x try: raise AClass, b /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:50: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except BClass, v: /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:54: DeprecationWarning: exceptions must derive from BaseException in 3.x try: raise b /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:55: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except AClass, v: /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:65: DeprecationWarning: exceptions must derive from BaseException in 3.x try: raise DClass, a /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:66: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except DClass, v: ok test_try_inside_for_loop (test.test_opcodes.OpcodeTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py:12: DeprecationWarning: classic int division try: 1/0 ok ---------------------------------------------------------------------- Ran 4 tests in 0.002s OK test_dict test_bad_key (test.test_dict.DictTest) ... :1: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator ok test_bool (test.test_dict.DictTest) ... ok test_clear (test.test_dict.DictTest) ... ok test_constructor (test.test_dict.DictTest) ... ok test_container_iterator (test.test_dict.DictTest) ... ok test_contains (test.test_dict.DictTest) ... ok test_copy (test.test_dict.DictTest) ... ok test_empty_presized_dict_in_freelist (test.test_dict.DictTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py:552: DeprecationWarning: classic int division d = {'a': 1/0, 'b': None, 'c': None, 'd': None, 'e': None, ok test_fromkeys (test.test_dict.DictTest) ... ok test_get (test.test_dict.DictTest) ... ok test_getitem (test.test_dict.DictTest) ... ok test_has_key (test.test_dict.DictTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py:60: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(not d.has_key('a')) ok test_items (test.test_dict.DictTest) ... ok test_keys (test.test_dict.DictTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py:36: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(d.has_key('a')) /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py:37: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(d.has_key('b')) ok test_le (test.test_dict.DictTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py:398: DeprecationWarning: dict inequality comparisons not supported in 3.x self.assertTrue(not ({} < {})) /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py:399: DeprecationWarning: dict inequality comparisons not supported in 3.x self.assertTrue(not ({1: 2} < {1L: 2L})) /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py:412: DeprecationWarning: dict inequality comparisons not supported in 3.x d1 < d2 ok test_len (test.test_dict.DictTest) ... ok test_literal_constructor (test.test_dict.DictTest) ... ok test_missing (test.test_dict.DictTest) ... ok test_mutatingiteration (test.test_dict.DictTest) ... ok test_pop (test.test_dict.DictTest) ... ok test_popitem (test.test_dict.DictTest) ... ok test_repr (test.test_dict.DictTest) ... ok test_resize1 (test.test_dict.DictTest) ... ok test_resize2 (test.test_dict.DictTest) ... ok test_setdefault (test.test_dict.DictTest) ... ok test_track_dynamic (test.test_dict.DictTest) ... ok test_track_literals (test.test_dict.DictTest) ... ok test_track_subtypes (test.test_dict.DictTest) ... ok test_tuple_keyerror (test.test_dict.DictTest) ... ok test_update (test.test_dict.DictTest) ... ok test_values (test.test_dict.DictTest) ... ok test_bool (test.test_dict.GeneralMappingTests) ... ok test_constructor (test.test_dict.GeneralMappingTests) ... ok test_get (test.test_dict.GeneralMappingTests) ... ok test_getitem (test.test_dict.GeneralMappingTests) ... ok test_items (test.test_dict.GeneralMappingTests) ... ok test_keys (test.test_dict.GeneralMappingTests) ... ok test_len (test.test_dict.GeneralMappingTests) ... ok test_pop (test.test_dict.GeneralMappingTests) ... ok test_popitem (test.test_dict.GeneralMappingTests) ... ok test_read (test.test_dict.GeneralMappingTests) ... /home/exarkun/Projects/python/trunk/Lib/test/mapping_tests.py:59: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(d.has_key(k)) /home/exarkun/Projects/python/trunk/Lib/test/mapping_tests.py:62: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertFalse(d.has_key(k)) ok test_setdefault (test.test_dict.GeneralMappingTests) ... ok test_update (test.test_dict.GeneralMappingTests) ... ok test_values (test.test_dict.GeneralMappingTests) ... ok test_write (test.test_dict.GeneralMappingTests) ... ok test_bool (test.test_dict.SubclassMappingTests) ... ok test_constructor (test.test_dict.SubclassMappingTests) ... ok test_get (test.test_dict.SubclassMappingTests) ... ok test_getitem (test.test_dict.SubclassMappingTests) ... ok test_items (test.test_dict.SubclassMappingTests) ... ok test_keys (test.test_dict.SubclassMappingTests) ... ok test_len (test.test_dict.SubclassMappingTests) ... ok test_pop (test.test_dict.SubclassMappingTests) ... ok test_popitem (test.test_dict.SubclassMappingTests) ... ok test_read (test.test_dict.SubclassMappingTests) ... ok test_setdefault (test.test_dict.SubclassMappingTests) ... ok test_update (test.test_dict.SubclassMappingTests) ... ok test_values (test.test_dict.SubclassMappingTests) ... ok test_write (test.test_dict.SubclassMappingTests) ... ok ---------------------------------------------------------------------- Ran 59 tests in 0.164s OK test_builtin /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:420: DeprecationWarning: execfile() not supported in 3.x; use exec() execfile(TESTFN) test_abs (test.test_builtin.BuiltinTest) ... ok test_all (test.test_builtin.BuiltinTest) ... ok test_any (test.test_builtin.BuiltinTest) ... ok test_apply (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:140: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) apply(f0, ()) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:141: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) apply(f1, (1,)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:142: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) apply(f2, (1, 2)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:143: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) apply(f3, (1, 2, 3)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:148: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) apply(id, (1,), {}) /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) callableObj(*args, **kwargs) ok test_bin (test.test_builtin.BuiltinTest) ... ok test_bytearray_translate (test.test_builtin.BuiltinTest) ... ok test_callable (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:155: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(callable(len)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:157: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(callable(f)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:160: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(callable(C)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:162: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(callable(x.meth)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:163: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(not callable(x)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:167: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(callable(y)) ok test_chr (test.test_builtin.BuiltinTest) ... ok test_cmp (test.test_builtin.BuiltinTest) ... ok test_coerce (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:196: DeprecationWarning: coerce() not supported in 3.x self.assertTrue(not fcmp(coerce(1, 1.1), (1.0, 1.1))) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:197: DeprecationWarning: coerce() not supported in 3.x self.assertEqual(coerce(1, 1L), (1L, 1L)) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:198: DeprecationWarning: coerce() not supported in 3.x self.assertTrue(not fcmp(coerce(1L, 1.1), (1.0, 1.1))) /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: coerce() not supported in 3.x callableObj(*args, **kwargs) ok test_compile (test.test_builtin.BuiltinTest) ... ok test_delattr (test.test_builtin.BuiltinTest) ... ok test_dir (test.test_builtin.BuiltinTest) ... ok test_divmod (test.test_builtin.BuiltinTest) ... ok test_eval (test.test_builtin.BuiltinTest) ... ok test_execfile (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:433: DeprecationWarning: execfile() not supported in 3.x; use exec() execfile(TESTFN, globals) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:436: DeprecationWarning: execfile() not supported in 3.x; use exec() execfile(TESTFN, globals, locals) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:455: DeprecationWarning: execfile() not supported in 3.x; use exec() execfile(TESTFN, globals, locals) /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: execfile() not supported in 3.x; use exec() callableObj(*args, **kwargs) ok test_filter (test.test_builtin.BuiltinTest) ... ok test_filter_subclasses (test.test_builtin.BuiltinTest) ... ok test_format (test.test_builtin.BuiltinTest) ... ok test_general_eval (test.test_builtin.BuiltinTest) ... ok test_getattr (test.test_builtin.BuiltinTest) ... ok test_hasattr (test.test_builtin.BuiltinTest) ... ok test_hash (test.test_builtin.BuiltinTest) ... ok test_hex (test.test_builtin.BuiltinTest) ... ok test_id (test.test_builtin.BuiltinTest) ... ok test_import (test.test_builtin.BuiltinTest) ... ok test_input_and_raw_input (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1: DeprecationWarning: classic int division # Python test set -- built-in functions /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1118: DeprecationWarning: classic int division if 1/2 == 0: ok test_intern (test.test_builtin.BuiltinTest) ... ok test_isinstance (test.test_builtin.BuiltinTest) ... ok test_issubclass (test.test_builtin.BuiltinTest) ... ok test_iter (test.test_builtin.BuiltinTest) ... ok test_len (test.test_builtin.BuiltinTest) ... ok test_map (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:732: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) map(None, 'hello world'), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:736: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) map(None, 'abcd', 'efg'), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:740: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) map(None, range(10)), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:778: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) map(None, Squares(10)), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:786: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) map(None, Squares(3), Squares(2)), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:790: DeprecationWarning: comparing unequal types not supported in 3.x map(max, Squares(3), Squares(2)), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:795: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) self.assertEqual(map(None, [42]), [42]) ok test_max (test.test_builtin.BuiltinTest) ... ok test_min (test.test_builtin.BuiltinTest) ... ok test_neg (test.test_builtin.BuiltinTest) ... ok test_next (test.test_builtin.BuiltinTest) ... ok test_oct (test.test_builtin.BuiltinTest) ... ok test_open (test.test_builtin.BuiltinTest) ... ok test_ord (test.test_builtin.BuiltinTest) ... ok test_pow (test.test_builtin.BuiltinTest) ... ok test_range (test.test_builtin.BuiltinTest) ... ok test_reduce (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1138: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(lambda x, y: x+y, ['a', 'b', 'c'], ''), 'abc') /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1140: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() reduce(lambda x, y: x+y, [['a', 'c'], [], ['d', 'w']], []), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1143: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(lambda x, y: x*y, range(2,8), 1), 5040) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1145: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() reduce(lambda x, y: x*y, range(2,21), 1L), /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1148: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(lambda x, y: x+y, Squares(10)), 285) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1149: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(lambda x, y: x+y, Squares(10), 0), 285) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1150: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(lambda x, y: x+y, Squares(0), 0), 0) /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() callableObj(*args, **kwargs) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1154: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(42, "1"), "1") # func is never called with one item /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1155: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(42, "", "1"), "1") # func is never called with one item ok test_reload (test.test_builtin.BuiltinTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1165: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(marshal) /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1167: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(string) ok test_repr (test.test_builtin.BuiltinTest) ... ok test_round (test.test_builtin.BuiltinTest) ... ok test_setattr (test.test_builtin.BuiltinTest) ... ok test_sum (test.test_builtin.BuiltinTest) ... ok test_type (test.test_builtin.BuiltinTest) ... ok test_unichr (test.test_builtin.BuiltinTest) ... ok test_vars (test.test_builtin.BuiltinTest) ... ok test_zip (test.test_builtin.BuiltinTest) ... ok test_baddecorator (test.test_builtin.TestSorted) ... ok test_basic (test.test_builtin.TestSorted) ... /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py:1491: DeprecationWarning: the cmp argument is not supported in 3.x self.assertEqual(data, sorted(copy, cmp=lambda x, y: cmp(y,x))) ok test_inputtypes (test.test_builtin.TestSorted) ... ok ---------------------------------------------------------------------- Ran 55 tests in 0.016s OK test_exceptions Lib/test/regrtest.py:657: DeprecationWarning: the cPickle module has been removed in Python 3.0 the_package = __import__(abstest, globals(), locals(), []) testAttributes (test.test_exceptions.ExceptionTests) ... ok testDeprecatedMessageAttribute (test.test_exceptions.ExceptionTests) ... ok testInfiniteRecursion (test.test_exceptions.ExceptionTests) ... ok testKeywordArgs (test.test_exceptions.ExceptionTests) ... ok testPickleMessageAttribute (test.test_exceptions.ExceptionTests) ... ok testRaising (test.test_exceptions.ExceptionTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_exceptions.py:111: DeprecationWarning: classic int division try: x = 1/0 /home/exarkun/Projects/python/trunk/Lib/test/test_exceptions.py:115: DeprecationWarning: classic int division try: x = 1/0 ok testRegularMessageAttribute (test.test_exceptions.ExceptionTests) ... ok testReload (test.test_exceptions.ExceptionTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_exceptions.py:21: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(exceptions) ok testSettingException (test.test_exceptions.ExceptionTests) ... ok testSlicing (test.test_exceptions.ExceptionTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_exceptions.py:351: DeprecationWarning: __getslice__ not supported for exception classes in 3.x; use args attribute self.assertEqual(exc[:], args) ok testSyntaxErrorMessage (test.test_exceptions.ExceptionTests) ... ok testUnicodeStrUsage (test.test_exceptions.ExceptionTests) ... ok test_WindowsError (test.test_exceptions.ExceptionTests) ... ok test_badisinstance (test.test_exceptions.ExceptionTests) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.018s OK test_types test_boolean_ops (test.test_types.TypesTests) ... ok test_buffers (test.test_types.TypesTests) ... /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: buffer() not supported in 3.x callableObj(*args, **kwargs) /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:248: DeprecationWarning: buffer() not supported in 3.x cmp(buffer("abc"), buffer("def")) # used to raise a warning: tp_compare didn't return -1, 0, or 1 /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:252: DeprecationWarning: buffer() not supported in 3.x a = buffer('asdf') /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:261: DeprecationWarning: buffer() not supported in 3.x if str(a + buffer('def')) != 'asdfdef': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:263: DeprecationWarning: buffer() not supported in 3.x if str(buffer(a)) != 'asdf': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:265: DeprecationWarning: buffer() not supported in 3.x if str(buffer(a, 2)) != 'df': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:267: DeprecationWarning: buffer() not supported in 3.x if str(buffer(a, 0, 2)) != 'as': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:269: DeprecationWarning: buffer() not supported in 3.x if str(buffer(a, 1, 2)) != 'sd': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:271: DeprecationWarning: buffer() not supported in 3.x self.assertRaises(ValueError, buffer, buffer('asdf', 1), -1) /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:272: DeprecationWarning: buffer() not supported in 3.x if str(buffer(buffer('asdf', 0, 2), 0)) != 'as': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:274: DeprecationWarning: buffer() not supported in 3.x if str(buffer(buffer('asdf', 0, 2), 0, 5000)) != 'as': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:276: DeprecationWarning: buffer() not supported in 3.x if str(buffer(buffer('asdf', 0, 2), 0, -1)) != 'as': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:278: DeprecationWarning: buffer() not supported in 3.x if str(buffer(buffer('asdf', 0, 2), 1, 2)) != 's': /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:292: DeprecationWarning: buffer() not supported in 3.x try: int(buffer(array.array('c'))) ok test_comparisons (test.test_types.TypesTests) ... ok test_float__format__ (test.test_types.TypesTests) ... ok test_float__format__locale (test.test_types.TypesTests) ... ok test_float_constructor (test.test_types.TypesTests) ... ok test_float_to_string (test.test_types.TypesTests) ... ok test_floats (test.test_types.TypesTests) ... ok test_format_spec_errors (test.test_types.TypesTests) ... ok test_int__format__ (test.test_types.TypesTests) ... ok test_int__format__locale (test.test_types.TypesTests) ... ok test_long__format__ (test.test_types.TypesTests) ... ok test_long_integers (test.test_types.TypesTests) ... ok test_normal_integers (test.test_types.TypesTests) ... ok test_numeric_types (test.test_types.TypesTests) ... ok test_strings (test.test_types.TypesTests) ... ok test_truth_values (test.test_types.TypesTests) ... ok test_type_function (test.test_types.TypesTests) ... ok test_zero_division (test.test_types.TypesTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_types.py:65: DeprecationWarning: classic long division try: 5 / 0L ok ---------------------------------------------------------------------- Ran 19 tests in 0.013s OK test_unittest testAddTypeEqualityFunc (test.test_unittest.Test_TestCase) ... ok testAssertDictContainsSubset (test.test_unittest.Test_TestCase) ... ok testAssertEqual (test.test_unittest.Test_TestCase) ... ok testAssertIn (test.test_unittest.Test_TestCase) ... ok testAssertIs (test.test_unittest.Test_TestCase) ... ok testAssertIsInstance (test.test_unittest.Test_TestCase) ... ok testAssertIsNone (test.test_unittest.Test_TestCase) ... ok testAssertIsNot (test.test_unittest.Test_TestCase) ... ok testAssertMultiLineEqual (test.test_unittest.Test_TestCase) ... ok testAssertNotIsInstance (test.test_unittest.Test_TestCase) ... ok testAssertNotRaisesRegexp (test.test_unittest.Test_TestCase) ... ok testAssertRaisesExcValue (test.test_unittest.Test_TestCase) ... ok testAssertRaisesRegexp (test.test_unittest.Test_TestCase) ... ok testAssertRaisesRegexpMismatch (test.test_unittest.Test_TestCase) ... ok testAssertRegexpMatches (test.test_unittest.Test_TestCase) ... ok testAssertSetEqual (test.test_unittest.Test_TestCase) ... ok testDeepcopy (test.test_unittest.Test_TestCase) ... ok testEquality (test.test_unittest.Test_TestCase) ... /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:760: DeprecationWarning: dict inequality comparisons not supported in 3.x expected.sort() /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:761: DeprecationWarning: dict inequality comparisons not supported in 3.x actual.sort() /home/exarkun/Projects/python/trunk/Lib/unittest/util.py:21: DeprecationWarning: dict inequality comparisons not supported in 3.x if e < a: /home/exarkun/Projects/python/trunk/Lib/unittest/util.py:26: DeprecationWarning: dict inequality comparisons not supported in 3.x elif e > a: ok testInequality (test.test_unittest.Test_TestCase) ... ok testPendingDeprecationMethodNames (test.test_unittest.Test_TestCase) Test fail* methods pending deprecation, they will warn in 3.2. ... ok testShortDescriptionWithMultiLineDocstring (test.test_unittest.Test_TestCase) Tests shortDescription() for a method with a longer docstring. ... ok testShortDescriptionWithOneLineDocstring (test.test_unittest.Test_TestCase) Tests shortDescription() for a method with a docstring. ... ok testShortDescriptionWithoutDocstring (test.test_unittest.Test_TestCase) ... ok testSynonymAssertMethodNames (test.test_unittest.Test_TestCase) Test undocumented method name synonyms. ... ok test_countTestCases (test.test_unittest.Test_TestCase) ... ok test_defaultTestResult (test.test_unittest.Test_TestCase) ... ok test_eq (test.test_unittest.Test_TestCase) ... ok test_failureException__default (test.test_unittest.Test_TestCase) ... ok test_failureException__subclassing__explicit_raise (test.test_unittest.Test_TestCase) ... ok test_failureException__subclassing__implicit_raise (test.test_unittest.Test_TestCase) ... ok test_hash (test.test_unittest.Test_TestCase) ... ok test_id (test.test_unittest.Test_TestCase) ... ok test_init__no_test_name (test.test_unittest.Test_TestCase) ... ok test_init__test_name__invalid (test.test_unittest.Test_TestCase) ... ok test_init__test_name__valid (test.test_unittest.Test_TestCase) ... ok test_ne (test.test_unittest.Test_TestCase) ... ok test_run__uses_defaultTestResult (test.test_unittest.Test_TestCase) ... ok test_run_call_order__error_in_setUp (test.test_unittest.Test_TestCase) ... ok test_run_call_order__error_in_setUp_default_result (test.test_unittest.Test_TestCase) ... ok test_run_call_order__error_in_tearDown (test.test_unittest.Test_TestCase) ... ok test_run_call_order__error_in_tearDown_default_result (test.test_unittest.Test_TestCase) ... ok test_run_call_order__error_in_test (test.test_unittest.Test_TestCase) ... ok test_run_call_order__error_in_test_default_result (test.test_unittest.Test_TestCase) ... ok test_run_call_order__failure_in_test (test.test_unittest.Test_TestCase) ... ok test_run_call_order__failure_in_test_default_result (test.test_unittest.Test_TestCase) ... ok test_run_call_order_default_result (test.test_unittest.Test_TestCase) ... ok test_setUp (test.test_unittest.Test_TestCase) ... ok test_tearDown (test.test_unittest.Test_TestCase) ... ok test_getTestCaseNames (test.test_unittest.Test_TestLoader) ... ok test_getTestCaseNames__inheritance (test.test_unittest.Test_TestLoader) ... ok test_getTestCaseNames__no_tests (test.test_unittest.Test_TestLoader) ... ok test_getTestCaseNames__not_a_TestCase (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromModule__TestCase_subclass (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromModule__load_tests (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromModule__no_TestCase_instances (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromModule__no_TestCase_tests (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromModule__not_a_module (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__callable__TestCase_instance (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__callable__TestCase_instance_ProperSuiteClass (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__callable__TestSuite (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__callable__wrong_type (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__empty_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__malformed_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__module_not_loaded (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_TestCase_subclass (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_TestSuite (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_bad_object (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_empty_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_invalid_testmethod (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_malformed_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_not_a_module (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_testmethod (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_testmethod_ProperSuiteClass (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__relative_unknown_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__unknown_attr_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromName__unknown_module_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__callable__TestCase_instance (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__callable__TestSuite (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__callable__call_staticmethod (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__callable__wrong_type (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__empty_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__empty_name_list (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__malformed_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__module_not_loaded (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_TestCase_subclass (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_TestSuite (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_bad_object (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_empty_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_empty_name_list (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_invalid_testmethod (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_malformed_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_not_a_module (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__relative_testmethod (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__unknown_attr_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__unknown_module_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__unknown_name_relative_1 (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromNames__unknown_name_relative_2 (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromTestCase (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromTestCase__TestSuite_subclass (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromTestCase__default_method_name (test.test_unittest.Test_TestLoader) ... ok test_loadTestsFromTestCase__no_matches (test.test_unittest.Test_TestLoader) ... ok test_sortTestMethodsUsing__None (test.test_unittest.Test_TestLoader) ... ok test_sortTestMethodsUsing__default_value (test.test_unittest.Test_TestLoader) ... ok test_sortTestMethodsUsing__getTestCaseNames (test.test_unittest.Test_TestLoader) ... ok test_sortTestMethodsUsing__loadTestsFromModule (test.test_unittest.Test_TestLoader) ... ok test_sortTestMethodsUsing__loadTestsFromName (test.test_unittest.Test_TestLoader) ... ok test_sortTestMethodsUsing__loadTestsFromNames (test.test_unittest.Test_TestLoader) ... ok test_sortTestMethodsUsing__loadTestsFromTestCase (test.test_unittest.Test_TestLoader) ... ok test_suiteClass__default_value (test.test_unittest.Test_TestLoader) ... ok test_suiteClass__loadTestsFromModule (test.test_unittest.Test_TestLoader) ... ok test_suiteClass__loadTestsFromName (test.test_unittest.Test_TestLoader) ... ok test_suiteClass__loadTestsFromNames (test.test_unittest.Test_TestLoader) ... ok test_suiteClass__loadTestsFromTestCase (test.test_unittest.Test_TestLoader) ... ok test_testMethodPrefix__default_value (test.test_unittest.Test_TestLoader) ... ok test_testMethodPrefix__loadTestsFromModule (test.test_unittest.Test_TestLoader) ... ok test_testMethodPrefix__loadTestsFromName (test.test_unittest.Test_TestLoader) ... ok test_testMethodPrefix__loadTestsFromNames (test.test_unittest.Test_TestLoader) ... ok test_testMethodPrefix__loadTestsFromTestCase (test.test_unittest.Test_TestLoader) ... ok test_addTest__TestCase (test.test_unittest.Test_TestSuite) ... ok test_addTest__TestSuite (test.test_unittest.Test_TestSuite) ... ok test_addTest__casesuiteclass (test.test_unittest.Test_TestSuite) ... ok test_addTest__noncallable (test.test_unittest.Test_TestSuite) ... ok test_addTest__noniterable (test.test_unittest.Test_TestSuite) ... ok test_addTests (test.test_unittest.Test_TestSuite) ... ok test_addTests__string (test.test_unittest.Test_TestSuite) ... ok test_countTestCases_nested (test.test_unittest.Test_TestSuite) ... ok test_countTestCases_simple (test.test_unittest.Test_TestSuite) ... ok test_countTestCases_zero_nested (test.test_unittest.Test_TestSuite) ... ok test_countTestCases_zero_simple (test.test_unittest.Test_TestSuite) ... ok test_eq (test.test_unittest.Test_TestSuite) ... ok test_init__TestSuite_instances_in_tests (test.test_unittest.Test_TestSuite) ... ok test_init__empty_tests (test.test_unittest.Test_TestSuite) ... ok test_init__tests_from_any_iterable (test.test_unittest.Test_TestSuite) ... ok test_init__tests_optional (test.test_unittest.Test_TestSuite) ... ok test_iter (test.test_unittest.Test_TestSuite) ... ok test_ne (test.test_unittest.Test_TestSuite) ... ok test_run (test.test_unittest.Test_TestSuite) ... ok test_run__empty_suite (test.test_unittest.Test_TestSuite) ... ok test_run__requires_result (test.test_unittest.Test_TestSuite) ... ok test_addError (test.test_unittest.Test_TestResult) ... ok test_addFailure (test.test_unittest.Test_TestResult) ... ok test_addSuccess (test.test_unittest.Test_TestResult) ... ok test_init (test.test_unittest.Test_TestResult) ... ok test_startTest (test.test_unittest.Test_TestResult) ... ok test_startTestRun_stopTestRun (test.test_unittest.Test_TestResult) ... ok test_stop (test.test_unittest.Test_TestResult) ... ok test_stopTest (test.test_unittest.Test_TestResult) ... ok test_countTestCases (test.test_unittest.Test_FunctionTestCase) ... ok test_id (test.test_unittest.Test_FunctionTestCase) ... ok test_run_call_order__error_in_setUp (test.test_unittest.Test_FunctionTestCase) ... ok test_run_call_order__error_in_tearDown (test.test_unittest.Test_FunctionTestCase) ... ok test_run_call_order__error_in_test (test.test_unittest.Test_FunctionTestCase) ... ok test_run_call_order__failure_in_test (test.test_unittest.Test_FunctionTestCase) ... ok test_shortDescription__no_docstring (test.test_unittest.Test_FunctionTestCase) ... ok test_shortDescription__singleline_docstring (test.test_unittest.Test_FunctionTestCase) ... ok test_expected_failure (test.test_unittest.Test_TestSkipping) ... ok test_skip_class (test.test_unittest.Test_TestSkipping) ... ok test_skipping (test.test_unittest.Test_TestSkipping) ... ok test_skipping_decorators (test.test_unittest.Test_TestSkipping) ... ok test_unexpected_success (test.test_unittest.Test_TestSkipping) ... ok test_AlmostEqual (test.test_unittest.Test_Assertions) ... ok test_assertRaises (test.test_unittest.Test_Assertions) ... /home/exarkun/Projects/python/trunk/Lib/test/test_unittest.py:3058: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assert_("KeyError not raised" in e, str(e)) /home/exarkun/Projects/python/trunk/Lib/test/test_unittest.py:3075: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assert_("KeyError not raised" in e, str(e)) ok testAlmostEqual (test.test_unittest.TestLongMessage) ... ok testAssertDictContainsSubset (test.test_unittest.TestLongMessage) ... ok testAssertDictEqual (test.test_unittest.TestLongMessage) ... ok testAssertFalse (test.test_unittest.TestLongMessage) ... ok testAssertGreater (test.test_unittest.TestLongMessage) ... ok testAssertGreaterEqual (test.test_unittest.TestLongMessage) ... ok testAssertIn (test.test_unittest.TestLongMessage) ... ok testAssertIs (test.test_unittest.TestLongMessage) ... ok testAssertIsNone (test.test_unittest.TestLongMessage) ... ok testAssertIsNot (test.test_unittest.TestLongMessage) ... ok testAssertIsNotNone (test.test_unittest.TestLongMessage) ... ok testAssertLess (test.test_unittest.TestLongMessage) ... ok testAssertLessEqual (test.test_unittest.TestLongMessage) ... ok testAssertMultiLineEqual (test.test_unittest.TestLongMessage) ... ok testAssertNotIn (test.test_unittest.TestLongMessage) ... ok testAssertSameElements (test.test_unittest.TestLongMessage) ... ok testAssertSequenceEqual (test.test_unittest.TestLongMessage) ... ok testAssertSetEqual (test.test_unittest.TestLongMessage) ... ok testAssertTrue (test.test_unittest.TestLongMessage) ... ok testDefault (test.test_unittest.TestLongMessage) ... ok testNotAlmostEqual (test.test_unittest.TestLongMessage) ... ok testNotEqual (test.test_unittest.TestLongMessage) ... ok test_baseAssertEqual (test.test_unittest.TestLongMessage) ... ok test_formatMsg (test.test_unittest.TestLongMessage) ... ok testNoExit (test.test_unittest.Test_TestProgram) ... ok test_Exit (test.test_unittest.Test_TestProgram) ... ok test_ExitAsDefault (test.test_unittest.Test_TestProgram) ... ok test_NonExit (test.test_unittest.Test_TestProgram) ... ok testCleanUp (test.test_unittest.TestCleanUp) ... ok testCleanUpWithErrors (test.test_unittest.TestCleanUp) ... ok testCleanupInRun (test.test_unittest.TestCleanUp) ... ok test_command_line_handling_do_discovery_calls_loader (test.test_unittest.TestDiscovery) ... ok test_command_line_handling_do_discovery_too_many_arguments (test.test_unittest.TestDiscovery) ... ok test_command_line_handling_parseArgs (test.test_unittest.TestDiscovery) ... ok test_discover (test.test_unittest.TestDiscovery) ... ok test_discover_with_modules_that_fail_to_import (test.test_unittest.TestDiscovery) ... ok test_find_tests (test.test_unittest.TestDiscovery) ... ok test_find_tests_with_package (test.test_unittest.TestDiscovery) ... /home/exarkun/Projects/python/trunk/Lib/test/test_unittest.py:3564: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class Module(object): ok test_get_name_from_path (test.test_unittest.TestDiscovery) ... ok ---------------------------------------------------------------------- Ran 201 tests in 0.052s OK test_doctest Trying: runner = DebugRunner(verbose=False) Expecting nothing ok Trying: test = DocTestParser().get_doctest('>>> raise KeyError\n42', {}, 'foo', 'foo.py', 0) Expecting nothing ok Trying: try: runner.run(test) except UnexpectedException, failure: pass Expecting nothing ok Trying: failure.test is test Expecting: True ok Trying: failure.example.want Expecting: '42\n' ok Trying: exc_info = failure.exc_info Expecting nothing ok Trying: raise exc_info[0], exc_info[1], exc_info[2] Expecting: Traceback (most recent call last): ... KeyError ok Trying: test = DocTestParser().get_doctest(''' >>> x = 1 >>> x 2 ''', {}, 'foo', 'foo.py', 0) Expecting nothing ok Trying: try: runner.run(test) except DocTestFailure, failure: pass Expecting nothing ok Trying: failure.test is test Expecting: True ok Trying: failure.example.want Expecting: '2\n' ok Trying: failure.got Expecting: '1\n' ok Trying: del test.globs['__builtins__'] Expecting nothing ok Trying: test.globs Expecting: {'x': 1} ok Trying: test = DocTestParser().get_doctest(''' >>> x = 2 >>> raise KeyError ''', {}, 'foo', 'foo.py', 0) Expecting nothing ok Trying: runner.run(test) Expecting: Traceback (most recent call last): ... UnexpectedException: ok Trying: del test.globs['__builtins__'] Expecting nothing ok Trying: test.globs Expecting: {'x': 2} ok Trying: test = DocTestParser().get_doctest(''' >>> x = 2 ''', {}, 'foo', 'foo.py', 0) Expecting nothing ok Trying: runner.run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: test.globs Expecting: {} ok Trying: test = DocTestParser().get_doctest('>>> raise KeyError\n42', {}, 'foo', 'foo.py', 0) Expecting nothing ok Trying: case = DocTestCase(test) Expecting nothing ok Trying: try: case.debug() except UnexpectedException, failure: pass Expecting nothing ok Trying: failure.test is test Expecting: True ok Trying: failure.example.want Expecting: '42\n' ok Trying: exc_info = failure.exc_info Expecting nothing ok Trying: raise exc_info[0], exc_info[1], exc_info[2] Expecting: Traceback (most recent call last): ... KeyError ok Trying: test = DocTestParser().get_doctest(''' >>> x = 1 >>> x 2 ''', {}, 'foo', 'foo.py', 0) Expecting nothing ok Trying: case = DocTestCase(test) Expecting nothing ok Trying: try: case.debug() except DocTestFailure, failure: pass Expecting nothing ok Trying: failure.test is test Expecting: True ok Trying: failure.example.want Expecting: '2\n' ok Trying: failure.got Expecting: '1\n' ok Trying: tests = DocTestFinder().find(_TestClass) Expecting nothing ok Trying: runner = DocTestRunner(verbose=False) Expecting nothing ok Trying: tests.sort(key = lambda test: test.name) Expecting nothing ok Trying: for test in tests: print test.name, '->', runner.run(test) Expecting: _TestClass -> TestResults(failed=0, attempted=2) _TestClass.__init__ -> TestResults(failed=0, attempted=2) _TestClass.get -> TestResults(failed=0, attempted=2) _TestClass.square -> TestResults(failed=0, attempted=1) ok Trying: runner.summarize(verbose=1) Expecting: 4 items passed all tests: 2 tests in _TestClass 2 tests in _TestClass.__init__ 2 tests in _TestClass.get 1 tests in _TestClass.square 7 tests in 4 items. 7 passed and 0 failed. Test passed. TestResults(failed=0, attempted=7) ok Trying: runner.tries Expecting: 7 ok Trying: runner.failures Expecting: 0 ok Trying: _TestClass(13).get() + _TestClass(-12).get() Expecting: 1 ok Trying: hex(_TestClass(13).square().get()) Expecting: '0xa9' ok Trying: t = _TestClass(123) Expecting nothing ok Trying: print t.get() Expecting: 123 ok Trying: x = _TestClass(-42) Expecting nothing ok Trying: print x.get() Expecting: -42 ok Trying: _TestClass(13).square().get() Expecting: 169 ok Trying: print 'foo\n\nbar\n' Expecting: foo bar ok Trying: 4 == 4 Expecting: 1 ok Trying: 4 == 4 Expecting: True ok Trying: 4 > 4 Expecting: 0 ok Trying: 4 > 4 Expecting: False ok Trying: print range(1000) #doctest: +ELLIPSIS Expecting: [0, 1, 2, ..., 999] ok Trying: x = 1; y = 2 Expecting nothing ok Trying: x + y, x * y Expecting: (3, 2) ok Trying: print range(30) #doctest: +NORMALIZE_WHITESPACE Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29] ok Trying: _ellipsis_match('aa...aa', 'aaa') Expecting: False ok Trying: text = ''' Here are examples of simple math. Python has super accurate integer addition >>> 2 + 2 5 And very friendly error messages: >>> 1/0 To Infinity And Beyond You can use logic if you want: >>> if 0: ... blah ... blah ... Ho hum ''' Expecting nothing ok Trying: print script_from_examples(text) Expecting: # Here are examples of simple math. # # Python has super accurate integer addition # 2 + 2 # Expected: ## 5 # # And very friendly error messages: # 1/0 # Expected: ## To Infinity ## And ## Beyond # # You can use logic if you want: # if 0: blah blah # # Ho hum ok Trying: import doctest Expecting nothing ok Trying: old = doctest._unittest_reportflags Expecting nothing ok Trying: doctest.set_unittest_reportflags(REPORT_NDIFF | REPORT_ONLY_FIRST_FAILURE) == old Expecting: True ok Trying: doctest._unittest_reportflags == (REPORT_NDIFF | REPORT_ONLY_FIRST_FAILURE) Expecting: True ok Trying: doctest.set_unittest_reportflags(ELLIPSIS) Expecting: Traceback (most recent call last): ... ValueError: ('Only reporting flags allowed', 8) ok Trying: doctest.set_unittest_reportflags(old) == (REPORT_NDIFF | REPORT_ONLY_FIRST_FAILURE) Expecting: True ok 99 items had no tests: doctest doctest.DebugRunner.report_failure doctest.DebugRunner.report_unexpected_exception doctest.DebugRunner.run doctest.DocFileCase doctest.DocFileCase.__str__ doctest.DocFileCase.format_failure doctest.DocFileCase.id doctest.DocFileSuite doctest.DocFileTest doctest.DocTest doctest.DocTest.__cmp__ doctest.DocTest.__init__ doctest.DocTest.__repr__ doctest.DocTestCase doctest.DocTestCase.__init__ doctest.DocTestCase.__repr__ doctest.DocTestCase.format_failure doctest.DocTestCase.id doctest.DocTestCase.runTest doctest.DocTestCase.setUp doctest.DocTestCase.shortDescription doctest.DocTestCase.tearDown doctest.DocTestFailure doctest.DocTestFailure.__init__ doctest.DocTestFailure.__str__ doctest.DocTestFinder doctest.DocTestFinder.__init__ doctest.DocTestFinder._find doctest.DocTestFinder._find_lineno doctest.DocTestFinder._from_module doctest.DocTestFinder._get_test doctest.DocTestFinder.find doctest.DocTestParser doctest.DocTestParser._check_prefix doctest.DocTestParser._check_prompt_blank doctest.DocTestParser._find_options doctest.DocTestParser._min_indent doctest.DocTestParser._parse_example doctest.DocTestParser.get_doctest doctest.DocTestParser.get_examples doctest.DocTestParser.parse doctest.DocTestRunner._DocTestRunner__patched_linecache_getlines doctest.DocTestRunner._DocTestRunner__record_outcome doctest.DocTestRunner._DocTestRunner__run doctest.DocTestRunner.__init__ doctest.DocTestRunner._failure_header doctest.DocTestRunner.merge doctest.DocTestRunner.report_failure doctest.DocTestRunner.report_start doctest.DocTestRunner.report_success doctest.DocTestRunner.report_unexpected_exception doctest.DocTestRunner.run doctest.DocTestRunner.summarize doctest.DocTestSuite doctest.Example doctest.Example.__init__ doctest.OutputChecker doctest.OutputChecker._do_a_fancy_diff doctest.OutputChecker.check_output doctest.OutputChecker.output_difference doctest.TestResults doctest.TestResults.attempted doctest.TestResults.failed doctest.Tester doctest.Tester.__init__ doctest.Tester.merge doctest.Tester.run__test__ doctest.Tester.rundict doctest.Tester.rundoc doctest.Tester.runstring doctest.Tester.summarize doctest.UnexpectedException doctest.UnexpectedException.__init__ doctest.UnexpectedException.__str__ doctest._OutputRedirectingPdb doctest._OutputRedirectingPdb.__init__ doctest._OutputRedirectingPdb.set_continue doctest._OutputRedirectingPdb.set_trace doctest._OutputRedirectingPdb.trace_dispatch doctest._SpoofOut doctest._SpoofOut.getvalue doctest._SpoofOut.truncate doctest._comment_line doctest._exception_traceback doctest._extract_future_flags doctest._indent doctest._load_testfile doctest._module_relative_path doctest._normalize_module doctest._test doctest.debug doctest.debug_script doctest.debug_src doctest.register_optionflag doctest.run_docstring_examples doctest.testfile doctest.testmod doctest.testsource 15 items passed all tests: 21 tests in doctest.DebugRunner 13 tests in doctest.DocTestCase.debug 7 tests in doctest.DocTestRunner 2 tests in doctest._TestClass 2 tests in doctest._TestClass.__init__ 2 tests in doctest._TestClass.get 1 tests in doctest._TestClass.square 1 tests in doctest.__test__.blank lines 4 tests in doctest.__test__.bool-int equivalence 1 tests in doctest.__test__.ellipsis 2 tests in doctest.__test__.string 1 tests in doctest.__test__.whitespace normalization 1 tests in doctest._ellipsis_match 2 tests in doctest.script_from_examples 6 tests in doctest.set_unittest_reportflags 66 tests in 114 items. 66 passed and 0 failed. Test passed. doctest (doctest) ... 66 tests with zero failures Trying: print 1 Expecting: 1 ok Trying: sc = SampleClass(3) Expecting nothing ok Trying: for i in range(10): sc = sc.double() print sc.get(), Expecting: 6 12 24 48 96 192 384 768 1536 3072 ok Trying: x = SampleClass.NestedClass(5) Expecting nothing ok Trying: y = x.square() Expecting nothing ok Trying: print y.get() Expecting: 25 ok Trying: print SampleClass.NestedClass().get() Expecting: 0 ok Trying: print SampleClass(12).get() Expecting: 12 ok Trying: print SampleClass.a_classmethod(10) Expecting: 12 ok Trying: print SampleClass(0).a_classmethod(10) Expecting: 12 ok Trying: print SampleClass(22).a_property Expecting: 22 ok Trying: print SampleClass.a_staticmethod(10) Expecting: 11 ok Trying: print SampleClass(12).double().get() Expecting: 24 ok Trying: print SampleClass(-5).get() Expecting: -5 ok Trying: print '1\n2\n3' Expecting: 1 2 3 ok Trying: print SampleNewStyleClass(12).get() Expecting: 12 ok Trying: print SampleNewStyleClass(12).double().get() Expecting: 24 ok Trying: print SampleNewStyleClass(-5).get() Expecting: -5 ok Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={'x': 42}, verbose=0) Expecting nothing ok Trying: t.runstring(r''' >>> x = x * 2 >>> print x 42 ''', 'XYZ') Expecting: ********************************************************************** Line 3, in XYZ Failed example: print x Expected: 42 Got: 84 TestResults(failed=1, attempted=2) ok Trying: t.runstring(">>> x = x * 2\n>>> print x\n84\n", 'example2') Expecting: TestResults(failed=0, attempted=2) ok Trying: t.summarize() Expecting: ********************************************************************** 1 items had failures: 1 of 2 in XYZ ***Test Failed*** 1 failures. TestResults(failed=1, attempted=4) ok Trying: t.summarize(verbose=1) Expecting: 1 items passed all tests: 2 tests in example2 ********************************************************************** 1 items had failures: 1 of 2 in XYZ 4 tests in 2 items. 3 passed and 1 failed. ***Test Failed*** 1 failures. TestResults(failed=1, attempted=4) ok Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={}, verbose=1) Expecting nothing ok Trying: test = r''' # just an example >>> x = 1 + 2 >>> x 3 ''' Expecting nothing ok Trying: t.runstring(test, "Example") Expecting: Running string Example Trying: x = 1 + 2 Expecting nothing ok Trying: x Expecting: 3 ok 0 of 2 examples failed in string Example TestResults(failed=0, attempted=2) ok Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={}, verbose=0) Expecting nothing ok Trying: def _f(): '''Trivial docstring example. >>> assert 2 == 2 ''' return 32 Expecting nothing ok Trying: t.rundoc(_f) # expect 0 failures in 1 example Expecting: TestResults(failed=0, attempted=1) ok Trying: import types Expecting nothing ok Trying: m1 = types.ModuleType('_m1') Expecting nothing ok Trying: m2 = types.ModuleType('_m2') Expecting nothing ok Trying: test_data = """ def _f(): '''>>> assert 1 == 1 ''' def g(): '''>>> assert 2 != 1 ''' class H: '''>>> assert 2 > 1 ''' def bar(self): '''>>> assert 1 < 2 ''' """ Expecting nothing ok Trying: exec test_data in m1.__dict__ Expecting nothing ok Trying: exec test_data in m2.__dict__ Expecting nothing ok Trying: m1.__dict__.update({"f2": m2._f, "g2": m2.g, "h2": m2.H}) Expecting nothing ok Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={}, verbose=0) Expecting nothing ok Trying: t.rundict(m1.__dict__, "rundict_test", m1) # f2 and g2 and h2 skipped Expecting: TestResults(failed=0, attempted=4) ok Trying: t = Tester(globs={}, verbose=0) Expecting nothing ok Trying: t.rundict(m1.__dict__, "rundict_test_pvt") # None are skipped. Expecting: TestResults(failed=0, attempted=8) ok Trying: doctest.testmod(m1, verbose=False) Expecting: TestResults(failed=0, attempted=4) ok Trying: print sample_func(22) Expecting: 44 ok Trying: import unittest Expecting nothing ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', 'test_doctest2.txt', 'test_doctest4.txt') Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: import unittest Expecting nothing ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', 'test_doctest2.txt', 'test_doctest4.txt', package='test') Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: import unittest, pkgutil, test Expecting nothing ok Trying: added_loader = False Expecting nothing ok Trying: if not hasattr(test, '__loader__'): test.__loader__ = pkgutil.get_loader(test) added_loader = True Expecting nothing ok Trying: try: suite = doctest.DocFileSuite('test_doctest.txt', 'test_doctest2.txt', 'test_doctest4.txt', package='test') suite.run(unittest.TestResult()) finally: if added_loader: del test.__loader__ Expecting: ok Trying: suite = doctest.DocFileSuite('../test/test_doctest.txt') Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: import types, os.path, test.test_doctest Expecting nothing ok Trying: save_argv = sys.argv Expecting nothing ok Trying: sys.argv = [test.test_doctest.__file__] Expecting nothing ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', package=types.ModuleType('__main__')) Expecting nothing ok Trying: sys.argv = save_argv Expecting nothing ok Trying: test_doctest_path = os.path.abspath(test.test_doctest.__file__) Expecting nothing ok Trying: test_pkg_path = os.path.split(test_doctest_path)[0] Expecting nothing ok Trying: test_file = os.path.join(test_pkg_path, 'test_doctest.txt') Expecting nothing ok Trying: suite = doctest.DocFileSuite(test_file, module_relative=False) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocFileSuite(test_file, module_relative=False, package='test') Expecting: Traceback (most recent call last): ValueError: Package may only be specified for module-relative paths. ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', 'test_doctest2.txt', 'test_doctest4.txt', globs={'favorite_color': 'blue'}) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', 'test_doctest2.txt', 'test_doctest4.txt', optionflags=doctest.DONT_ACCEPT_BLANKLINE, globs={'favorite_color': 'blue'}) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: def setUp(t): import test.test_doctest test.test_doctest.sillySetup = True Expecting nothing ok Trying: def tearDown(t): import test.test_doctest del test.test_doctest.sillySetup Expecting nothing ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', 'test_doctest2.txt', 'test_doctest4.txt', setUp=setUp, tearDown=tearDown) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: import test.test_doctest Expecting nothing ok Trying: test.test_doctest.sillySetup Expecting: Traceback (most recent call last): ... AttributeError: 'module' object has no attribute 'sillySetup' ok Trying: def setUp(test): test.globs['favorite_color'] = 'blue' Expecting nothing ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', setUp=setUp) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocFileSuite('test_doctest3.txt') Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocFileSuite('test_doctest.txt', 'test_doctest2.txt', 'test_doctest4.txt', encoding='utf-8') Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: docstring = ''' >>> print 12 12 Non-example text. >>> print 'another\example' another example ''' Expecting nothing ok Trying: globs = {} # globals to run the test in. Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: test = parser.get_doctest(docstring, globs, 'some_test', 'some_file', 20) Expecting nothing ok Trying: print test Expecting: ok Trying: len(test.examples) Expecting: 2 ok Trying: e1, e2 = test.examples Expecting nothing ok Trying: (e1.source, e1.want, e1.lineno) Expecting: ('print 12\n', '12\n', 1) ok Trying: (e2.source, e2.want, e2.lineno) Expecting: ("print 'another\\example'\n", 'another\nexample\n', 6) ok Trying: (test.name, test.filename, test.lineno) Expecting: ('some_test', 'some_file', 20) ok Trying: test.lineno + e1.lineno Expecting: 21 ok Trying: test.lineno + e2.lineno Expecting: 26 ok Trying: docstring = r''' >>> print 'bad\nindentation' bad indentation ''' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 4 of the docstring for some_test has inconsistent leading whitespace: 'indentation' ok Trying: docstring = r''' >>> print ('bad indentation', ... 2) ('bad', 'indentation') ''' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 2 of the docstring for some_test has inconsistent leading whitespace: '... 2)' ok Trying: docstring = '>>>print 1\n1' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the docstring for some_test lacks blank after >>>: '>>>print 1' ok Trying: docstring = '>>> if 1:\n...print 1\n1' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 2 of the docstring for some_test lacks blank after ...: '...print 1' ok Trying: finder = doctest.DocTestFinder() Expecting nothing ok Trying: import test.test_doctest Expecting nothing ok Trying: old = test.test_doctest.__file__ Expecting nothing ok Trying: test.test_doctest.__file__ = 'test_doctest.pyc' Expecting nothing ok Trying: tests = finder.find(sample_func) Expecting nothing ok Trying: print tests # doctest: +ELLIPSIS Expecting: [] ok Trying: tests[0].filename # doctest: +ELLIPSIS Expecting: '...test_doctest.py' ok Trying: test.test_doctest.__file__ = old Expecting nothing ok Trying: e = tests[0].examples[0] Expecting nothing ok Trying: (e.source, e.want, e.lineno) Expecting: ('print sample_func(22)\n', '44\n', 3) ok Trying: def no_docstring(v): pass Expecting nothing ok Trying: finder.find(no_docstring) Expecting: [] ok Trying: def no_docstring(v): pass Expecting nothing ok Trying: excl_empty_finder = doctest.DocTestFinder(exclude_empty=True) Expecting nothing ok Trying: excl_empty_finder.find(no_docstring) Expecting: [] ok Trying: def no_examples(v): ''' no doctest examples ''' Expecting nothing ok Trying: finder.find(no_examples) # doctest: +ELLIPSIS Expecting: [] ok Trying: finder = doctest.DocTestFinder() Expecting nothing ok Trying: tests = finder.find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass 3 SampleClass.NestedClass 1 SampleClass.NestedClass.__init__ 1 SampleClass.__init__ 2 SampleClass.a_classmethod 1 SampleClass.a_property 1 SampleClass.a_staticmethod 1 SampleClass.double 1 SampleClass.get ok Trying: tests = finder.find(SampleNewStyleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 1 SampleNewStyleClass 1 SampleNewStyleClass.__init__ 1 SampleNewStyleClass.double 1 SampleNewStyleClass.get ok Trying: import types Expecting nothing ok Trying: m = types.ModuleType('some_module') Expecting nothing ok Trying: def triple(val): ''' >>> print triple(11) 33 ''' return val*3 Expecting nothing ok Trying: m.__dict__.update({ 'sample_func': sample_func, 'SampleClass': SampleClass, '__doc__': ''' Module docstring. >>> print 'module' module ''', '__test__': { 'd': '>>> print 6\n6\n>>> print 7\n7\n', 'c': triple}}) Expecting nothing ok Trying: finder = doctest.DocTestFinder() Expecting nothing ok Trying: import test.test_doctest Expecting nothing ok Trying: tests = finder.find(m, module=test.test_doctest) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 1 some_module 3 some_module.SampleClass 3 some_module.SampleClass.NestedClass 1 some_module.SampleClass.NestedClass.__init__ 1 some_module.SampleClass.__init__ 2 some_module.SampleClass.a_classmethod 1 some_module.SampleClass.a_property 1 some_module.SampleClass.a_staticmethod 1 some_module.SampleClass.double 1 some_module.SampleClass.get 1 some_module.__test__.c 2 some_module.__test__.d 1 some_module.sample_func ok Trying: from test import doctest_aliases Expecting nothing ok Trying: assert doctest_aliases.TwoNames.f Expecting nothing ok Trying: assert doctest_aliases.TwoNames.g Expecting nothing ok Trying: tests = excl_empty_finder.find(doctest_aliases) Expecting nothing ok Trying: print len(tests) Expecting: 2 ok Trying: print tests[0].name Expecting: test.doctest_aliases.TwoNames ok Trying: tests[1].name.split('.')[-1] in ['f', 'g'] Expecting: True ok Trying: tests = doctest.DocTestFinder().find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass 3 SampleClass.NestedClass 1 SampleClass.NestedClass.__init__ 1 SampleClass.__init__ 2 SampleClass.a_classmethod 1 SampleClass.a_property 1 SampleClass.a_staticmethod 1 SampleClass.double 1 SampleClass.get ok Trying: tests = doctest.DocTestFinder(exclude_empty=False).find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass 3 SampleClass.NestedClass 1 SampleClass.NestedClass.__init__ 0 SampleClass.NestedClass.get 0 SampleClass.NestedClass.square 1 SampleClass.__init__ 2 SampleClass.a_classmethod 1 SampleClass.a_property 1 SampleClass.a_staticmethod 1 SampleClass.double 1 SampleClass.get ok Trying: tests = doctest.DocTestFinder(recurse=False).find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass ok Trying: def f(x): ''' >>> x = 12 some text >>> # examples are not created for comments & bare prompts. >>> ... >>> for x in range(10): ... print x, 0 1 2 3 4 5 6 7 8 9 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTe:5: SyntaxWarning: backquote not supported in 3.x; use repr() print ' Text:', `piece` stFinder().find(f)[0] Expecting nothing ok Trying: [e.lineno for e in test.examples] Expecting: [1, 9, 12] ok Trying: s = ''' >>> x, y = 2, 3 # no output expected >>> if 1: ... print x ... print y 2 3 Some text. >>> x+y 5 ''' Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: for piece in parser.parse(s): if isinstance(piece, doctest.Example): print 'Example:', (piece.source, piece.want, piece.lineno) else: print ' Text:', `piece` Expecting: Text: '\n' Example: ('x, y = 2, 3 # no output expected\n', '', 1) Text: '' Example: ('if 1:\n print x\n print y\n', '2\n3\n', 2) Text: '\nSome text.\n' Example: ('x+y\n', '5\n', 9) Text: '' ok Trying: for piece in parser.get_examples(s): print (piece.source, piece.want, piece.lineno) Expecting: ('x, y = 2, 3 # no output expected\n', '', 1) ('if 1:\n print x\n print y\n', '2\n3\n', 2) ('x+y\n', '5\n', 9) ok Trying: test = parser.get_doctest(s, {}, 'name', 'filename', lineno=5) Expecting nothing ok Trying: (test.name, test.filename, test.lineno) Expecting: ('name', 'filename', 5) ok Trying: for piece in test.examples: print (piece.source, piece.want, piece.lineno) Expecting: ('x, y = 2, 3 # no output expected\n', '', 1) ('if 1:\n print x\n print y\n', '2\n3\n', 2) ('x+y\n', '5\n', 9) ok Trying: def f(x): ''' >>> x = 12 >>> print x 12 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=3) ok Trying: def f(x): ''' >>> x = 12 >>> print x 14 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=True).run(test) # doctest: +ELLIPSIS Expecting: Trying: x = 12 Expecting nothing ok Trying: print x Expecting: 14 ********************************************************************** File ..., line 4, in f Failed example: print x Expected: 14 Got: 12 Trying: x//2 Expecting: 6 ok TestResults(failed=1, attempted=3) ok Trying: def f(x): ''' >>> x = 12 >>> print x//0 Traceback (most recent call last): ZeroDivisionError: integer division or modulo by zero ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) ok Trying: def f(x): ''' >>> x = 12 >>> print 'pre-exception output', x//0 pre-exception output Traceback (most recent call last): ZeroDivisionError: integer division or modulo by zero ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 4, in f Failed example: print 'pre-exception output', x//0 Exception raised: ... ZeroDivisionError: integer division or modulo by zero TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> raise ValueError, 'multi\nline\nmessage' Traceback (most recent call last): ValueError: multi line message ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: def f(x): r''' >>> raise ValueError, 'message' Traceback (most recent call last): ValueError: wrong message ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: raise ValueError, 'message' Expected: Traceback (most recent call last): ValueError: wrong message Got: Traceback (most recent call last): ... ValueError: message TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> raise ValueError, 'message' #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): ValueError: wrong message ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: def f(x): r''' >>> raise ValueError, 'message' #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): TypeError: wrong type ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: raise ValueError, 'message' #doctest: +IGNORE_EXCEPTION_DETAIL Expected: Traceback (most recent call last): TypeError: wrong type Got: Traceback (most recent call last): ... ValueError: message TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> 1//0 0 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: 1//0 Exception raised: Traceback (most recent call last): ... ZeroDivisionError: integer division or modulo by zero TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> print range(10) # should fail: no ellipsis [0, 1, ..., 9] >>> print range(10) # doctest: +ELLIPSIS [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # should fail: no ellipsis Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) [0, 1, ..., 9] >>> # should fail: no ellipsis >>> print range(10) # doctest: -ELLIPSIS [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=doctest.ELLIPSIS).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 6, in f Failed example: print range(10) # doctest: -ELLIPSIS Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) # Should fail: no ellipsis [0, 1, ..., 9] >>> print range(10) # doctest: +ELLIPSIS [0, 1, ..., 9] >>> print range(10) # Should fail: no ellipsis [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail: no ellipsis Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] ********************************************************************** File ..., line 8, in f Failed example: print range(10) # Should fail: no ellipsis Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=2, attempted=3) ok Trying: def f(x): r''' >>> print range(10) # Should fail [0, 1, ..., 9] >>> print range(10) # Should succeed ... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) # Should fail [0, 1, ..., 9] >>> print range(10) # Should succeed ... # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) # Should fail [0, 1, ..., 9] >>> print range(10) # Should succeed ... # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) ... # doctest: +ELLIPSIS [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: def f(x): r''' >>> for x in range(10): # doctest: +ELLIPSIS ... print x, 0 1 2 ... 9 >>> for x in range(10): ... print x, # doctest: +ELLIPSIS 0 1 2 ... 9 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) ok Trying: def f(x): r''' Should fail (option directive not on the last line): >>> for x in range(10): # doctest: +ELLIPSIS ... print x, # doctest: +NORMALIZE_WHITESPACE 0 1 2...9 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: s = '>>> print 12 #doctest: +BADOPTION' Expecting nothing ok Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the doctest for s has an invalid option: '+BADOPTION' ok Trying: s = '>>> print 12 #doctest: ELLIPSIS' Expecting nothing ok Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the doctest for s has an invalid option: 'ELLIPSIS' ok Trying: s = '>>> # doctest: +ELLIPSIS' Expecting nothing ok Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 0 of the doctest for s has an option directive on a line with no example: '# doctest: +ELLIPSIS' ok Trying: def f(x): '>>> True\n1\n' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.DONT_ACCEPT_TRUE_FOR_1 Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: True Expected: 1 Got: True TestResults(failed=1, attempted=1) ok Trying: def f(x): '>>> print "a\\n\\nb"\na\n\nb\n' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.DONT_ACCEPT_BLANKLINE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print "a\n\nb" Expected: a b Got: a b TestResults(failed=1, attempted=1) ok Trying: def f(x): '>>> print 1, 2, 3\n 1 2\n 3' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print 1, 2, 3 Expected: 1 2 3 Got: 1 2 3 TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.NORMALIZE_WHITESPACE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: print range(20) #doctest: +NORMALIZE_WHITESPACE Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] ok Trying: def f(x): '>>> print range(15)\n[0, 1, 2, ..., 14]\n' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(15) Expected: [0, 1, 2, ..., 14] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.ELLIPSIS Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: for i in range(100): print i**2, #doctest: +ELLIPSIS Expecting: 0 1...4...9 16 ... 36 49 64 ... 9801 ok Trying: for i in range(21): #doctest: +ELLIPSIS print i, Expecting: 0 1 2 ...1...2...0 ok Trying: print range(20) # doctest:+ELLIPSIS Expecting: [0, 1, ..., 18, 19] ok Trying: print range(20) # doctest: +ELLIPSIS # doctest: +NORMALIZE_WHITESPACE Expecting: [0, 1, ..., 18, 19] ok Trying: import random Expecting nothing ok Trying: def f(x): r''' >>> print '\n'.join('abcdefg') a B c d f g h ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print '\n'.join('abcdefg') Expected: a B c d f g h Got: a b c d e f g TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_UDIFF Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print '\n'.join('abcdefg') Differences (unified diff with -expected +actual): @@ -1,7 +1,7 @@ a -B +b c d +e f g -h TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_CDIFF Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print '\n'.join('abcdefg') Differences (context diff with expected followed by actual): *************** *** 1,7 **** a ! B c d f g - h --- 1,7 ---- a ! b c d + e f g TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> print "a b c d e f g h i j k l m" a b c d e f g h i j k 1 m ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_NDIFF Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print "a b c d e f g h i j k l m" Differences (ndiff with -expected +actual): - a b c d e f g h i j k 1 m ? ^ + a b c d e f g h i j k l m ? + ++ ^ TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> print 1 # first success 1 >>> print 2 # first failure 200 >>> print 3 # second failure 300 >>> print 4 # second success 4 >>> print 5 # third failure 500 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_ONLY_FIRST_FAILURE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: print 2 # first failure Expected: 200 Got: 2 TestResults(failed=3, attempted=5) ok Trying: doctest.DocTestRunner(verbose=True, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: Trying: print 1 # first success Expecting: 1 ok Trying: print 2 # first failure Expecting: 200 ********************************************************************** File ..., line 5, in f Failed example: print 2 # first failure Expected: 200 Got: 2 TestResults(failed=3, attempted=5) ok Trying: def f(x): r''' >>> print 1 # first success 1 >>> raise ValueError(2) # first failure 200 >>> print 3 # second failure 300 >>> print 4 # second success 4 >>> print 5 # third failure 500 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_ONLY_FIRST_FAILURE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: raise ValueError(2) # first failure Exception raised: ... ValueError: 2 TestResults(failed=3, attempted=5) ok Trying: unlikely = "UNLIKELY_OPTION_NAME" Expecting nothing ok Trying: unlikely in doctest.OPTIONFLAGS_BY_NAME Expecting: False ok Trying: new_flag_value = doctest.register_optionflag(unlikely) Expecting nothing ok Trying: unlikely in doctest.OPTIONFLAGS_BY_NAME Expecting: True ok Trying: redundant_flag_value = doctest.register_optionflag(unlikely) Expecting nothing ok Trying: redundant_flag_value == new_flag_value Expecting: True ok Trying: del doctest.OPTIONFLAGS_BY_NAME[unlikely] Expecting nothing ok Trying: def f(x): ''' >>> x = 12 >>> print x 12 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=True).run(test) Expecting: Trying: x = 12 Expecting nothing ok Trying: print x Expecting: 12 ok Trying: x//2 Expecting: 6 ok TestResults(failed=0, attempted=3) ok Trying: old_argv = sys.argv Expecting nothing ok Trying: sys.argv = ['test'] Expecting nothing ok Trying: doctest.DocTestRunner().run(test) Expecting: TestResults(failed=0, attempted=3) ok Trying: sys.argv = ['test', '-v'] Expecting nothing ok Trying: doctest.DocTestRunner().run(test) Expecting: Trying: x = 12 Expecting nothing ok Trying: print x Expecting: 12 ok Trying: x//2 Expecting: 6 ok TestResults(failed=0, attempted=3) ok Trying: sys.argv = old_argv Expecting nothing ok Trying: import unittest Expecting nothing ok Trying: import test.sample_doctest Expecting nothing ok Trying: suite = doctest.DocTestSuite(test.sample_doctest) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('test.sample_doctest') Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = test.sample_doctest.test_suite() Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('test.sample_doctest', globs={}) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('test.sample_doctest', extraglobs={'y': 1}) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('test.sample_doctest', optionflags=doctest.DONT_ACCEPT_BLANKLINE) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: def setUp(t): import test.test_doctest test.test_doctest.sillySetup = True Expecting nothing ok Trying: def tearDown(t): import test.test_doctest del test.test_doctest.sillySetup Expecting nothing ok Trying: suite = doctest.DocTestSuite('test.sample_doctest', setUp=setUp, tearDown=tearDown) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: import test.test_doctest Expecting nothing ok Trying: test.test_doctest.sillySetup Expecting: Traceback (most recent call last): ... AttributeError: 'module' object has no attribute 'sillySetup' ok Trying: def setUp(test): test.globs['y'] = 1 Expecting nothing ok Trying: suite = doctest.DocTestSuite('test.sample_doctest', setUp=setUp) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: example = doctest.Example('print 1', '1\n') Expecting nothing ok Trying: (example.source, example.want, example.exc_msg, example.lineno, example.indent, example.options) Expecting: ('print 1\n', '1\n', None, 0, 0, {}) ok Trying: exc_msg = 'IndexError: pop from an empty list' Expecting nothing ok Trying: example = doctest.Example('[].pop()', '', exc_msg, lineno=5, indent=4, options={doctest.ELLIPSIS: True}) Expecting nothing ok Trying: (example.source, example.want, example.exc_msg, example.lineno, example.indent, example.options) Expecting: ('[].pop()\n', '', 'IndexError: pop from an empty list\n', 5, 4, {8: True}) ok Trying: e = doctest.Example('print 1', '1\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print 1\n', '1\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print 1;\nprint 2\n', '1\n2\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1;\nprint 2\n', '1\n2\n') ok Trying: e = doctest.Example('print 1;\nprint 2', '1\n2\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1;\nprint 2\n', '1\n2\n') ok Trying: e = doctest.Example('', '') Expecting nothing ok Trying: e.source, e.want Expecting: ('\n', '') ok Trying: e = doctest.Example('print 1', '1\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print 1', '1') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print', '') Expecting nothing ok Trying: e.source, e.want Expecting: ('print\n', '') ok Trying: exc_msg = 'IndexError: pop from an empty list' Expecting nothing ok Trying: e = doctest.Example('[].pop()', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'IndexError: pop from an empty list\n' ok Trying: exc_msg = 'IndexError: pop from an empty list\n' Expecting nothing o:1: DeprecationWarning: execfile() not supported in 3.x; use exec() k Trying: e = doctest.Example('[].pop()', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'IndexError: pop from an empty list\n' ok Trying: exc_msg = 'ValueError: 1\n 2' Expecting nothing ok Trying: e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'ValueError: 1\n 2\n' ok Trying: exc_msg = 'ValueError: 1\n 2\n' Expecting nothing ok Trying: e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'ValueError: 1\n 2\n' ok Trying: exc_msg = '' Expecting nothing ok Trying: e = doctest.Example('raise X()', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: '\n' ok Trying: s = ''' >>> x = 12 >>> print x 12 ''' Expecting nothing ok Trying: import tempfile Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput(['next', 'print x', 'continue']) Expecting nothing ok Trying: try: doctest.debug_src(s) finally: sys.stdin = real_stdin Expecting: > (1)() (Pdb) next 12 --Return-- > (1)()->None (Pdb) print x 12 (Pdb) continue ok Trying: doc = ''' >>> x = 42 >>> import pdb; pdb.set_trace() ''' Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: test = parser.get_doctest(doc, {}, "foo", "foo.py", 0) Expecting nothing ok Trying: runner = doctest.DocTestRunner(verbose=False) Expecting nothing ok Trying: import tempfile Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'print x', # print data defined by the example 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin Expecting: --Return-- > (1)()->None -> import pdb; pdb.set_trace() (Pdb) print x 42 (Pdb) continue TestResults(failed=0, attempted=2) ok Trying: def calls_set_trace(): y=2 import pdb; pdb.set_trace() Expecting nothing ok Trying: doc = ''' >>> x=1 >>> calls_set_trace() ''' Expecting nothing ok Trying: test = parser.get_doctest(doc, globals(), "foo", "foo.py", 0) Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'print y', # print data defined in the function 'up', # out of function 'print x', # print data defined by the example 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin Expecting: --Return-- > (3)calls_set_trace()->None -> import pdb; pdb.set_trace() (Pdb) print y 2 (Pdb) up > (1)() -> calls_set_trace() (Pdb) print x 1 (Pdb) continue TestResults(failed=0, attempted=2) ok Trying: doc = ''' >>> def f(x): ... g(x*2) >>> def g(x): ... print x+3 ... import pdb; pdb.set_trace() >>> f(3) ''' Expecting nothing ok Trying: test = parser.get_doctest(doc, globals(), "foo", "foo.py", 0) Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'list', # list source from example 2 'next', # return from g() 'list', # list source from example 1 'next', # return from f() 'list', # list source from example 3 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin # doctest: +NORMALIZE_WHITESPACE Expecting: --Return-- > (3)g()->None -> import pdb; pdb.set_trace() (Pdb) list 1 def g(x): 2 print x+3 3 -> import pdb; pdb.set_trace() [EOF] (Pdb) next --Return-- > (2)f()->None -> g(x*2) (Pdb) list 1 def f(x): 2 -> g(x*2) [EOF] (Pdb) next --Return-- > (1)()->None -> f(3) (Pdb) list 1 -> f(3) [EOF] (Pdb) continue ********************************************************************** File "foo.py", line 7, in foo Failed example: f(3) Expected nothing Got: 9 TestResults(failed=1, attempted=3) ok Trying: class C(object): def calls_set_trace(self): y = 1 import pdb; pdb.set_trace() self.f1() y = 2 def f1(self): x = 1 self.f2() x = 2 def f2(self): z = 1 z = 2 Expecting nothing ok Trying: calls_set_trace = C().calls_set_trace Expecting nothing ok Trying: doc = ''' >>> a = 1 >>> calls_set_trace() ''' Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: runner = doctest.DocTestRunner(verbose=False) Expecting nothing ok Trying: test = parser.get_doctest(doc, globals(), "foo", "foo.py", 0) Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'print y', # print data defined in the function 'step', 'step', 'step', 'step', 'step', 'step', 'print z', 'up', 'print x', 'up', 'print y', 'up', 'print foo', 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin Expecting: > (5)calls_set_trace() -> self.f1() (Pdb) print y 1 (Pdb) step --Call-- > (7)f1() -> def f1(self): (Pdb) step > (8)f1() -> x = 1 (Pdb) step > (9)f1() -> self.f2() (Pdb) step --Call-- > (11)f2() -> def f2(self): (Pdb) step > (12)f2() -> z = 1 (Pdb) step > (13)f2() -> z = 2 (Pdb) print z 1 (Pdb) up > (9)f1() -> self.f2() (Pdb) print x 1 (Pdb) up > (5)calls_set_trace() -> self.f1() (Pdb) print y 1 (Pdb) up > (1)() -> calls_set_trace() (Pdb) print foo *** NameError: name 'foo' is not defined (Pdb) continue TestResults(failed=0, attempted=2) ok Trying: doctest.testfile('test_doctest.txt') # doctest: +ELLIPSIS Expecting: ********************************************************************** File "...", line 6, in test_doctest.txt Failed example: favorite_color Exception raised: ... NameError: name 'favorite_color' is not defined ********************************************************************** 1 items had failures: 1 of 2 in test_doctest.txt ***Test Failed*** 1 failures. TestResults(failed=1, attempted=2) ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2148, in test.test_doctest.test_testfile Failed example: doctest.testfile('test_doctest.txt') # doctest: +ELLIPSIS Expected: ********************************************************************** File "...", line 6, in test_doctest.txt Failed example: favorite_color Exception raised: ... NameError: name 'favorite_color' is not defined ********************************************************************** 1 items had failures: 1 of 2 in test_doctest.txt ***Test Failed*** 1 failures. TestResults(failed=1, attempted=2) Got: Trying: favorite_color Expecting: 'blue' ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.txt", line 6, in test_doctest.txt Failed example: favorite_color Exception raised: Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/doctest.py", line 1241, in __run compileflags, 1) in test.globs File "", line 1, in favorite_color NameError: name 'favorite_color' is not defined Trying: if 1: print 'a' print print 'b' Expecting: a b ok ********************************************************************** 1 items had failures: 1 of 2 in test_doctest.txt 2 tests in 1 items. 1 passed and 1 failed. ***Test Failed*** 1 failures. TestResults(failed=1, attempted=2) Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: globs = {'favorite_color': 'blue'} Expecting nothing ok Trying: doctest.testfile('test_doctest.txt', globs=globs) Expecting: TestResults(failed=0, attempted=2) ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2170, in test.test_doctest.test_testfile Failed example: doctest.testfile('test_doctest.txt', globs=globs) Expected: TestResults(failed=0, attempted=2) Got: Trying: favorite_color Expecting: 'blue' ok Trying: if 1: print 'a' print print 'b' Expecting: a b ok 1 items passed all tests: 2 tests in test_doctest.txt 2 tests in 1 items. 2 passed and 0 failed. Test passed. TestResults(failed=0, attempted=2) Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: extraglobs = {'favorite_color': 'red'} Expecting nothing ok Trying: doctest.testfile('test_doctest.txt', globs=globs, extraglobs=extraglobs) # doctest: +ELLIPSIS Expecting: ********************************************************************** File "...", line 6, in test_doctest.txt Failed example: favorite_color Expected: 'blue' Got: 'red' ********************************************************************** 1 items had failures: 1 of 2 in test_doctest.txt ***Test Failed*** 1 failures. TestResults(failed=1, attempted=2) ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2175, in test.test_doctest.test_testfile Failed example: doctest.testfile('test_doctest.txt', globs=globs, extraglobs=extraglobs) # doctest: +ELLIPSIS Expected: ********************************************************************** File "...", line 6, in test_doctest.txt Failed example: favorite_color Expected: 'blue' Got: 'red' ********************************************************************** 1 items had failures: 1 of 2 in test_doctest.txt ***Test Failed*** 1 failures. TestResults(failed=1, attempted=2) Got: Trying: favorite_color Expecting: 'blue' ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.txt", line 6, in test_doctest.txt Failed example: favorite_color Expected: 'blue' Got: 'red' Trying: if 1: print 'a' print print 'b' Expecting: a b ok ********************************************************************** 1 items had failures: 1 of 2 in test_doctest.txt 2 tests in 1 items. 1 passed and 1 failed. ***Test Failed*** 1 failures. TestResults(failed=1, attempted=2) Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: doctest.testfile('test_doctest.txt', globs=globs, module_relative='test') Expecting: TestResults(failed=0, attempted=2) ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2195, in test.test_doctest.test_testfile Failed example: doctest.testfile('test_doctest.txt', globs=globs, module_relative='test') Expected: TestResults(failed=0, attempted=2) Got: Trying: favorite_color Expecting: 'blue' ok Trying: if 1: print 'a' print print 'b' Expecting: a b ok 1 items passed all tests: 2 tests in test_doctest.txt 2 tests in 1 items. 2 passed and 0 failed. Test passed. TestResults(failed=0, attempted=2) Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: doctest.testfile('test_doctest.txt', globs=globs, verbose=True) Expecting: Trying: favorite_color Expecting: 'blue' ok Trying: if 1: print 'a' print print 'b' Expecting: a b ok 1 items passed all tests: 2 tests in test_doctest.txt 2 tests in 1 items. 2 passed and 0 failed. Test passed. TestResults(failed=0, attempted=2) ok Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: doctest.testfile('test_doctest.txt', name='newname') # doctest: +ELLIPSIS Expecting: ********************************************************************** File "...", line 6, in newname ... TestResults(failed=1, attempted=2) ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2229, in test.test_doctest.test_testfile Failed example: doctest.testfile('test_doctest.txt', name='newname') # doctest: +ELLIPSIS Expected: ********************************************************************** File "...", line 6, in newname ... TestResults(failed=1, attempted=2) Got: Trying: favorite_color Expecting: 'blue' ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.txt", line 6, in newname Failed example: favorite_color Exception raised: Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/doctest.py", line 1241, in __run compileflags, 1) in test.globs File "", line 1, in favorite_color NameError: name 'favorite_color' is not defined Trying: if 1: print 'a' print print 'b' Expecting: a b ok ********************************************************************** 1 items had failures: 1 of 2 in newname 2 tests in 1 items. 1 passed and 1 failed. ***Test Failed*** 1 failures. TestResults(failed=1, attempted=2) Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: doctest.testfile('test_doctest.txt', report=False) # doctest: +ELLIPSIS Expecting: ********************************************************************** File "...", line 6, in test_doctest.txt Failed example: favorite_color Exception raised: ... NameError: name 'favorite_color' is not defined TestResults(failed=1, attempted=2) ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2240, in test.test_doctest.test_testfile Failed example: doctest.testfile('test_doctest.txt', report=False) # doctest: +ELLIPSIS Expected: ********************************************************************** File "...", line 6, in test_doctest.txt Failed example: favorite_color Exception raised: ... NameError: name 'favorite_color' is not defined TestResults(failed=1, attempted=2) Got: Trying: favorite_color Expecting: 'blue' ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.txt", line 6, in test_doctest.txt Failed example: favorite_color Exception raised: Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/doctest.py", line 1241, in __run compileflags, 1) in test.globs File "", line 1, in favorite_color NameError: name 'favorite_color' is not defined Trying: if 1: print 'a' print print 'b' Expecting: a b ok TestResults(failed=1, attempted=2) Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: doctest.testfile('test_doctest.txt', raise_on_error=True) # doctest: +ELLIPSIS Expecting: Traceback (most recent call last): UnexpectedException: ... ok Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: doctest.testfile('test_doctest4.txt') # doctest: +ELLIPSIS Expecting: ********************************************************************** File "...", line 7, in test_doctest4.txt Failed example: u'...' Expected: u'f\xf6\xf6' Got: u'f\xc3\xb6\xc3\xb6' ********************************************************************** ... ********************************************************************** 1 items had failures: 2 of 4 in test_doctest4.txt ***Test Failed*** 2 failures. TestResults(failed=2, attempted=4) ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2266, in test.test_doctest.test_testfile Failed example: doctest.testfile('test_doctest4.txt') # doctest: +ELLIPSIS Expected: ********************************************************************** File "...", line 7, in test_doctest4.txt Failed example: u'...' Expected: u'f\xf6\xf6' Got: u'f\xc3\xb6\xc3\xb6' ********************************************************************** ... ********************************************************************** 1 items had failures: 2 of 4 in test_doctest4.txt ***Test Failed*** 2 failures. TestResults(failed=2, attempted=4) Got: Trying: u'föö' Expecting: u'f\xf6\xf6' ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest4.txt", line 7, in test_doctest4.txt Failed example: u'föö' Expected: u'f\xf6\xf6' Got: u'f\xc3\xb6\xc3\xb6' Trying: u'bąr' Expecting: u'b\u0105r' ********************************************************************** File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest4.txt", line 10, in test_doctest4.txt Failed example: u'bąr' Expected: u'b\u0105r' Got: u'b\xc4\x85r' Trying: 'föö' Expecting: 'f\xc3\xb6\xc3\xb6' ok Trying: 'bąr' Expecting: 'b\xc4\x85r' ok ********************************************************************** 1 items had failures: 2 of 4 in test_doctest4.txt 4 tests in 1 items. 2 passed and 2 failed. ***Test Failed*** 2 failures. TestResults(failed=2, attempted=4) Trying: doctest.master = None # Reset master. Expecting nothing ok Trying: doctest.testfile('test_doctest4.txt', encoding='utf-8') Expecting: TestResults(failed=0, attempted=4) test test_doctest crashed -- : 'ascii' codec can't encode characters in position 339-340: ordinal not in range(128) Traceback (most recent call last): File "Lib/test/regrtest.py", line 664, in runtest_inner indirect_test() File "/home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py", line 2424, in test_main test_support.run_doctest(test_doctest, verbosity=True) File "/home/exarkun/Projects/python/trunk/Lib/test/test_support.py", line 910, in run_doctest f, t = doctest.testmod(module, verbose=verbosity) File "/home/exarkun/Projects/python/trunk/Lib/doctest.py", line 1830, in testmod runner.run(test) File "/home/exarkun/Projects/python/trunk/Lib/doctest.py", line 1374, in run return self.__run(test, compileflags, out) File "/home/exarkun/Projects/python/trunk/Lib/doctest.py", line 1290, in __run self.report_failure(out, test, example, got) File "/home/exarkun/Projects/python/trunk/Lib/doctest.py", line 1154, in report_failure self._checker.output_difference(example, got, self.optionflags)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 339-340: ordinal not in range(128) test_doctest2 Trying: print 'yup' # 1 Expecting: yup ok Trying: print C() # 2 Expecting: 42 ok Trying: print "In D!" # 5 Expecting: In D! ok Trying: print 3 # 6 Expecting: 3 ok Trying: print C() # 3 Expecting: 42 ok Trying: print C() # 4 Expecting: 42 ok Trying: print C.clsm(22) # 18 Expecting: 22 ok Trying: print C().clsm(23) # 19 Expecting: 23 ok Trying: c = C() # 7 Expecting nothing ok Trying: c.x = 12 # 8 Expecting nothing ok Trying: print c.x # 9 Expecting: -12 ok Trying: c = C() # 10 Expecting nothing ok Trying: c.x = 12 # 11 Expecting nothing ok Trying: print c.x # 12 Expecting: -12 ok Trying: print C.statm() # 16 Expecting: 666 ok Trying: print C().statm() # 17 Expecting: 666 ok Trying: c = C() # 13 Expecting nothing ok Trying: c.x = 12 # 14 Expecting nothing ok Trying: print c.x # 15 Expecting: -12 ok 1 items had no tests: test.test_doctest2.test_main 11 items passed all tests: 1 tests in test.test_doctest2 1 tests in test.test_doctest2.C 1 tests in test.test_doctest2.C.D 1 tests in test.test_doctest2.C.D.nested 1 tests in test.test_doctest2.C.__init__ 1 tests in test.test_doctest2.C.__str__ 2 tests in test.test_doctest2.C.clsm 3 tests in test.test_doctest2.C.getx 3 tests in test.test_doctest2.C.setx 2 tests in test.test_doctest2.C.statm 3 tests in test.test_doctest2.C.x 19 tests in 12 items. 19 passed and 0 failed. Test passed. doctest (test.test_doctest2) ... 19 tests with zero failures test_MimeWriter /home/exarkun/Projects/python/trunk/Lib/MimeWriter.py:13: DeprecationWarning: in 3.x, mimetools has been removed in favor of the email package import mimetools test (test.test_MimeWriter.MimewriterTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_SimpleHTTPServer test_queryArguments (test.test_SimpleHTTPServer.SimpleHTTPRequestHandlerTestCase) ... ok test_startWithDoubleSlash (test.test_SimpleHTTPServer.SimpleHTTPRequestHandlerTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test_StringIO test_closed_flag (test.test_StringIO.TestStringIO) ... ok test_isatty (test.test_StringIO.TestStringIO) ... ok test_iterator (test.test_StringIO.TestStringIO) ... ok test_reads (test.test_StringIO.TestStringIO) ... ok test_truncate (test.test_StringIO.TestStringIO) ... ok test_unicode (test.test_StringIO.TestStringIO) ... ok test_writelines (test.test_StringIO.TestStringIO) ... ok test_writelines_error (test.test_StringIO.TestStringIO) ... ok test_writes (test.test_StringIO.TestStringIO) ... ok test_closed_flag (test.test_StringIO.TestcStringIO) ... ok test_isatty (test.test_StringIO.TestcStringIO) ... ok test_iterator (test.test_StringIO.TestcStringIO) ... ok test_reads (test.test_StringIO.TestcStringIO) ... ok test_truncate (test.test_StringIO.TestcStringIO) ... ok test_writelines (test.test_StringIO.TestcStringIO) ... ok test_writelines_error (test.test_StringIO.TestcStringIO) ... ok test_writes (test.test_StringIO.TestcStringIO) ... ok test_closed_flag (test.test_StringIO.TestBufferStringIO) ... /home/exarkun/Projects/python/trunk/Lib/test/test_StringIO.py:21: DeprecationWarning: buffer() not supported in 3.x self._line = self.constructor(self._line) /home/exarkun/Projects/python/trunk/Lib/test/test_StringIO.py:22: DeprecationWarning: buffer() not supported in 3.x self._lines = self.constructor((self._line + '\n') * 5) ok test_isatty (test.test_StringIO.TestBufferStringIO) ... ok test_iterator (test.test_StringIO.TestBufferStringIO) ... ok test_reads (test.test_StringIO.TestBufferStringIO) ... ok test_truncate (test.test_StringIO.TestBufferStringIO) ... ok test_unicode (test.test_StringIO.TestBufferStringIO) ... ok test_writelines (test.test_StringIO.TestBufferStringIO) ... ok test_writelines_error (test.test_StringIO.TestBufferStringIO) ... ok test_writes (test.test_StringIO.TestBufferStringIO) ... ok test_closed_flag (test.test_StringIO.TestBuffercStringIO) ... ok test_isatty (test.test_StringIO.TestBuffercStringIO) ... ok test_iterator (test.test_StringIO.TestBuffercStringIO) ... ok test_reads (test.test_StringIO.TestBuffercStringIO) ... ok test_truncate (test.test_StringIO.TestBuffercStringIO) ... ok test_writelines (test.test_StringIO.TestBuffercStringIO) ... ok test_writelines_error (test.test_StringIO.TestBuffercStringIO) ... ok test_writes (test.test_StringIO.TestBuffercStringIO) ... ok ---------------------------------------------------------------------- Ran 34 tests in 0.002s OK test___all__ test_all (test.test___all__.AllTest) ... :1: DeprecationWarning: in 3.x, dbhash has been removed /home/exarkun/Projects/python/trunk/Lib/dbhash.py:8: DeprecationWarning: in 3.x, bsddb has been removed; please use the pybsddb project instead import bsddb /home/exarkun/Projects/python/trunk/Lib/sets.py:87: DeprecationWarning: Overriding __cmp__ blocks inheritance of __hash__ in 3.x class BaseSet(object): /home/exarkun/Projects/python/trunk/Lib/sets.py:87: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class BaseSet(object): ok ---------------------------------------------------------------------- Ran 1 test in 0.084s OK test___future__ test_attributes (test.test___future__.FutureTest) ... ok test_names (test.test___future__.FutureTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test__locale test_float_parsing (test.test__locale._LocaleTests) ... ok test_lc_numeric_basic (test.test__locale._LocaleTests) ... ok test_lc_numeric_localeconv (test.test__locale._LocaleTests) ... ok test_lc_numeric_nl_langinfo (test.test__locale._LocaleTests) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.006s OK test_abc test_abstractmethod_basics (test.test_abc.TestABC) ... ok test_abstractmethod_integration (test.test_abc.TestABC) ... ok test_abstractproperty_basics (test.test_abc.TestABC) ... ok test_all_new_methods_are_called (test.test_abc.TestABC) ... ok test_isinstance_class (test.test_abc.TestABC) ... ok test_isinstance_invalidation (test.test_abc.TestABC) ... ok test_registration_basics (test.test_abc.TestABC) ... ok test_registration_builtins (test.test_abc.TestABC) ... ok test_registration_edge_cases (test.test_abc.TestABC) ... ok test_registration_transitiveness (test.test_abc.TestABC) ... ok test_subclass_oldstyle_class (test.test_abc.TestABC) ... ok ---------------------------------------------------------------------- Ran 11 tests in 0.002s OK test_abstract_numbers test_complex (test.test_abstract_numbers.TestNumbers) ... ok test_float (test.test_abstract_numbers.TestNumbers) ... ok test_int (test.test_abstract_numbers.TestNumbers) ... ok test_long (test.test_abstract_numbers.TestNumbers) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.000s OK test_aepack test_aepack skipped -- No module named aetypes test_aifc test_close (test.test_aifc.AIFCTest) ... /home/exarkun/Projects/python/trunk/Lib/aifc.py:442: DeprecationWarning: classic int division self._sampwidth = (_read_short(chunk) + 7) / 8 ok test_compress (test.test_aifc.AIFCTest) ... /home/exarkun/Projects/python/trunk/Lib/aifc.py:412: DeprecationWarning: classic int division self._soundpos = self._soundpos + len(data) / (self._nchannels * self._sampwidth) /home/exarkun/Projects/python/trunk/Lib/aifc.py:825: DeprecationWarning: classic int division self._nframes = initlength / (self._nchannels * self._sampwidth) /home/exarkun/Projects/python/trunk/Lib/aifc.py:831: DeprecationWarning: classic int division self._datalength = self._datalength / 2 /home/exarkun/Projects/python/trunk/Lib/aifc.py:709: DeprecationWarning: classic int division nframes = len(data) / (self._sampwidth * self._nchannels) /home/exarkun/Projects/python/trunk/Lib/aifc.py:481: DeprecationWarning: classic int division self._framesize = self._framesize / 2 ok test_params (test.test_aifc.AIFCTest) ... ok test_read (test.test_aifc.AIFCTest) ... ok test_skipunknown (test.test_aifc.AIFCTest) ... ok test_write (test.test_aifc.AIFCTest) ... ok ---------------------------------------------------------------------- Ran 6 tests in 1.151s OK test_al test_al skipped -- No module named al test_anydbm test_anydbm_creation (test.test_anydbm.AnyDBMTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/dbutils.py:64: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if _kwargs.has_key('max_retries'): ok test_anydbm_keys (test.test_anydbm.AnyDBMTestCase) ... ok test_anydbm_modification (test.test_anydbm.AnyDBMTestCase) ... ok test_anydbm_read (test.test_anydbm.AnyDBMTestCase) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.057s OK test_applesingle test_applesingle skipped -- No module named MacOS test_array test_constructor (test.test_array.BadConstructorTest) ... ok test_add (test.test_array.CharacterTest) ... ok test_buffer (test.test_array.CharacterTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_array.py:752: DeprecationWarning: buffer() not supported in 3.x b = buffer(a) ok test_buffer_info (test.test_array.CharacterTest) ... ok test_bug_782369 (test.test_array.CharacterTest) ... ok test_byteswap (test.test_array.CharacterTest) ... ok test_cmp (test.test_array.CharacterTest) ... ok test_constructor (test.test_array.CharacterTest) ... ok test_constructor_with_iterable_argument (test.test_array.CharacterTest) ... ok test_copy (test.test_array.CharacterTest) ... ok test_count (test.test_array.CharacterTest) ... ok test_coveritertraverse (test.test_array.CharacterTest) ... ok test_deepcopy (test.test_array.CharacterTest) ... ok test_delitem (test.test_array.CharacterTest) ... ok test_extend (test.test_array.CharacterTest) ... ok test_extended_getslice (test.test_array.CharacterTest) ... ok test_extended_set_del_slice (test.test_array.CharacterTest) ... ok test_filewrite (test.test_array.CharacterTest) ... ok test_getitem (test.test_array.CharacterTest) ... ok test_getslice (test.test_array.CharacterTest) ... ok test_iadd (test.test_array.CharacterTest) ... ok test_imul (test.test_array.CharacterTest) ... ok test_index (test.test_array.CharacterTest) ... ok test_insert (test.test_array.CharacterTest) ... ok test_len (test.test_array.CharacterTest) ... ok test_mul (test.test_array.CharacterTest) ... ok test_nounicode (test.test_array.CharacterTest) ... ok test_pickle (test.test_array.CharacterTest) ... ok test_pickle_for_empty_array (test.test_array.CharacterTest) ... ok test_pop (test.test_array.CharacterTest) ... ok test_remove (test.test_array.CharacterTest) ... ok test_repr (test.test_array.CharacterTest) ... ok test_reverse (test.test_array.CharacterTest) ... ok test_setitem (test.test_array.CharacterTest) ... ok test_setslice (test.test_array.CharacterTest) ... ok test_str (test.test_array.CharacterTest) ... ok test_subbclassing (test.test_array.CharacterTest) ... ok test_subclass_with_kwargs (test.test_array.CharacterTest) ... ok test_tofromfile (test.test_array.CharacterTest) ... ok test_tofromlist (test.test_array.CharacterTest) ... ok test_tofromstring (test.test_array.CharacterTest) ... ok test_weakref (test.test_array.CharacterTest) ... ok test_add (test.test_array.UnicodeTest) ... ok test_buffer (test.test_array.UnicodeTest) ... ok test_buffer_info (test.test_array.UnicodeTest) ... ok test_bug_782369 (test.test_array.UnicodeTest) ... ok test_byteswap (test.test_array.UnicodeTest) ... ok test_cmp (test.test_array.UnicodeTest) ... ok test_constructor (test.test_array.UnicodeTest) ... ok test_constructor_with_iterable_argument (test.test_array.UnicodeTest) ... ok test_copy (test.test_array.UnicodeTest) ... ok test_count (test.test_array.UnicodeTest) ... ok test_coveritertraverse (test.test_array.UnicodeTest) ... ok test_deepcopy (test.test_array.UnicodeTest) ... ok test_delitem (test.test_array.UnicodeTest) ... ok test_extend (test.test_array.UnicodeTest) ... ok test_extended_getslice (test.test_array.UnicodeTest) ... ok test_extended_set_del_slice (test.test_array.UnicodeTest) ... ok test_filewrite (test.test_array.UnicodeTest) ... ok test_getitem (test.test_array.UnicodeTest) ... ok test_getslice (test.test_array.UnicodeTest) ... ok test_iadd (test.test_array.UnicodeTest) ... ok test_imul (test.test_array.UnicodeTest) ... ok test_index (test.test_array.UnicodeTest) ... ok test_insert (test.test_array.UnicodeTest) ... ok test_len (test.test_array.UnicodeTest) ... ok test_mul (test.test_array.UnicodeTest) ... ok test_pickle (test.test_array.UnicodeTest) ... ok test_pickle_for_empty_array (test.test_array.UnicodeTest) ... ok test_pop (test.test_array.UnicodeTest) ... ok test_remove (test.test_array.UnicodeTest) ... ok test_repr (test.test_array.UnicodeTest) ... ok test_reverse (test.test_array.UnicodeTest) ... ok test_setitem (test.test_array.UnicodeTest) ... ok test_setslice (test.test_array.UnicodeTest) ... ok test_str (test.test_array.UnicodeTest) ... ok test_subclass_with_kwargs (test.test_array.UnicodeTest) ... ok test_tofromfile (test.test_array.UnicodeTest) ... ok test_tofromlist (test.test_array.UnicodeTest) ... ok test_tofromstring (test.test_array.UnicodeTest) ... ok test_unicode (test.test_array.UnicodeTest) ... ok test_weakref (test.test_array.UnicodeTest) ... ok test_add (test.test_array.ByteTest) ... ok test_assignment (test.test_array.ByteTest) ... ok test_buffer (test.test_array.ByteTest) ... ok test_buffer_info (test.test_array.ByteTest) ... ok test_bug_782369 (test.test_array.ByteTest) ... ok test_byteswap (test.test_array.ByteTest) ... ok test_cmp (test.test_array.ByteTest) ... ok test_constructor (test.test_array.ByteTest) ... ok test_constructor_with_iterable_argument (test.test_array.ByteTest) ... ok test_copy (test.test_array.ByteTest) ... ok test_count (test.test_array.ByteTest) ... ok test_coveritertraverse (test.test_array.ByteTest) ... ok test_deepcopy (test.test_array.ByteTest) ... ok test_delitem (test.test_array.ByteTest) ... ok test_delslice (test.test_array.ByteTest) ... ok test_extend (test.test_array.ByteTest) ... ok test_extended_getslice (test.test_array.ByteTest) ... ok test_extended_set_del_slice (test.test_array.ByteTest) ... ok test_extslice (test.test_array.ByteTest) ... ok test_filewrite (test.test_array.ByteTest) ... ok test_getitem (test.test_array.ByteTest) ... ok test_getslice (test.test_array.ByteTest) ... ok test_iadd (test.test_array.ByteTest) ... ok test_imul (test.test_array.ByteTest) ... ok test_index (test.test_array.ByteTest) ... ok test_insert (test.test_array.ByteTest) ... ok test_iterationcontains (test.test_array.ByteTest) ... ok test_len (test.test_array.ByteTest) ... ok test_mul (test.test_array.ByteTest) ... ok test_overflow (test.test_array.ByteTest) ... ok test_pickle (test.test_array.ByteTest) ... ok test_pickle_for_empty_array (test.test_array.ByteTest) ... ok test_pop (test.test_array.ByteTest) ... ok test_remove (test.test_array.ByteTest) ... ok test_repr (test.test_array.ByteTest) ... ok test_reverse (test.test_array.ByteTest) ... ok test_setitem (test.test_array.ByteTest) ... ok test_setslice (test.test_array.ByteTest) ... ok test_str (test.test_array.ByteTest) ... ok test_subclass_with_kwargs (test.test_array.ByteTest) ... ok test_subclassing (test.test_array.ByteTest) ... ok test_tofromfile (test.test_array.ByteTest) ... ok test_tofromlist (test.test_array.ByteTest) ... ok test_tofromstring (test.test_array.ByteTest) ... ok test_weakref (test.test_array.ByteTest) ... ok test_add (test.test_array.UnsignedByteTest) ... ok test_assignment (test.test_array.UnsignedByteTest) ... ok test_buffer (test.test_array.UnsignedByteTest) ... ok test_buffer_info (test.test_array.UnsignedByteTest) ... ok test_bug_782369 (test.test_array.UnsignedByteTest) ... ok test_byteswap (test.test_array.UnsignedByteTest) ... ok test_cmp (test.test_array.UnsignedByteTest) ... ok test_constructor (test.test_array.UnsignedByteTest) ... ok test_constructor_with_iterable_argument (test.test_array.UnsignedByteTest) ... ok test_copy (test.test_array.UnsignedByteTest) ... ok test_count (test.test_array.UnsignedByteTest) ... ok test_coveritertraverse (test.test_array.UnsignedByteTest) ... ok test_deepcopy (test.test_array.UnsignedByteTest) ... ok test_delitem (test.test_array.UnsignedByteTest) ... ok test_delslice (test.test_array.UnsignedByteTest) ... ok test_extend (test.test_array.UnsignedByteTest) ... ok test_extended_getslice (test.test_array.UnsignedByteTest) ... ok test_extended_set_del_slice (test.test_array.UnsignedByteTest) ... ok test_extslice (test.test_array.UnsignedByteTest) ... ok test_filewrite (test.test_array.UnsignedByteTest) ... ok test_getitem (test.test_array.UnsignedByteTest) ... ok test_getslice (test.test_array.UnsignedByteTest) ... ok test_iadd (test.test_array.UnsignedByteTest) ... ok test_imul (test.test_array.UnsignedByteTest) ... ok test_index (test.test_array.UnsignedByteTest) ... ok test_insert (test.test_array.UnsignedByteTest) ... ok test_iterationcontains (test.test_array.UnsignedByteTest) ... ok test_len (test.test_array.UnsignedByteTest) ... ok test_mul (test.test_array.UnsignedByteTest) ... ok test_overflow (test.test_array.UnsignedByteTest) ... ok test_pickle (test.test_array.UnsignedByteTest) ... ok test_pickle_for_empty_array (test.test_array.UnsignedByteTest) ... ok test_pop (test.test_array.UnsignedByteTest) ... ok test_remove (test.test_array.UnsignedByteTest) ... ok test_repr (test.test_array.UnsignedByteTest) ... ok test_reverse (test.test_array.UnsignedByteTest) ... ok test_setitem (test.test_array.UnsignedByteTest) ... ok test_setslice (test.test_array.UnsignedByteTest) ... ok test_str (test.test_array.UnsignedByteTest) ... ok test_subclass_with_kwargs (test.test_array.UnsignedByteTest) ... ok test_subclassing (test.test_array.UnsignedByteTest) ... ok test_tofromfile (test.test_array.UnsignedByteTest) ... ok test_tofromlist (test.test_array.UnsignedByteTest) ... ok test_tofromstring (test.test_array.UnsignedByteTest) ... ok test_weakref (test.test_array.UnsignedByteTest) ... ok test_add (test.test_array.ShortTest) ... ok test_assignment (test.test_array.ShortTest) ... ok test_buffer (test.test_array.ShortTest) ... ok test_buffer_info (test.test_array.ShortTest) ... ok test_bug_782369 (test.test_array.ShortTest) ... ok test_byteswap (test.test_array.ShortTest) ... ok test_cmp (test.test_array.ShortTest) ... ok test_constructor (test.test_array.ShortTest) ... ok test_constructor_with_iterable_argument (test.test_array.ShortTest) ... ok test_copy (test.test_array.ShortTest) ... ok test_count (test.test_array.ShortTest) ... ok test_coveritertraverse (test.test_array.ShortTest) ... ok test_deepcopy (test.test_array.ShortTest) ... ok test_delitem (test.test_array.ShortTest) ... ok test_delslice (test.test_array.ShortTest) ... ok test_extend (test.test_array.ShortTest) ... ok test_extended_getslice (test.test_array.ShortTest) ... ok test_extended_set_del_slice (test.test_array.ShortTest) ... ok test_extslice (test.test_array.ShortTest) ... ok test_filewrite (test.test_array.ShortTest) ... ok test_getitem (test.test_array.ShortTest) ... ok test_getslice (test.test_array.ShortTest) ... ok test_iadd (test.test_array.ShortTest) ... ok test_imul (test.test_array.ShortTest) ... ok test_index (test.test_array.ShortTest) ... ok test_insert (test.test_array.ShortTest) ... ok test_iterationcontains (test.test_array.ShortTest) ... ok test_len (test.test_array.ShortTest) ... ok test_mul (test.test_array.ShortTest) ... ok test_overflow (test.test_array.ShortTest) ... ok test_pickle (test.test_array.ShortTest) ... ok test_pickle_for_empty_array (test.test_array.ShortTest) ... ok test_pop (test.test_array.ShortTest) ... ok test_remove (test.test_array.ShortTest) ... ok test_repr (test.test_array.ShortTest) ... ok test_reverse (test.test_array.ShortTest) ... ok test_setitem (test.test_array.ShortTest) ... ok test_setslice (test.test_array.ShortTest) ... ok test_str (test.test_array.ShortTest) ... ok test_subclass_with_kwargs (test.test_array.ShortTest) ... ok test_subclassing (test.test_array.ShortTest) ... ok test_tofromfile (test.test_array.ShortTest) ... ok test_tofromlist (test.test_array.ShortTest) ... ok test_tofromstring (test.test_array.ShortTest) ... ok test_weakref (test.test_array.ShortTest) ... ok test_add (test.test_array.UnsignedShortTest) ... ok test_assignment (test.test_array.UnsignedShortTest) ... ok test_buffer (test.test_array.UnsignedShortTest) ... ok test_buffer_info (test.test_array.UnsignedShortTest) ... ok test_bug_782369 (test.test_array.UnsignedShortTest) ... ok test_byteswap (test.test_array.UnsignedShortTest) ... ok test_cmp (test.test_array.UnsignedShortTest) ... ok test_constructor (test.test_array.UnsignedShortTest) ... ok test_constructor_with_iterable_argument (test.test_array.UnsignedShortTest) ... ok test_copy (test.test_array.UnsignedShortTest) ... ok test_count (test.test_array.UnsignedShortTest) ... ok test_coveritertraverse (test.test_array.UnsignedShortTest) ... ok test_deepcopy (test.test_array.UnsignedShortTest) ... ok test_delitem (test.test_array.UnsignedShortTest) ... ok test_delslice (test.test_array.UnsignedShortTest) ... ok test_extend (test.test_array.UnsignedShortTest) ... ok test_extended_getslice (test.test_array.UnsignedShortTest) ... ok test_extended_set_del_slice (test.test_array.UnsignedShortTest) ... ok test_extslice (test.test_array.UnsignedShortTest) ... ok test_filewrite (test.test_array.UnsignedShortTest) ... ok test_getitem (test.test_array.UnsignedShortTest) ... ok test_getslice (test.test_array.UnsignedShortTest) ... ok test_iadd (test.test_array.UnsignedShortTest) ... ok test_imul (test.test_array.UnsignedShortTest) ... ok test_index (test.test_array.UnsignedShortTest) ... ok test_insert (test.test_array.UnsignedShortTest) ... ok test_iterationcontains (test.test_array.UnsignedShortTest) ... ok test_len (test.test_array.UnsignedShortTest) ... ok test_mul (test.test_array.UnsignedShortTest) ... ok test_overflow (test.test_array.UnsignedShortTest) ... ok test_pickle (test.test_array.UnsignedShortTest) ... ok test_pickle_for_empty_array (test.test_array.UnsignedShortTest) ... ok test_pop (test.test_array.UnsignedShortTest) ... ok test_remove (test.test_array.UnsignedShortTest) ... ok test_repr (test.test_array.UnsignedShortTest) ... ok test_reverse (test.test_array.UnsignedShortTest) ... ok test_setitem (test.test_array.UnsignedShortTest) ... ok test_setslice (test.test_array.UnsignedShortTest) ... ok test_str (test.test_array.UnsignedShortTest) ... ok test_subclass_with_kwargs (test.test_array.UnsignedShortTest) ... ok test_subclassing (test.test_array.UnsignedShortTest) ... ok test_tofromfile (test.test_array.UnsignedShortTest) ... ok test_tofromlist (test.test_array.UnsignedShortTest) ... ok test_tofromstring (test.test_array.UnsignedShortTest) ... ok test_weakref (test.test_array.UnsignedShortTest) ... ok test_add (test.test_array.IntTest) ... ok test_assignment (test.test_array.IntTest) ... ok test_buffer (test.test_array.IntTest) ... ok test_buffer_info (test.test_array.IntTest) ... ok test_bug_782369 (test.test_array.IntTest) ... ok test_byteswap (test.test_array.IntTest) ... ok test_cmp (test.test_array.IntTest) ... ok test_constructor (test.test_array.IntTest) ... ok test_constructor_with_iterable_argument (test.test_array.IntTest) ... ok test_copy (test.test_array.IntTest) ... ok test_count (test.test_array.IntTest) ... ok test_coveritertraverse (test.test_array.IntTest) ... ok test_deepcopy (test.test_array.IntTest) ... ok test_delitem (test.test_array.IntTest) ... ok test_delslice (test.test_array.IntTest) ... ok test_extend (test.test_array.IntTest) ... ok test_extended_getslice (test.test_array.IntTest) ... ok test_extended_set_del_slice (test.test_array.IntTest) ... ok test_extslice (test.test_array.IntTest) ... ok test_filewrite (test.test_array.IntTest) ... ok test_getitem (test.test_array.IntTest) ... ok test_getslice (test.test_array.IntTest) ... ok test_iadd (test.test_array.IntTest) ... ok test_imul (test.test_array.IntTest) ... ok test_index (test.test_array.IntTest) ... ok test_insert (test.test_array.IntTest) ... ok test_iterationcontains (test.test_array.IntTest) ... ok test_len (test.test_array.IntTest) ... ok test_mul (test.test_array.IntTest) ... ok test_overflow (test.test_array.IntTest) ... ok test_pickle (test.test_array.IntTest) ... ok test_pickle_for_empty_array (test.test_array.IntTest) ... ok test_pop (test.test_array.IntTest) ... ok test_remove (test.test_array.IntTest) ... ok test_repr (test.test_array.IntTest) ... ok test_reverse (test.test_array.IntTest) ... ok test_setitem (test.test_array.IntTest) ... ok test_setslice (test.test_array.IntTest) ... ok test_str (test.test_array.IntTest) ... ok test_subclass_with_kwargs (test.test_array.IntTest) ... ok test_subclassing (test.test_array.IntTest) ... ok test_tofromfile (test.test_array.IntTest) ... ok test_tofromlist (test.test_array.IntTest) ... ok test_tofromstring (test.test_array.IntTest) ... ok test_weakref (test.test_array.IntTest) ... ok test_add (test.test_array.UnsignedIntTest) ... ok test_assignment (test.test_array.UnsignedIntTest) ... ok test_buffer (test.test_array.UnsignedIntTest) ... ok test_buffer_info (test.test_array.UnsignedIntTest) ... ok test_bug_782369 (test.test_array.UnsignedIntTest) ... ok test_byteswap (test.test_array.UnsignedIntTest) ... ok test_cmp (test.test_array.UnsignedIntTest) ... ok test_constructor (test.test_array.UnsignedIntTest) ... ok test_constructor_with_iterable_argument (test.test_array.UnsignedIntTest) ... ok test_copy (test.test_array.UnsignedIntTest) ... ok test_count (test.test_array.UnsignedIntTest) ... ok test_coveritertraverse (test.test_array.UnsignedIntTest) ... ok test_deepcopy (test.test_array.UnsignedIntTest) ... ok test_delitem (test.test_array.UnsignedIntTest) ... ok test_delslice (test.test_array.UnsignedIntTest) ... ok test_extend (test.test_array.UnsignedIntTest) ... ok test_extended_getslice (test.test_array.UnsignedIntTest) ... ok test_extended_set_del_slice (test.test_array.UnsignedIntTest) ... ok test_extslice (test.test_array.UnsignedIntTest) ... ok test_filewrite (test.test_array.UnsignedIntTest) ... ok test_getitem (test.test_array.UnsignedIntTest) ... ok test_getslice (test.test_array.UnsignedIntTest) ... ok test_iadd (test.test_array.UnsignedIntTest) ... ok test_imul (test.test_array.UnsignedIntTest) ... ok test_index (test.test_array.UnsignedIntTest) ... ok test_insert (test.test_array.UnsignedIntTest) ... ok test_iterationcontains (test.test_array.UnsignedIntTest) ... ok test_len (test.test_array.UnsignedIntTest) ... ok test_mul (test.test_array.UnsignedIntTest) ... ok test_overflow (test.test_array.UnsignedIntTest) ... ok test_pickle (test.test_array.UnsignedIntTest) ... ok test_pickle_for_empty_array (test.test_array.UnsignedIntTest) ... ok test_pop (test.test_array.UnsignedIntTest) ... ok test_remove (test.test_array.UnsignedIntTest) ... ok test_repr (test.test_array.UnsignedIntTest) ... ok test_reverse (test.test_array.UnsignedIntTest) ... ok test_setitem (test.test_array.UnsignedIntTest) ... ok test_setslice (test.test_array.UnsignedIntTest) ... ok test_str (test.test_array.UnsignedIntTest) ... ok test_subclass_with_kwargs (test.test_array.UnsignedIntTest) ... ok test_subclassing (test.test_array.UnsignedIntTest) ... ok test_tofromfile (test.test_array.UnsignedIntTest) ... ok test_tofromlist (test.test_array.UnsignedIntTest) ... ok test_tofromstring (test.test_array.UnsignedIntTest) ... ok test_weakref (test.test_array.UnsignedIntTest) ... ok test_add (test.test_array.LongTest) ... ok test_assignment (test.test_array.LongTest) ... ok test_buffer (test.test_array.LongTest) ... ok test_buffer_info (test.test_array.LongTest) ... ok test_bug_782369 (test.test_array.LongTest) ... ok test_byteswap (test.test_array.LongTest) ... ok test_cmp (test.test_array.LongTest) ... ok test_constructor (test.test_array.LongTest) ... ok test_constructor_with_iterable_argument (test.test_array.LongTest) ... ok test_copy (test.test_array.LongTest) ... ok test_count (test.test_array.LongTest) ... ok test_coveritertraverse (test.test_array.LongTest) ... ok test_deepcopy (test.test_array.LongTest) ... ok test_delitem (test.test_array.LongTest) ... ok test_delslice (test.test_array.LongTest) ... ok test_extend (test.test_array.LongTest) ... ok test_extended_getslice (test.test_array.LongTest) ... ok test_extended_set_del_slice (test.test_array.LongTest) ... ok test_extslice (test.test_array.LongTest) ... ok test_filewrite (test.test_array.LongTest) ... ok test_getitem (test.test_array.LongTest) ... ok test_getslice (test.test_array.LongTest) ... ok test_iadd (test.test_array.LongTest) ... ok test_imul (test.test_array.LongTest) ... ok test_index (test.test_array.LongTest) ... ok test_insert (test.test_array.LongTest) ... ok test_iterationcontains (test.test_array.LongTest) ... ok test_len (test.test_array.LongTest) ... ok test_mul (test.test_array.LongTest) ... ok test_overflow (test.test_array.LongTest) ... ok test_pickle (test.test_array.LongTest) ... ok test_pickle_for_empty_array (test.test_array.LongTest) ... ok test_pop (test.test_array.LongTest) ... ok test_remove (test.test_array.LongTest) ... ok test_repr (test.test_array.LongTest) ... ok test_reverse (test.test_array.LongTest) ... ok test_setitem (test.test_array.LongTest) ... ok test_setslice (test.test_array.LongTest) ... ok test_str (test.test_array.LongTest) ... ok test_subclass_with_kwargs (test.test_array.LongTest) ... ok test_subclassing (test.test_array.LongTest) ... ok test_tofromfile (test.test_array.LongTest) ... ok test_tofromlist (test.test_array.LongTest) ... ok test_tofromstring (test.test_array.LongTest) ... ok test_weakref (test.test_array.LongTest) ... ok test_add (test.test_array.UnsignedLongTest) ... ok test_assignment (test.test_array.UnsignedLongTest) ... ok test_buffer (test.test_array.UnsignedLongTest) ... ok test_buffer_info (test.test_array.UnsignedLongTest) ... ok test_bug_782369 (test.test_array.UnsignedLongTest) ... ok test_byteswap (test.test_array.UnsignedLongTest) ... ok test_cmp (test.test_array.UnsignedLongTest) ... ok test_constructor (test.test_array.UnsignedLongTest) ... ok test_constructor_with_iterable_argument (test.test_array.UnsignedLongTest) ... ok test_copy (test.test_array.UnsignedLongTest) ... ok test_count (test.test_array.UnsignedLongTest) ... ok test_coveritertraverse (test.test_array.UnsignedLongTest) ... ok test_deepcopy (test.test_array.UnsignedLongTest) ... ok test_delitem (test.test_array.UnsignedLongTest) ... ok test_delslice (test.test_array.UnsignedLongTest) ... ok test_extend (test.test_array.UnsignedLongTest) ... ok test_extended_getslice (test.test_array.UnsignedLongTest) ... ok test_extended_set_del_slice (test.test_array.UnsignedLongTest) ... ok test_extslice (test.test_array.UnsignedLongTest) ... ok test_filewrite (test.test_array.UnsignedLongTest) ... ok test_getitem (test.test_array.UnsignedLongTest) ... ok test_getslice (test.test_array.UnsignedLongTest) ... ok test_iadd (test.test_array.UnsignedLongTest) ... ok test_imul (test.test_array.UnsignedLongTest) ... ok test_index (test.test_array.UnsignedLongTest) ... ok test_insert (test.test_array.UnsignedLongTest) ... ok test_iterationcontains (test.test_array.UnsignedLongTest) ... ok test_len (test.test_array.UnsignedLongTest) ... ok test_mul (test.test_array.UnsignedLongTest) ... ok test_overflow (test.test_array.UnsignedLongTest) ... ok test_pickle (test.test_array.UnsignedLongTest) ... ok test_pickle_for_empty_array (test.test_array.UnsignedLongTest) ... ok test_pop (test.test_array.UnsignedLongTest) ... ok test_remove (test.test_array.UnsignedLongTest) ... ok test_repr (test.test_array.UnsignedLongTest) ... ok test_reverse (test.test_array.UnsignedLongTest) ... ok test_setitem (test.test_array.UnsignedLongTest) ... ok test_setslice (test.test_array.UnsignedLongTest) ... ok test_str (test.test_array.UnsignedLongTest) ... ok test_subclass_with_kwargs (test.test_array.UnsignedLongTest) ... ok test_subclassing (test.test_array.UnsignedLongTest) ... ok test_tofromfile (test.test_array.UnsignedLongTest) ... ok test_tofromlist (test.test_array.UnsignedLongTest) ... ok test_tofromstring (test.test_array.UnsignedLongTest) ... ok test_weakref (test.test_array.UnsignedLongTest) ... ok test_add (test.test_array.FloatTest) ... ok test_assignment (test.test_array.FloatTest) ... ok test_buffer (test.test_array.FloatTest) ... ok test_buffer_info (test.test_array.FloatTest) ... ok test_bug_782369 (test.test_array.FloatTest) ... ok test_byteswap (test.test_array.FloatTest) ... ok test_cmp (test.test_array.FloatTest) ... ok test_constructor (test.test_array.FloatTest) ... ok test_constructor_with_iterable_argument (test.test_array.FloatTest) ... ok test_copy (test.test_array.FloatTest) ... ok test_count (test.test_array.FloatTest) ... ok test_coveritertraverse (test.test_array.FloatTest) ... ok test_deepcopy (test.test_array.FloatTest) ... ok test_delitem (test.test_array.FloatTest) ... ok test_delslice (test.test_array.FloatTest) ... ok test_extend (test.test_array.FloatTest) ... ok test_extended_getslice (test.test_array.FloatTest) ... ok test_extended_set_del_slice (test.test_array.FloatTest) ... ok test_extslice (test.test_array.FloatTest) ... ok test_filewrite (test.test_array.FloatTest) ... ok test_getitem (test.test_array.FloatTest) ... ok test_getslice (test.test_array.FloatTest) ... ok test_iadd (test.test_array.FloatTest) ... ok test_imul (test.test_array.FloatTest) ... ok test_index (test.test_array.FloatTest) ... ok test_insert (test.test_array.FloatTest) ... ok test_iterationcontains (test.test_array.FloatTest) ... ok test_len (test.test_array.FloatTest) ... ok test_mul (test.test_array.FloatTest) ... ok test_pickle (test.test_array.FloatTest) ... ok test_pickle_for_empty_array (test.test_array.FloatTest) ... ok test_pop (test.test_array.FloatTest) ... ok test_remove (test.test_array.FloatTest) ... ok test_repr (test.test_array.FloatTest) ... ok test_reverse (test.test_array.FloatTest) ... ok test_setitem (test.test_array.FloatTest) ... ok test_setslice (test.test_array.FloatTest) ... ok test_str (test.test_array.FloatTest) ... ok test_subclass_with_kwargs (test.test_array.FloatTest) ... ok test_subclassing (test.test_array.FloatTest) ... ok test_tofromfile (test.test_array.FloatTest) ... ok test_tofromlist (test.test_array.FloatTest) ... ok test_tofromstring (test.test_array.FloatTest) ... ok test_weakref (test.test_array.FloatTest) ... ok test_add (test.test_array.DoubleTest) ... ok test_alloc_overflow (test.test_array.DoubleTest) ... ok test_assignment (test.test_array.DoubleTest) ... ok test_buffer (test.test_array.DoubleTest) ... ok test_buffer_info (test.test_array.DoubleTest) ... ok test_bug_782369 (test.test_array.DoubleTest) ... ok test_byteswap (test.test_array.DoubleTest) ... ok test_cmp (test.test_array.DoubleTest) ... ok test_constructor (test.test_array.DoubleTest) ... ok test_constructor_with_iterable_argument (test.test_array.DoubleTest) ... ok test_copy (test.test_array.DoubleTest) ... ok test_count (test.test_array.DoubleTest) ... ok test_coveritertraverse (test.test_array.DoubleTest) ... ok test_deepcopy (test.test_array.DoubleTest) ... ok test_delitem (test.test_array.DoubleTest) ... ok test_delslice (test.test_array.DoubleTest) ... ok test_extend (test.test_array.DoubleTest) ... ok test_extended_getslice (test.test_array.DoubleTest) ... ok test_extended_set_del_slice (test.test_array.DoubleTest) ... ok test_extslice (test.test_array.DoubleTest) ... ok test_filewrite (test.test_array.DoubleTest) ... ok test_getitem (test.test_array.DoubleTest) ... ok test_getslice (test.test_array.DoubleTest) ... ok test_iadd (test.test_array.DoubleTest) ... ok test_imul (test.test_array.DoubleTest) ... ok test_index (test.test_array.DoubleTest) ... ok test_insert (test.test_array.DoubleTest) ... ok test_iterationcontains (test.test_array.DoubleTest) ... ok test_len (test.test_array.DoubleTest) ... ok test_mul (test.test_array.DoubleTest) ... ok test_pickle (test.test_array.DoubleTest) ... ok test_pickle_for_empty_array (test.test_array.DoubleTest) ... ok test_pop (test.test_array.DoubleTest) ... ok test_remove (test.test_array.DoubleTest) ... ok test_repr (test.test_array.DoubleTest) ... ok test_reverse (test.test_array.DoubleTest) ... ok test_setitem (test.test_array.DoubleTest) ... ok test_setslice (test.test_array.DoubleTest) ... ok test_str (test.test_array.DoubleTest) ... ok test_subclass_with_kwargs (test.test_array.DoubleTest) ... ok test_subclassing (test.test_array.DoubleTest) ... ok test_tofromfile (test.test_array.DoubleTest) ... ok test_tofromlist (test.test_array.DoubleTest) ... ok test_tofromstring (test.test_array.DoubleTest) ... ok test_weakref (test.test_array.DoubleTest) ... ok ---------------------------------------------------------------------- Ran 531 tests in 0.360s OK test_ascii_formatd testFormatDeprecation (test.test_ascii_formatd.FormatDeprecationTests) ... ok testFormat (test.test_ascii_formatd.FormatTests) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.003s OK test_ast test_from_import (test.test_ast.AST_Tests) ... ok test_nodeclasses (test.test_ast.AST_Tests) ... ok test_pickling (test.test_ast.AST_Tests) ... ok test_slice (test.test_ast.AST_Tests) ... ok test_snippets (test.test_ast.AST_Tests) ... ?:1: SyntaxWarning: backquote not supported in 3.x; use repr() ok test_copy_location (test.test_ast.ASTHelpers_Test) ... ok test_dump (test.test_ast.ASTHelpers_Test) ... ok test_fix_missing_locations (test.test_ast.ASTHelpers_Test) ... ok test_get_docstring (test.test_ast.ASTHelpers_Test) ... ok test_increment_lineno (test.test_ast.ASTHelpers_Test) ... ok test_iter_child_nodes (test.test_ast.ASTHelpers_Test) ... ok test_iter_fields (test.test_ast.ASTHelpers_Test) ... ok test_literal_eval (test.test_ast.ASTHelpers_Test) ... ok test_literal_eval_issue4907 (test.test_ast.ASTHelpers_Test) ... ok test_parse (test.test_ast.ASTHelpers_Test) ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.067s OK test_asynchat test_close_when_done (test.test_asynchat.TestAsynchat) ... ok test_empty_line (test.test_asynchat.TestAsynchat) ... ok test_line_terminator1 (test.test_asynchat.TestAsynchat) ... ok test_line_terminator2 (test.test_asynchat.TestAsynchat) ... ok test_line_terminator3 (test.test_asynchat.TestAsynchat) ... ok test_none_terminator (test.test_asynchat.TestAsynchat) ... ok test_numeric_terminator1 (test.test_asynchat.TestAsynchat) ... ok test_numeric_terminator2 (test.test_asynchat.TestAsynchat) ... ok test_simple_producer (test.test_asynchat.TestAsynchat) ... ok test_string_producer (test.test_asynchat.TestAsynchat) ... ok test_close_when_done (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_empty_line (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_line_terminator1 (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_line_terminator2 (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_line_terminator3 (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_none_terminator (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_numeric_terminator1 (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_numeric_terminator2 (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_simple_producer (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_string_producer (test.test_asynchat.TestAsynchat_WithPoll) ... ok test_find_prefix_at_end (test.test_asynchat.TestHelperFunctions) ... ok test_basic (test.test_asynchat.TestFifo) ... ok test_given_list (test.test_asynchat.TestFifo) ... ok ---------------------------------------------------------------------- Ran 23 tests in 4.085s OK test_asyncore test_closeall (test.test_asyncore.HelperFunctionTests) ... ok test_closeall_default (test.test_asyncore.HelperFunctionTests) ... ok test_compact_traceback (test.test_asyncore.HelperFunctionTests) ... ok test_readwrite (test.test_asyncore.HelperFunctionTests) ... ok test_readwriteexc (test.test_asyncore.HelperFunctionTests) ... ok test_basic (test.test_asyncore.DispatcherTests) ... ok test_log (test.test_asyncore.DispatcherTests) ... ok test_log_info (test.test_asyncore.DispatcherTests) ... ok test_repr (test.test_asyncore.DispatcherTests) ... ok test_unhandled (test.test_asyncore.DispatcherTests) ... ok test_send (test.test_asyncore.DispatcherWithSendTests) ... ok test_send (test.test_asyncore.DispatcherWithSendTests_UsePoll) ... ok test_recv (test.test_asyncore.FileWrapperTest) ... ok test_send (test.test_asyncore.FileWrapperTest) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.771s OK test_atexit test_args (test.test_atexit.TestCase) ... ok test_badargs (test.test_atexit.TestCase) ... ok test_order (test.test_atexit.TestCase) ... ok test_raise (test.test_atexit.TestCase) ... ok test_sys_override (test.test_atexit.TestCase) ... FAIL ====================================================================== FAIL: test_sys_override (test.test_atexit.TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_atexit.py", line 50, in test_sys_override self.assertEqual(self.subst_io.getvalue(), "h2\nh1\n") AssertionError: '/home/exarkun/Projects/python/trunk/Lib/test/test_atexit.py:44: DeprecationWarning: In 3.x, reload() is renamed to imp.reload()\n reload(atexit)\nh2\nh1\n' != 'h2\nh1\n' ---------------------------------------------------------------------- Ran 5 tests in 0.001s FAILED (failures=1) test test_atexit failed -- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_atexit.py", line 50, in test_sys_override self.assertEqual(self.subst_io.getvalue(), "h2\nh1\n") AssertionError: '/home/exarkun/Projects/python/trunk/Lib/test/test_atexit.py:44: DeprecationWarning: In 3.x, reload() is renamed to imp.reload()\n reload(atexit)\nh2\nh1\n' != 'h2\nh1\n' test_audioop test_add (test.test_audioop.TestAudioop) ... ok test_adpcm2lin (test.test_audioop.TestAudioop) ... ok test_alaw2lin (test.test_audioop.TestAudioop) ... ok test_avg (test.test_audioop.TestAudioop) ... ok test_avgpp (test.test_audioop.TestAudioop) ... ok test_bias (test.test_audioop.TestAudioop) ... ok test_cross (test.test_audioop.TestAudioop) ... ok test_findfactor (test.test_audioop.TestAudioop) ... ok test_findfit (test.test_audioop.TestAudioop) ... ok test_findmax (test.test_audioop.TestAudioop) ... ok test_getsample (test.test_audioop.TestAudioop) ... ok test_lin2adpcm (test.test_audioop.TestAudioop) ... ok test_lin2alaw (test.test_audioop.TestAudioop) ... ok test_lin2lin (test.test_audioop.TestAudioop) ... ok test_lin2ulaw (test.test_audioop.TestAudioop) ... ok test_max (test.test_audioop.TestAudioop) ... ok test_maxpp (test.test_audioop.TestAudioop) ... ok test_minmax (test.test_audioop.TestAudioop) ... ok test_mul (test.test_audioop.TestAudioop) ... ok test_negativelen (test.test_audioop.TestAudioop) ... ok test_ratecv (test.test_audioop.TestAudioop) ... ok test_reverse (test.test_audioop.TestAudioop) ... ok test_rms (test.test_audioop.TestAudioop) ... ok test_tomono (test.test_audioop.TestAudioop) ... ok test_tostereo (test.test_audioop.TestAudioop) ... ok test_ulaw2lin (test.test_audioop.TestAudioop) ... ok ---------------------------------------------------------------------- Ran 26 tests in 0.002s OK test_augassign testBasic (test.test_augassign.AugAssignTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py:19: DeprecationWarning: classic int division x /= 2 /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py:20: DeprecationWarning: classic int division if 1/2 == 0: ok testCustomMethods1 (test.test_augassign.AugAssignTest) ... ok testCustomMethods2 (test.test_augassign.AugAssignTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py:244: DeprecationWarning: classic int division if 1/2 == 0: ok testInDict (test.test_augassign.AugAssignTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py:58: DeprecationWarning: classic int division x[0] /= 2 /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py:59: DeprecationWarning: classic int division if 1/2 == 0: ok testInList (test.test_augassign.AugAssignTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py:41: DeprecationWarning: classic int division x[0] /= 2 /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py:42: DeprecationWarning: classic int division if 1/2 == 0: ok testSequences (test.test_augassign.AugAssignTest) ... ok test_with_unpacking (test.test_augassign.AugAssignTest) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.001s OK test_base64 test_b16decode (test.test_base64.BaseXYTestCase) ... ok test_b16encode (test.test_base64.BaseXYTestCase) ... ok test_b32decode (test.test_base64.BaseXYTestCase) ... ok test_b32decode_casefold (test.test_base64.BaseXYTestCase) ... ok test_b32decode_error (test.test_base64.BaseXYTestCase) ... ok test_b32encode (test.test_base64.BaseXYTestCase) ... ok test_b64decode (test.test_base64.BaseXYTestCase) ... ok test_b64decode_error (test.test_base64.BaseXYTestCase) ... ok test_b64encode (test.test_base64.BaseXYTestCase) ... ok test_decode (test.test_base64.LegacyBase64TestCase) ... ok test_decodestring (test.test_base64.LegacyBase64TestCase) ... ok test_encode (test.test_base64.LegacyBase64TestCase) ... ok test_encodestring (test.test_base64.LegacyBase64TestCase) ... ok ---------------------------------------------------------------------- Ran 13 tests in 0.003s OK test_bastion test_bigaddrspace test_concat (test.test_bigaddrspace.StrTest) ... Skipping test_concat because of memory constraint ok test_optimized_concat (test.test_bigaddrspace.StrTest) ... Skipping test_optimized_concat because of memory constraint ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test_bigmem /home/exarkun/Projects/python/trunk/Lib/test/test_bigmem.py:100: DeprecationWarning: classic long division @precisionbigmemtest(size=_4G / 6 + 2, memuse=2) /home/exarkun/Projects/python/trunk/Lib/test/test_bigmem.py:107: DeprecationWarning: classic long division @precisionbigmemtest(size=_4G / 5 + 70, memuse=3) /home/exarkun/Projects/python/trunk/Lib/test/test_bigmem.py:114: DeprecationWarning: classic long division @precisionbigmemtest(size=_4G / 4 + 5, memuse=6) /home/exarkun/Projects/python/trunk/Lib/test/test_bigmem.py:125: DeprecationWarning: classic long division @precisionbigmemtest(size=_4G / 5, memuse=6+2) /home/exarkun/Projects/python/trunk/Lib/test/test_bigmem.py:519: DeprecationWarning: classic long division @bigmemtest(minsize=2**32 / 5, memuse=6+2) test_capitalize (test.test_bigmem.StrTest) ... ok test_center (test.test_bigmem.StrTest) ... ok test_center_unicode (test.test_bigmem.StrTest) ... ok test_compare (test.test_bigmem.StrTest) ... ok test_concat (test.test_bigmem.StrTest) ... ok test_contains (test.test_bigmem.StrTest) ... ok test_count (test.test_bigmem.StrTest) ... ok test_decode (test.test_bigmem.StrTest) ... ok test_decodeascii (test.test_bigmem.StrTest) ... ok test_encode (test.test_bigmem.StrTest) ... ok test_encode_raw_unicode_escape (test.test_bigmem.StrTest) ... ok test_encode_utf32 (test.test_bigmem.StrTest) ... ok test_encode_utf7 (test.test_bigmem.StrTest) ... ok test_endswith (test.test_bigmem.StrTest) ... ok test_expandtabs (test.test_bigmem.StrTest) ... ok test_find (test.test_bigmem.StrTest) ... ok test_format (test.test_bigmem.StrTest) ... ok test_hash (test.test_bigmem.StrTest) ... ok test_index (test.test_bigmem.StrTest) ... ok test_isalnum (test.test_bigmem.StrTest) ... ok test_isalpha (test.test_bigmem.StrTest) ... ok test_isdigit (test.test_bigmem.StrTest) ... ok test_islower (test.test_bigmem.StrTest) ... ok test_isspace (test.test_bigmem.StrTest) ... ok test_istitle (test.test_bigmem.StrTest) ... ok test_isupper (test.test_bigmem.StrTest) ... ok test_join (test.test_bigmem.StrTest) ... ok test_ljust (test.test_bigmem.StrTest) ... ok test_lower (test.test_bigmem.StrTest) ... ok test_lstrip (test.test_bigmem.StrTest) ... ok test_repeat (test.test_bigmem.StrTest) ... ok test_replace (test.test_bigmem.StrTest) ... ok test_repr_large (test.test_bigmem.StrTest) ... ok test_repr_small (test.test_bigmem.StrTest) ... ok test_rfind (test.test_bigmem.StrTest) ... ok test_rindex (test.test_bigmem.StrTest) ... ok test_rjust (test.test_bigmem.StrTest) ... ok test_rstrip (test.test_bigmem.StrTest) ... ok test_slice_and_getitem (test.test_bigmem.StrTest) ... ok test_split_large (test.test_bigmem.StrTest) ... ok test_split_small (test.test_bigmem.StrTest) ... ok test_splitlines (test.test_bigmem.StrTest) ... ok test_startswith (test.test_bigmem.StrTest) ... ok test_strip (test.test_bigmem.StrTest) ... ok test_swapcase (test.test_bigmem.StrTest) ... ok test_title (test.test_bigmem.StrTest) ... ok test_translate (test.test_bigmem.StrTest) ... ok test_unicode_repr (test.test_bigmem.StrTest) ... ok test_unicode_repr_oflw (test.test_bigmem.StrTest) ... ok test_upper (test.test_bigmem.StrTest) ... ok test_zfill (test.test_bigmem.StrTest) ... ok test_compare (test.test_bigmem.TupleTest) ... ok test_concat_large (test.test_bigmem.TupleTest) ... ok test_concat_small (test.test_bigmem.TupleTest) ... ok test_contains (test.test_bigmem.TupleTest) ... ok test_from_2G_generator (test.test_bigmem.TupleTest) ... ok test_from_almost_2G_generator (test.test_bigmem.TupleTest) ... ok test_hash (test.test_bigmem.TupleTest) ... ok test_index_and_slice (test.test_bigmem.TupleTest) ... ok test_repeat_large (test.test_bigmem.TupleTest) ... ok test_repeat_large_2 (test.test_bigmem.TupleTest) ... ok test_repeat_small (test.test_bigmem.TupleTest) ... ok test_repr_large (test.test_bigmem.TupleTest) ... ok test_repr_small (test.test_bigmem.TupleTest) ... ok test_append (test.test_bigmem.ListTest) ... ok test_compare (test.test_bigmem.ListTest) ... ok test_concat_large (test.test_bigmem.ListTest) ... ok test_concat_small (test.test_bigmem.ListTest) ... ok test_contains (test.test_bigmem.ListTest) ... ok test_count (test.test_bigmem.ListTest) ... ok test_extend_large (test.test_bigmem.ListTest) ... ok test_extend_small (test.test_bigmem.ListTest) ... ok test_hash (test.test_bigmem.ListTest) ... ok test_index (test.test_bigmem.ListTest) ... ok test_index_and_slice (test.test_bigmem.ListTest) ... ok test_inplace_concat_large (test.test_bigmem.ListTest) ... ok test_inplace_concat_small (test.test_bigmem.ListTest) ... ok test_inplace_repeat_large (test.test_bigmem.ListTest) ... ok test_inplace_repeat_small (test.test_bigmem.ListTest) ... ok test_insert (test.test_bigmem.ListTest) ... ok test_pop (test.test_bigmem.ListTest) ... ok test_remove (test.test_bigmem.ListTest) ... ok test_repeat_large (test.test_bigmem.ListTest) ... ok test_repeat_small (test.test_bigmem.ListTest) ... ok test_repr_large (test.test_bigmem.ListTest) ... ok test_repr_small (test.test_bigmem.ListTest) ... ok test_reverse (test.test_bigmem.ListTest) ... ok test_sort (test.test_bigmem.ListTest) ... ok test_repeat (test.test_bigmem.BufferTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_bigmem.py:1056: DeprecationWarning: buffer() not supported in 3.x b = buffer("AAAA")*size ok ---------------------------------------------------------------------- Ran 89 tests in 0.096s OK test_binascii test_base64invalid (test.test_binascii.BinASCIITest) ... ok test_base64valid (test.test_binascii.BinASCIITest) ... ok test_crc32 (test.test_binascii.BinASCIITest) ... ok test_empty_string (test.test_binascii.BinASCIITest) ... ok test_exceptions (test.test_binascii.BinASCIITest) ... ok test_functions (test.test_binascii.BinASCIITest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_binascii.py:29: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(callable(getattr(binascii, name))) /home/exarkun/Projects/python/trunk/Lib/test/test_binascii.py:32: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(callable(getattr(binascii, name))) ok test_hex (test.test_binascii.BinASCIITest) ... ok test_qp (test.test_binascii.BinASCIITest) ... ok test_uu (test.test_binascii.BinASCIITest) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.002s OK test_binhex test_binhex (test.test_binhex.BinHexTestCase) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.001s OK test_binop /home/exarkun/Projects/python/trunk/Lib/test/test_binop.py:27: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class Rat(object): test_add (test.test_binop.RatTestCase) ... ok test_constructor (test.test_binop.RatTestCase) ... ok test_div (test.test_binop.RatTestCase) ... ok test_eq (test.test_binop.RatTestCase) ... ok test_floordiv (test.test_binop.RatTestCase) ... ok test_future_div (test.test_binop.RatTestCase) ... ok test_gcd (test.test_binop.RatTestCase) ... ok test_mul (test.test_binop.RatTestCase) ... ok test_sub (test.test_binop.RatTestCase) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.003s OK test_bisect test_backcompatibility (test.test_bisect.TestBisectPython) ... ok test_keyword_args (test.test_bisect.TestBisectPython) ... ok test_negative_lo (test.test_bisect.TestBisectPython) ... ok test_optionalSlicing (test.test_bisect.TestBisectPython) ... ok test_precomputed (test.test_bisect.TestBisectPython) ... ok test_random (test.test_bisect.TestBisectPython) ... ok test_backcompatibility (test.test_bisect.TestBisectC) ... ok test_keyword_args (test.test_bisect.TestBisectC) ... ok test_negative_lo (test.test_bisect.TestBisectC) ... ok test_optionalSlicing (test.test_bisect.TestBisectC) ... ok test_precomputed (test.test_bisect.TestBisectC) ... ok test_random (test.test_bisect.TestBisectC) ... ok test_backcompatibility (test.test_bisect.TestInsortPython) ... ok test_listDerived (test.test_bisect.TestInsortPython) ... ok test_vsBuiltinSort (test.test_bisect.TestInsortPython) ... ok test_backcompatibility (test.test_bisect.TestInsortC) ... ok test_listDerived (test.test_bisect.TestInsortC) ... ok test_vsBuiltinSort (test.test_bisect.TestInsortC) ... ok test_arg_parsing (test.test_bisect.TestErrorHandlingPython) ... ok test_cmp_err (test.test_bisect.TestErrorHandlingPython) ... ok test_get_only (test.test_bisect.TestErrorHandlingPython) ... ok test_len_only (test.test_bisect.TestErrorHandlingPython) ... ok test_non_sequence (test.test_bisect.TestErrorHandlingPython) ... ok test_arg_parsing (test.test_bisect.TestErrorHandlingC) ... ok test_cmp_err (test.test_bisect.TestErrorHandlingC) ... ok test_get_only (test.test_bisect.TestErrorHandlingC) ... ok test_len_only (test.test_bisect.TestErrorHandlingC) ... ok test_non_sequence (test.test_bisect.TestErrorHandlingC) ... ok ---------------------------------------------------------------------- Ran 28 tests in 0.043s OK Trying: grades = "FEDCBA" Expecting nothing ok Trying: breakpoints = [30, 44, 66, 75, 85] Expecting nothing ok Trying: from bisect import bisect Expecting nothing ok Trying: def grade(total): return grades[bisect(breakpoints, total)] Expecting nothing ok Trying: grade(66) Expecting: 'C' ok Trying: map(grade, [33, 99, 77, 44, 12, 88]) Expecting: ['E', 'A', 'B', 'D', 'F', 'A'] ok 32 items had no tests: test.test_bisect test.test_bisect.CmpErr test.test_bisect.CmpErr.__cmp__ test.test_bisect.GetOnly test.test_bisect.GetOnly.__getitem__ test.test_bisect.LenOnly test.test_bisect.LenOnly.__len__ test.test_bisect.TestBisect test.test_bisect.TestBisect.setUp test.test_bisect.TestBisect.test_backcompatibility test.test_bisect.TestBisect.test_keyword_args test.test_bisect.TestBisect.test_negative_lo test.test_bisect.TestBisect.test_optionalSlicing test.test_bisect.TestBisect.test_precomputed test.test_bisect.TestBisect.test_random test.test_bisect.TestBisectC test.test_bisect.TestBisectPython test.test_bisect.TestErrorHandling test.test_bisect.TestErrorHandling.test_arg_parsing test.test_bisect.TestErrorHandling.test_cmp_err test.test_bisect.TestErrorHandling.test_get_only test.test_bisect.TestErrorHandling.test_len_only test.test_bisect.TestErrorHandling.test_non_sequence test.test_bisect.TestErrorHandlingC test.test_bisect.TestErrorHandlingPython test.test_bisect.TestInsort test.test_bisect.TestInsort.test_backcompatibility test.test_bisect.TestInsort.test_listDerived test.test_bisect.TestInsort.test_vsBuiltinSort test.test_bisect.TestInsortC test.test_bisect.TestInsortPython test.test_bisect.test_main 1 items passed all tests: 6 tests in test.test_bisect.__test__.libreftest 6 tests in 33 items. 6 passed and 0 failed. Test passed. doctest (test.test_bisect) ... 6 tests with zero failures test_bool test_boolean (test.test_bool.BoolTest) ... ok test_callable (test.test_bool.BoolTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:171: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertIs(callable(len), True) /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:172: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertIs(callable(1), False) ok test_convert (test.test_bool.BoolTest) ... ok test_convert_to_bool (test.test_bool.BoolTest) ... ok test_cpickle (test.test_bool.BoolTest) ... ok test_fileclosed (test.test_bool.BoolTest) ... ok test_hasattr (test.test_bool.BoolTest) ... ok test_haskey (test.test_bool.BoolTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:187: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertIs({}.has_key(1), False) /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:188: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertIs({1:1}.has_key(1), True) ok test_int (test.test_bool.BoolTest) ... ok test_isinstance (test.test_bool.BoolTest) ... ok test_issubclass (test.test_bool.BoolTest) ... ok test_marshal (test.test_bool.BoolTest) ... ok test_math (test.test_bool.BoolTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:94: DeprecationWarning: classic int division self.assertEqual(True/1, 1) /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:95: DeprecationWarning: classic int division self.assertIsNot(True/1, True) /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:96: DeprecationWarning: classic int division self.assertEqual(False/1, 0) /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:97: DeprecationWarning: classic int division self.assertIsNot(False/1, False) ok test_mixedpickle (test.test_bool.BoolTest) ... ok test_operator (test.test_bool.BoolTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:260: DeprecationWarning: operator.isCallable() is not supported in 3.x. Use hasattr(obj, '__call__'). self.assertIs(operator.isCallable(0), False) /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py:261: DeprecationWarning: operator.isCallable() is not supported in 3.x. Use hasattr(obj, '__call__'). self.assertIs(operator.isCallable(len), True) ok test_pickle (test.test_bool.BoolTest) ... ok test_picklevalues (test.test_bool.BoolTest) ... ok test_print (test.test_bool.BoolTest) ... ok test_repr (test.test_bool.BoolTest) ... ok test_str (test.test_bool.BoolTest) ... ok test_string (test.test_bool.BoolTest) ... ok test_subclass (test.test_bool.BoolTest) ... ok ---------------------------------------------------------------------- Ran 22 tests in 0.003s OK test_bsddb test__no_deadlock_first (test.test_bsddb.TestBTree) ... ok test_change (test.test_bsddb.TestBTree) ... ok test_clear (test.test_bsddb.TestBTree) ... ok test_close_and_reopen (test.test_bsddb.TestBTree) ... ok test_contains (test.test_bsddb.TestBTree) ... ok test_first_next_looping (test.test_bsddb.TestBTree) ... ok test_first_while_deleting (test.test_bsddb.TestBTree) ... ok test_for_cursor_memleak (test.test_bsddb.TestBTree) ... ok test_get (test.test_bsddb.TestBTree) ... ok test_getitem (test.test_bsddb.TestBTree) ... ok test_has_key (test.test_bsddb.TestBTree) ... ok test_iter_abort_on_changed_size (test.test_bsddb.TestBTree) ... ok test_iter_while_modifying_values (test.test_bsddb.TestBTree) ... ok test_iteritems_abort_on_changed_size (test.test_bsddb.TestBTree) ... ok test_iteritems_while_modifying_values (test.test_bsddb.TestBTree) ... ok test_keyordering (test.test_bsddb.TestBTree) ... ok test_last_while_deleting (test.test_bsddb.TestBTree) ... ok test_len (test.test_bsddb.TestBTree) ... ok test_mapping_iteration_methods (test.test_bsddb.TestBTree) ... ok test_pop (test.test_bsddb.TestBTree) ... ok test_popitem (test.test_bsddb.TestBTree) ... ok test_previous_last_looping (test.test_bsddb.TestBTree) ... ok test_set_location (test.test_bsddb.TestBTree) ... ok test_setdefault (test.test_bsddb.TestBTree) ... ok test_update (test.test_bsddb.TestBTree) ... ok test__no_deadlock_first (test.test_bsddb.TestHashTable) ... ok test_change (test.test_bsddb.TestHashTable) ... ok test_clear (test.test_bsddb.TestHashTable) ... ok test_close_and_reopen (test.test_bsddb.TestHashTable) ... ok test_contains (test.test_bsddb.TestHashTable) ... ok test_first_next_looping (test.test_bsddb.TestHashTable) ... ok test_first_while_deleting (test.test_bsddb.TestHashTable) ... ok test_for_cursor_memleak (test.test_bsddb.TestHashTable) ... ok test_get (test.test_bsddb.TestHashTable) ... ok test_getitem (test.test_bsddb.TestHashTable) ... ok test_has_key (test.test_bsddb.TestHashTable) ... ok test_iter_abort_on_changed_size (test.test_bsddb.TestHashTable) ... ok test_iter_while_modifying_values (test.test_bsddb.TestHashTable) ... ok test_iteritems_abort_on_changed_size (test.test_bsddb.TestHashTable) ... ok test_iteritems_while_modifying_values (test.test_bsddb.TestHashTable) ... ok test_keyordering (test.test_bsddb.TestHashTable) ... ok test_last_while_deleting (test.test_bsddb.TestHashTable) ... ok test_len (test.test_bsddb.TestHashTable) ... ok test_mapping_iteration_methods (test.test_bsddb.TestHashTable) ... ok test_pop (test.test_bsddb.TestHashTable) ... ok test_popitem (test.test_bsddb.TestHashTable) ... ok test_previous_last_looping (test.test_bsddb.TestHashTable) ... ok test_set_location (test.test_bsddb.TestHashTable) ... ok test_setdefault (test.test_bsddb.TestHashTable) ... ok test_update (test.test_bsddb.TestHashTable) ... ok test__no_deadlock_first (test.test_bsddb.TestBTree_InMemory) ... ok test_change (test.test_bsddb.TestBTree_InMemory) ... ok test_clear (test.test_bsddb.TestBTree_InMemory) ... ok test_close_and_reopen (test.test_bsddb.TestBTree_InMemory) ... ok test_contains (test.test_bsddb.TestBTree_InMemory) ... ok test_first_next_looping (test.test_bsddb.TestBTree_InMemory) ... ok test_first_while_deleting (test.test_bsddb.TestBTree_InMemory) ... ok test_for_cursor_memleak (test.test_bsddb.TestBTree_InMemory) ... ok test_get (test.test_bsddb.TestBTree_InMemory) ... ok test_getitem (test.test_bsddb.TestBTree_InMemory) ... ok test_has_key (test.test_bsddb.TestBTree_InMemory) ... ok test_iter_abort_on_changed_size (test.test_bsddb.TestBTree_InMemory) ... ok test_iter_while_modifying_values (test.test_bsddb.TestBTree_InMemory) ... ok test_iteritems_abort_on_changed_size (test.test_bsddb.TestBTree_InMemory) ... ok test_iteritems_while_modifying_values (test.test_bsddb.TestBTree_InMemory) ... ok test_keyordering (test.test_bsddb.TestBTree_InMemory) ... ok test_last_while_deleting (test.test_bsddb.TestBTree_InMemory) ... ok test_len (test.test_bsddb.TestBTree_InMemory) ... ok test_mapping_iteration_methods (test.test_bsddb.TestBTree_InMemory) ... ok test_pop (test.test_bsddb.TestBTree_InMemory) ... ok test_popitem (test.test_bsddb.TestBTree_InMemory) ... ok test_previous_last_looping (test.test_bsddb.TestBTree_InMemory) ... ok test_set_location (test.test_bsddb.TestBTree_InMemory) ... ok test_setdefault (test.test_bsddb.TestBTree_InMemory) ... ok test_update (test.test_bsddb.TestBTree_InMemory) ... ok test__no_deadlock_first (test.test_bsddb.TestHashTable_InMemory) ... ok test_change (test.test_bsddb.TestHashTable_InMemory) ... ok test_clear (test.test_bsddb.TestHashTable_InMemory) ... ok test_close_and_reopen (test.test_bsddb.TestHashTable_InMemory) ... ok test_contains (test.test_bsddb.TestHashTable_InMemory) ... ok test_first_next_looping (test.test_bsddb.TestHashTable_InMemory) ... ok test_first_while_deleting (test.test_bsddb.TestHashTable_InMemory) ... ok test_for_cursor_memleak (test.test_bsddb.TestHashTable_InMemory) ... ok test_get (test.test_bsddb.TestHashTable_InMemory) ... ok test_getitem (test.test_bsddb.TestHashTable_InMemory) ... ok test_has_key (test.test_bsddb.TestHashTable_InMemory) ... ok test_iter_abort_on_changed_size (test.test_bsddb.TestHashTable_InMemory) ... ok test_iter_while_modifying_values (test.test_bsddb.TestHashTable_InMemory) ... ok test_iteritems_abort_on_changed_size (test.test_bsddb.TestHashTable_InMemory) ... ok test_iteritems_while_modifying_values (test.test_bsddb.TestHashTable_InMemory) ... ok test_keyordering (test.test_bsddb.TestHashTable_InMemory) ... ok test_last_while_deleting (test.test_bsddb.TestHashTable_InMemory) ... ok test_len (test.test_bsddb.TestHashTable_InMemory) ... ok test_mapping_iteration_methods (test.test_bsddb.TestHashTable_InMemory) ... ok test_pop (test.test_bsddb.TestHashTable_InMemory) ... ok test_popitem (test.test_bsddb.TestHashTable_InMemory) ... ok test_previous_last_looping (test.test_bsddb.TestHashTable_InMemory) ... ok test_set_location (test.test_bsddb.TestHashTable_InMemory) ... ok test_setdefault (test.test_bsddb.TestHashTable_InMemory) ... ok test_update (test.test_bsddb.TestHashTable_InMemory) ... ok test__no_deadlock_first (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_change (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_clear (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_close_and_reopen (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_contains (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_first_next_looping (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_first_while_deleting (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_for_cursor_memleak (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_get (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_getitem (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_has_key (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_iter_abort_on_changed_size (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_iter_while_modifying_values (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_iteritems_abort_on_changed_size (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_iteritems_while_modifying_values (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_keyordering (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_last_while_deleting (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_len (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_mapping_iteration_methods (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_pop (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_popitem (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_previous_last_looping (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_set_location (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_setdefault (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok test_update (test.test_bsddb.TestBTree_InMemory_Truncate) ... ok ---------------------------------------------------------------------- Ran 125 tests in 0.318s OK test_bsddb185 test_bsddb185 skipped -- No module named bsddb185 test_bsddb3 Berkeley DB 4.6.21: (September 27, 2007) Test path prefix: /tmp/z-test_bsddb3-28126 test00_associateDBError (bsddb.test.test_associate.AssociateErrorTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.AssociateHashTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.AssociateHashTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.AssociateBTreeTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.AssociateBTreeTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.AssociateRecnoTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.AssociateRecnoTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.AssociateBTreeTxnTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.AssociateBTreeTxnTestCase) ... ok test13_associate_in_transaction (bsddb.test.test_associate.AssociateBTreeTxnTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.ShelveAssociateHashTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.ShelveAssociateHashTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.ShelveAssociateBTreeTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.ShelveAssociateBTreeTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.ShelveAssociateRecnoTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.ShelveAssociateRecnoTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.ThreadedAssociateHashTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.ThreadedAssociateHashTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.ThreadedAssociateBTreeTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.ThreadedAssociateBTreeTestCase) ... ok test01_associateWithDB (bsddb.test.test_associate.ThreadedAssociateRecnoTestCase) ... ok test02_associateAfterDB (bsddb.test.test_associate.ThreadedAssociateRecnoTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test00_version (bsddb.test.test_basics.VersionTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BasicBTreeTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:144: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.DB_NOTFOUND) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:167: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.DB_KEYEXIST) ok test02_DictionaryMethods (bsddb.test.test_basics.BasicBTreeTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BasicBTreeTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:454: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) apply(getattr(c, method), args) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:458: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], 0) ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicBTreeTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:358: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.DB_NOTFOUND) ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicBTreeTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:306: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.DB_NOTFOUND) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:331: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.DB_NOTFOUND) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:376: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.DB_NOTFOUND) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:409: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.DB_KEYEMPTY) ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicBTreeTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BasicBTreeTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BasicBTreeTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BasicBTreeTestCase) ... ok test07_verify (bsddb.test.test_basics.BasicBTreeTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BasicHashTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BasicHashTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BasicHashTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicHashTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicHashTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicHashTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BasicHashTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BasicHashTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BasicHashTestCase) ... ok test07_verify (bsddb.test.test_basics.BasicHashTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test07_verify (bsddb.test.test_basics.BasicBTreeWithThreadFlagTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test07_verify (bsddb.test.test_basics.BasicHashWithThreadFlagTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test07_verify (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test08_EnvRemoveAndRename (bsddb.test.test_basics.BasicBTreeWithEnvTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test07_verify (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test08_EnvRemoveAndRename (bsddb.test.test_basics.BasicHashWithEnvTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test06_Transactions (bsddb.test.test_basics.BTreeTransactionTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:713: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assert_(statDict.has_key('magic')) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:714: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assert_(statDict.has_key('version')) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:715: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assert_(statDict.has_key('cur_file')) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_basics.py:716: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assert_(statDict.has_key('region_nowait')) ok test06_Truncate (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test07_verify (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test08_TxnTruncate (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test09_TxnLateUse (bsddb.test.test_basics.BTreeTransactionTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.HashTransactionTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.HashTransactionTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.HashTransactionTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.HashTransactionTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.HashTransactionTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.HashTransactionTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.HashTransactionTestCase) ... ok test05_GetSize (bsddb.test.test_basics.HashTransactionTestCase) ... ok test06_Transactions (bsddb.test.test_basics.HashTransactionTestCase) ... ok test06_Truncate (bsddb.test.test_basics.HashTransactionTestCase) ... ok test07_verify (bsddb.test.test_basics.HashTransactionTestCase) ... ok test08_TxnTruncate (bsddb.test.test_basics.HashTransactionTestCase) ... ok test09_TxnLateUse (bsddb.test.test_basics.HashTransactionTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test07_verify (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test08_RecnoInBTree (bsddb.test.test_basics.BTreeRecnoTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test07_verify (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test08_RecnoInBTree (bsddb.test.test_basics.BTreeRecnoWithThreadFlagTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test07_verify (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test09_DuplicateKeys (bsddb.test.test_basics.BTreeDUPTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.HashDUPTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.HashDUPTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.HashDUPTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.HashDUPTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.HashDUPTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.HashDUPTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.HashDUPTestCase) ... ok test05_GetSize (bsddb.test.test_basics.HashDUPTestCase) ... ok test06_Truncate (bsddb.test.test_basics.HashDUPTestCase) ... ok test07_verify (bsddb.test.test_basics.HashDUPTestCase) ... ok test09_DuplicateKeys (bsddb.test.test_basics.HashDUPTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test07_verify (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test09_DuplicateKeys (bsddb.test.test_basics.BTreeDUPWithThreadTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test05_GetSize (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test06_Truncate (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test07_verify (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test09_DuplicateKeys (bsddb.test.test_basics.HashDUPWithThreadTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test05_GetSize (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test06_Truncate (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test07_verify (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test10_MultiDB (bsddb.test.test_basics.BTreeMultiDBTestCase) ... ok test01_GetsAndPuts (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test02_DictionaryMethods (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test03_SimpleCursorStuff (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test04_PartialGetAndPut (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test05_GetSize (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test06_Truncate (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test07_verify (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test10_MultiDB (bsddb.test.test_basics.HashMultiDBTestCase) ... ok test01_DefaultIsNone (bsddb.test.test_basics.DBEnvPrivateObject) ... ok test02_assignment (bsddb.test.test_basics.DBEnvPrivateObject) ... ok test03_leak_assignment (bsddb.test.test_basics.DBEnvPrivateObject) ... ok test04_leak_GC (bsddb.test.test_basics.DBEnvPrivateObject) ... ok test01_DefaultIsNone (bsddb.test.test_basics.DBPrivateObject) ... ok test02_assignment (bsddb.test.test_basics.DBPrivateObject) ... ok test03_leak_assignment (bsddb.test.test_basics.DBPrivateObject) ... ok test04_leak_GC (bsddb.test.test_basics.DBPrivateObject) ... ok test02_DBEnv_dealloc (bsddb.test.test_basics.CrashAndBurn) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test_lexical_comparator (bsddb.test.test_compare.ComparatorTests) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_compare.py:37: DeprecationWarning: the cmp argument is not supported in 3.x data.sort(cmp=comparator) ok test_lowercase_comparator (bsddb.test.test_compare.ComparatorTests) ... ok test_reverse_lexical_comparator (bsddb.test.test_compare.ComparatorTests) ... ok test_cannot_assign_twice (bsddb.test.test_compare.BtreeExceptionsTestCase) ... ok test_compare_function_bad_return (bsddb.test.test_compare.BtreeExceptionsTestCase) ... ok test_compare_function_exception (bsddb.test.test_compare.BtreeExceptionsTestCase) ... ok test_compare_function_incorrect (bsddb.test.test_compare.BtreeExceptionsTestCase) ... ok test_raises_non_callable (bsddb.test.test_compare.BtreeExceptionsTestCase) ... ok test_set_bt_compare_with_function (bsddb.test.test_compare.BtreeExceptionsTestCase) ... ok test_compare_function_useless (bsddb.test.test_compare.BtreeKeyCompareTestCase) ... ok test_lexical_ordering (bsddb.test.test_compare.BtreeKeyCompareTestCase) ... ok test_reverse_lexical_ordering (bsddb.test.test_compare.BtreeKeyCompareTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_btopen (bsddb.test.test_compat.CompatibilityTestCase) ... ok test02_hashopen (bsddb.test.test_compat.CompatibilityTestCase) ... ok test03_rnopen (bsddb.test.test_compat.CompatibilityTestCase) ... ok test04_n_flag (bsddb.test.test_compat.CompatibilityTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test_pget (bsddb.test.test_cursor_pget_bug.pget_bugTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_both (bsddb.test.test_dbobj.dbobjTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:45: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) self._cobj = apply(db.DBEnv, args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:50: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(self._cobj.open, args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:129: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) self._cobj = apply(db.DB, (dbenv._cobj,) + args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:184: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(self._cobj.open, args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_dbobj.py:30: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(dbobj.DB.put, (self, key) + args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:186: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(self._cobj.put, args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:162: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(self._cobj.get, args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:150: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(self._cobj.close, args, kwargs) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbobj.py:48: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) return apply(self._cobj.close, args, kwargs) ok test02_dbobj_dict_interface (bsddb.test.test_dbobj.dbobjTestCase) ... ok test03_dbobj_type_before_open (bsddb.test.test_dbobj.dbobjTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_basics (bsddb.test.test_dbshelve.DBShelveTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_dbshelve.py:122: DeprecationWarning: comparing unequal types not supported in 3.x values.sort() /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_dbshelve.py:123: DeprecationWarning: comparing unequal types not supported in 3.x dbvalues.sort() /home/exarkun/Projects/python/trunk/Lib/bsddb/dbshelve.py:237: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) data = apply(self.db.get, args, kw) ok test02_cursors (bsddb.test.test_dbshelve.DBShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.DBShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.BTreeShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.BTreeShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.BTreeShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.HashShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.HashShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.HashShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.ThreadBTreeShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.ThreadBTreeShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.ThreadBTreeShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.ThreadHashShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.ThreadHashShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.ThreadHashShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.EnvBTreeShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.EnvBTreeShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.EnvBTreeShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.EnvHashShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.EnvHashShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.EnvHashShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.EnvThreadBTreeShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.EnvThreadBTreeShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.EnvThreadBTreeShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.EnvThreadHashShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.EnvThreadHashShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.EnvThreadHashShelveTestCase) ... ok test01_basics (bsddb.test.test_dbshelve.RecNoShelveTestCase) ... ok test02_cursors (bsddb.test.test_dbshelve.RecNoShelveTestCase) ... ok test03_append (bsddb.test.test_dbshelve.RecNoShelveTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01 (bsddb.test.test_dbtables.TableDBTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:825: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute raise TableDBError, dberror[1] /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:475: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not self.__tablecolumns.has_key(table): /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:618: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not self.__tablecolumns.has_key(table): /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:642: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not self.__tablecolumns.has_key(table): /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:682: DeprecationWarning: the cmp argument is not supported in 3.x conditionlist.sort(cmp_conditions) /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:712: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not rejected_rowids.has_key(rowid): /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:716: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not matching_rowids.has_key(rowid): /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:746: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if rowdata.has_key(column): ok test02 (bsddb.test.test_dbtables.TableDBTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:721: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if matching_rowids.has_key(rowid): ok test03 (bsddb.test.test_dbtables.TableDBTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:818: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if self.__tablecolumns.has_key(table): ok test04_MultiCondSelect (bsddb.test.test_dbtables.TableDBTestCase) ... ok test_CondObjs (bsddb.test.test_dbtables.TableDBTestCase) ... ok test_CreateOrExtend (bsddb.test.test_dbtables.TableDBTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:401: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not oldcolumnhash.has_key(c): ok test_Delete (bsddb.test.test_dbtables.TableDBTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/dbtables.py:729: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if dberror[0] != db.DB_NOTFOUND: ok test_Modify (bsddb.test.test_dbtables.TableDBTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributed) ... ok test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributedSYNC) ... ok test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributed_must_open_db) ... ok test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributedSYNC_must_open_db) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_close_dbenv_before_db (bsddb.test.test_early_close.DBEnvClosedEarlyCrash) ... ok test02_close_dbenv_before_dbcursor (bsddb.test.test_early_close.DBEnvClosedEarlyCrash) ... ok test03_close_db_before_dbcursor_without_env (bsddb.test.test_early_close.DBEnvClosedEarlyCrash) ... ok test04_close_massive (bsddb.test.test_early_close.DBEnvClosedEarlyCrash) ... ok test05_close_dbenv_delete_db_success (bsddb.test.test_early_close.DBEnvClosedEarlyCrash) ... ok test06_close_txn_before_dup_cursor (bsddb.test.test_early_close.DBEnvClosedEarlyCrash) ... ok test07_close_db_before_sequence (bsddb.test.test_early_close.DBEnvClosedEarlyCrash) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_get_returns_none (bsddb.test.test_get_none.GetReturnsNoneTestCase) ... ok test02_get_raises_exception (bsddb.test.test_get_none.GetReturnsNoneTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_join (bsddb.test.test_join.JoinTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_join.py:54: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) map(lambda t, priDB=priDB: apply(priDB.put, t), ProductIndex) /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_join.py:60: DeprecationWarning: apply() not supported in 3.x; use func(*args, **kwargs) map(lambda t, secDB=secDB: apply(secDB.put, t), ColorIndex) ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_simple (bsddb.test.test_lock.LockingTestCase) ... ok test02_threaded (bsddb.test.test_lock.LockingTestCase) ... ok test03_lock_timeout (bsddb.test.test_lock.LockingTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_badpointer (bsddb.test.test_misc.MiscTestCase) ... ok test02_db_home (bsddb.test.test_misc.MiscTestCase) ... ok test03_repr_closed_db (bsddb.test.test_misc.MiscTestCase) ... ok test04_repr_db (bsddb.test.test_misc.MiscTestCase) ... ok test05_double_free_make_key_dbt (bsddb.test.test_misc.MiscTestCase) ... ok test06_key_with_null_bytes (bsddb.test.test_misc.MiscTestCase) ... ok test07_DB_set_flags_persists (bsddb.test.test_misc.MiscTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_pickle_DBError (bsddb.test.test_pickle.pickleTestCase) ... ok test02_cPickle_DBError (bsddb.test.test_pickle.pickleTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_basic (bsddb.test.test_queue.SimpleQueueTestCase) ... ok test02_basicPost32 (bsddb.test.test_queue.SimpleQueueTestCase) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_basic (bsddb.test.test_recno.SimpleRecnoTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_recno.py:65: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.EINVAL) ok test02_WithSource (bsddb.test.test_recno.SimpleRecnoTestCase) ... ok test03_FixedLength (bsddb.test.test_recno.SimpleRecnoTestCase) ... /home/exarkun/Projects/python/trunk/Lib/bsddb/test/test_recno.py:274: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute self.assertEqual(val[0], db.EINVAL) ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_basic_replication (bsddb.test.test_replication.DBReplicationManager) ... ok test01_basic_replication (bsddb.test.test_replication.DBBaseReplication) ... ok test03_master_election (bsddb.test.test_replication.DBBaseReplication) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test_64bits (bsddb.test.test_sequence.DBSequenceTest) ... ok test_cachesize (bsddb.test.test_sequence.DBSequenceTest) ... ok test_flags (bsddb.test.test_sequence.DBSequenceTest) ... ok test_get (bsddb.test.test_sequence.DBSequenceTest) ... ok test_get_dbp (bsddb.test.test_sequence.DBSequenceTest) ... ok test_get_key (bsddb.test.test_sequence.DBSequenceTest) ... ok test_multiple_close (bsddb.test.test_sequence.DBSequenceTest) ... ok test_range (bsddb.test.test_sequence.DBSequenceTest) ... ok test_remove (bsddb.test.test_sequence.DBSequenceTest) ... ok test_stat (bsddb.test.test_sequence.DBSequenceTest) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok test01_1WriterMultiReaders (bsddb.test.test_thread.BTreeConcurrentDataStore) ... ok test01_1WriterMultiReaders (bsddb.test.test_thread.HashConcurrentDataStore) ... ok test02_SimpleLocks (bsddb.test.test_thread.BTreeSimpleThreaded) ... ok test02_SimpleLocks (bsddb.test.test_thread.HashSimpleThreaded) ... ok test03_ThreadedTransactions (bsddb.test.test_thread.BTreeThreadedTransactions) ... ok test03_ThreadedTransactions (bsddb.test.test_thread.HashThreadedTransactions) ... ok test03_ThreadedTransactions (bsddb.test.test_thread.BTreeThreadedNoWaitTransactions) ... ok test03_ThreadedTransactions (bsddb.test.test_thread.HashThreadedNoWaitTransactions) ... ok testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok ---------------------------------------------------------------------- Ran 338 tests in 55.629s OK test_buffer test_extended_getslice (test.test_buffer.BufferTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_buffer.py:15: DeprecationWarning: buffer() not supported in 3.x b = buffer(s) ok ---------------------------------------------------------------------- Ran 1 test in 0.003s OK test_bufio test_nullpat (test.test_bufio.CBufferSizeTest) ... ok test_primepat (test.test_bufio.CBufferSizeTest) ... ok test_nullpat (test.test_bufio.PyBufferSizeTest) ... ok test_primepat (test.test_bufio.PyBufferSizeTest) ... ok test_nullpat (test.test_bufio.BuiltinBufferSizeTest) ... ok test_primepat (test.test_bufio.BuiltinBufferSizeTest) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.954s OK test_bytes test_alloc (test.test_bytes.ByteArrayTest) ... ok test_append (test.test_bytes.ByteArrayTest) ... ok test_basics (test.test_bytes.ByteArrayTest) ... ok test_bytearray_api (test.test_bytes.ByteArrayTest) ... ok test_compare (test.test_bytes.ByteArrayTest) ... ok test_compare_to_str (test.test_bytes.ByteArrayTest) ... ok test_concat (test.test_bytes.ByteArrayTest) ... ok test_constructor_type_errors (test.test_bytes.ByteArrayTest) ... ok test_constructor_value_errors (test.test_bytes.ByteArrayTest) ... ok test_contains (test.test_bytes.ByteArrayTest) ... ok test_copied (test.test_bytes.ByteArrayTest) ... ok test_count (test.test_bytes.ByteArrayTest) ... ok test_decode (test.test_bytes.ByteArrayTest) ... ok test_delitem (test.test_bytes.ByteArrayTest) ... ok test_empty_sequence (test.test_bytes.ByteArrayTest) ... ok test_encoding (test.test_bytes.ByteArrayTest) ... ok test_endswith (test.test_bytes.ByteArrayTest) ... ok test_extend (test.test_bytes.ByteArrayTest) ... ok test_extended_getslice (test.test_bytes.ByteArrayTest) ... ok test_extended_set_del_slice (test.test_bytes.ByteArrayTest) ... ok test_find (test.test_bytes.ByteArrayTest) ... ok test_from_index (test.test_bytes.ByteArrayTest) ... ok test_from_int (test.test_bytes.ByteArrayTest) ... ok test_from_list (test.test_bytes.ByteArrayTest) ... ok test_from_ssize (test.test_bytes.ByteArrayTest) ... ok test_fromhex (test.test_bytes.ByteArrayTest) ... ok test_getslice (test.test_bytes.ByteArrayTest) ... ok test_iconcat (test.test_bytes.ByteArrayTest) ... ok test_index (test.test_bytes.ByteArrayTest) ... ok test_insert (test.test_bytes.ByteArrayTest) ... ok test_irepeat (test.test_bytes.ByteArrayTest) ... ok test_irepeat_1char (test.test_bytes.ByteArrayTest) ... ok test_join (test.test_bytes.ByteArrayTest) ... ok test_lstrip (test.test_bytes.ByteArrayTest) ... ok test_nohash (test.test_bytes.ByteArrayTest) ... ok test_nosort (test.test_bytes.ByteArrayTest) ... ok test_ord (test.test_bytes.ByteArrayTest) ... ok test_partition (test.test_bytes.ByteArrayTest) ... ok test_partition_bytearray_doesnt_share_nullstring (test.test_bytes.ByteArrayTest) ... ok test_pickling (test.test_bytes.ByteArrayTest) ... ok test_pop (test.test_bytes.ByteArrayTest) ... ok test_regexps (test.test_bytes.ByteArrayTest) ... ok test_remove (test.test_bytes.ByteArrayTest) ... ok test_repeat (test.test_bytes.ByteArrayTest) ... ok test_repeat_1char (test.test_bytes.ByteArrayTest) ... ok test_replace (test.test_bytes.ByteArrayTest) ... ok test_reverse (test.test_bytes.ByteArrayTest) ... ok test_reversed (test.test_bytes.ByteArrayTest) ... ok test_rfind (test.test_bytes.ByteArrayTest) ... ok test_rindex (test.test_bytes.ByteArrayTest) ... ok test_rpartition (test.test_bytes.ByteArrayTest) ... ok test_rsplit (test.test_bytes.ByteArrayTest) ... ok test_rsplit_string_error (test.test_bytes.ByteArrayTest) ... ok test_rsplit_unicodewhitespace (test.test_bytes.ByteArrayTest) ... ok test_rsplit_whitespace (test.test_bytes.ByteArrayTest) ... ok test_rstrip (test.test_bytes.ByteArrayTest) ... ok test_setitem (test.test_bytes.ByteArrayTest) ... ok test_setslice (test.test_bytes.ByteArrayTest) ... ok test_setslice_trap (test.test_bytes.ByteArrayTest) ... ok test_split (test.test_bytes.ByteArrayTest) ... ok test_split_string_error (test.test_bytes.ByteArrayTest) ... ok test_split_whitespace (test.test_bytes.ByteArrayTest) ... ok test_startswith (test.test_bytes.ByteArrayTest) ... ok test_strip (test.test_bytes.ByteArrayTest) ... ok test_strip_string_error (test.test_bytes.ByteArrayTest) ... ok test_strip_whitespace (test.test_bytes.ByteArrayTest) ... ok test_capitalize (test.test_bytes.ByteArrayAsStringTest) ... ok test_center (test.test_bytes.ByteArrayAsStringTest) ... ok test_contains (test.test_bytes.ByteArrayAsStringTest) ... ok test_count (test.test_bytes.ByteArrayAsStringTest) ... ok test_expandtabs (test.test_bytes.ByteArrayAsStringTest) ... ok test_find (test.test_bytes.ByteArrayAsStringTest) ... ok test_hash (test.test_bytes.ByteArrayAsStringTest) ... ok test_index (test.test_bytes.ByteArrayAsStringTest) ... ok test_ljust (test.test_bytes.ByteArrayAsStringTest) ... ok test_lower (test.test_bytes.ByteArrayAsStringTest) ... ok test_replace (test.test_bytes.ByteArrayAsStringTest) ... /home/exarkun/Projects/python/trunk/Lib/test/string_tests.py:689: DeprecationWarning: buffer() not supported in 3.x ba = buffer('a') /home/exarkun/Projects/python/trunk/Lib/test/string_tests.py:690: DeprecationWarning: buffer() not supported in 3.x bb = buffer('b') ok test_replace_overflow (test.test_bytes.ByteArrayAsStringTest) ... ok test_rfind (test.test_bytes.ByteArrayAsStringTest) ... ok test_rindex (test.test_bytes.ByteArrayAsStringTest) ... ok test_rjust (test.test_bytes.ByteArrayAsStringTest) ... ok test_rsplit (test.test_bytes.ByteArrayAsStringTest) ... ok test_split (test.test_bytes.ByteArrayAsStringTest) ... ok test_strip (test.test_bytes.ByteArrayAsStringTest) ... ok test_swapcase (test.test_bytes.ByteArrayAsStringTest) ... ok test_upper (test.test_bytes.ByteArrayAsStringTest) ... ok test_zfill (test.test_bytes.ByteArrayAsStringTest) ... ok test_basic (test.test_bytes.ByteArraySubclassTest) ... ok test_copy (test.test_bytes.ByteArraySubclassTest) ... ok test_init_override (test.test_bytes.ByteArraySubclassTest) ... ok test_join (test.test_bytes.ByteArraySubclassTest) ... ok test_pickle (test.test_bytes.ByteArraySubclassTest) ... ok test_capitalize (test.test_bytes.BytearrayPEP3137Test) ... ok test_center (test.test_bytes.BytearrayPEP3137Test) ... ok test_expandtabs (test.test_bytes.BytearrayPEP3137Test) ... ok test_isalnum (test.test_bytes.BytearrayPEP3137Test) ... ok test_isalpha (test.test_bytes.BytearrayPEP3137Test) ... ok test_isdigit (test.test_bytes.BytearrayPEP3137Test) ... ok test_islower (test.test_bytes.BytearrayPEP3137Test) ... ok test_isspace (test.test_bytes.BytearrayPEP3137Test) ... ok test_istitle (test.test_bytes.BytearrayPEP3137Test) ... ok test_isupper (test.test_bytes.BytearrayPEP3137Test) ... ok test_ljust (test.test_bytes.BytearrayPEP3137Test) ... ok test_lower (test.test_bytes.BytearrayPEP3137Test) ... ok test_returns_new_copy (test.test_bytes.BytearrayPEP3137Test) ... ok test_rjust (test.test_bytes.BytearrayPEP3137Test) ... ok test_splitlines (test.test_bytes.BytearrayPEP3137Test) ... ok test_swapcase (test.test_bytes.BytearrayPEP3137Test) ... ok test_title (test.test_bytes.BytearrayPEP3137Test) ... ok test_upper (test.test_bytes.BytearrayPEP3137Test) ... ok test_zfill (test.test_bytes.BytearrayPEP3137Test) ... ok ---------------------------------------------------------------------- Ran 111 tests in 0.269s OK test_bz2 testBug1191043 (test.test_bz2.BZ2FileTest) ... ok testClosedIteratorDeadlock (test.test_bz2.BZ2FileTest) ... ok testContextProtocol (test.test_bz2.BZ2FileTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_bz2.py:303: DeprecationWarning: classic int division 1/0 ok testIterator (test.test_bz2.BZ2FileTest) ... ok testModeU (test.test_bz2.BZ2FileTest) ... ok testOpenDel (test.test_bz2.BZ2FileTest) ... ok testOpenNonexistent (test.test_bz2.BZ2FileTest) ... ok testRead (test.test_bz2.BZ2FileTest) ... ok testRead100 (test.test_bz2.BZ2FileTest) ... ok testReadChunk10 (test.test_bz2.BZ2FileTest) ... ok testReadLine (test.test_bz2.BZ2FileTest) ... ok testReadLines (test.test_bz2.BZ2FileTest) ... ok testSeekBackwards (test.test_bz2.BZ2FileTest) ... ok testSeekBackwardsFromEnd (test.test_bz2.BZ2FileTest) ... ok testSeekForward (test.test_bz2.BZ2FileTest) ... ok testSeekPostEnd (test.test_bz2.BZ2FileTest) ... ok testSeekPostEndTwice (test.test_bz2.BZ2FileTest) ... ok testSeekPreStart (test.test_bz2.BZ2FileTest) ... ok testUniversalNewlinesCRLF (test.test_bz2.BZ2FileTest) ... ok testUniversalNewlinesLF (test.test_bz2.BZ2FileTest) ... ok testWrite (test.test_bz2.BZ2FileTest) ... ok testWriteChunks10 (test.test_bz2.BZ2FileTest) ... ok testWriteLines (test.test_bz2.BZ2FileTest) ... ok testWriteMethodsOnReadOnlyFile (test.test_bz2.BZ2FileTest) ... ok testXReadLines (test.test_bz2.BZ2FileTest) ... ok testCompress (test.test_bz2.BZ2CompressorTest) ... ok testCompressChunks10 (test.test_bz2.BZ2CompressorTest) ... ok testDecompress (test.test_bz2.BZ2DecompressorTest) ... ok testDecompressChunks10 (test.test_bz2.BZ2DecompressorTest) ... ok testDecompressUnusedData (test.test_bz2.BZ2DecompressorTest) ... ok testEOFError (test.test_bz2.BZ2DecompressorTest) ... ok test_Constructor (test.test_bz2.BZ2DecompressorTest) ... ok testCompress (test.test_bz2.FuncTest) ... ok testDecompress (test.test_bz2.FuncTest) ... ok testDecompressEmpty (test.test_bz2.FuncTest) ... ok testDecompressIncomplete (test.test_bz2.FuncTest) ... ok ---------------------------------------------------------------------- Ran 36 tests in 0.108s OK test_calendar test_output (test.test_calendar.OutputTestCase) ... ok test_output_htmlcalendar (test.test_calendar.OutputTestCase) ... ok test_output_textcalendar (test.test_calendar.OutputTestCase) ... ok test_days (test.test_calendar.CalendarTestCase) ... ok test_enumerateweekdays (test.test_calendar.CalendarTestCase) ... ok test_isleap (test.test_calendar.CalendarTestCase) ... ok test_months (test.test_calendar.CalendarTestCase) ... ok test_setfirstweekday (test.test_calendar.CalendarTestCase) ... /home/exarkun/Projects/python/trunk/Lib/calendar.py:567: DeprecationWarning: comparing unequal types not supported in 3.x if not MONDAY <= firstweekday <= SUNDAY: ok test_april (test.test_calendar.MondayTestCase) ... ok test_december (test.test_calendar.MondayTestCase) ... ok test_february (test.test_calendar.MondayTestCase) ... ok test_april (test.test_calendar.SundayTestCase) ... ok test_december (test.test_calendar.SundayTestCase) ... ok test_february (test.test_calendar.SundayTestCase) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.015s OK test_call test_oldargs0_0 (test.test_call.CFunctionCalls) ... ok test_oldargs0_0_ext (test.test_call.CFunctionCalls) ... ok test_oldargs0_0_kw (test.test_call.CFunctionCalls) ... ok test_oldargs0_1 (test.test_call.CFunctionCalls) ... ok test_oldargs0_1_ext (test.test_call.CFunctionCalls) ... ok test_oldargs0_1_kw (test.test_call.CFunctionCalls) ... ok test_oldargs0_2 (test.test_call.CFunctionCalls) ... ok test_oldargs0_2_ext (test.test_call.CFunctionCalls) ... ok test_oldargs0_2_kw (test.test_call.CFunctionCalls) ... ok test_oldargs1_0 (test.test_call.CFunctionCalls) ... ok test_oldargs1_0_ext (test.test_call.CFunctionCalls) ... ok test_oldargs1_0_kw (test.test_call.CFunctionCalls) ... ok test_oldargs1_1 (test.test_call.CFunctionCalls) ... ok test_oldargs1_1_ext (test.test_call.CFunctionCalls) ... ok test_oldargs1_1_kw (test.test_call.CFunctionCalls) ... ok test_oldargs1_2 (test.test_call.CFunctionCalls) ... ok test_oldargs1_2_ext (test.test_call.CFunctionCalls) ... ok test_oldargs1_2_kw (test.test_call.CFunctionCalls) ... ok test_varargs0 (test.test_call.CFunctionCalls) ... ok test_varargs0_ext (test.test_call.CFunctionCalls) ... ok test_varargs0_kw (test.test_call.CFunctionCalls) ... ok test_varargs1 (test.test_call.CFunctionCalls) ... /home/exarkun/Projects/python/trunk/Lib/test/test_call.py:15: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator {}.has_key(0) ok test_varargs1_ext (test.test_call.CFunctionCalls) ... /home/exarkun/Projects/python/trunk/Lib/test/test_call.py:27: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator {}.has_key(*(0,)) ok test_varargs1_kw (test.test_call.CFunctionCalls) ... ok test_varargs2 (test.test_call.CFunctionCalls) ... ok test_varargs2_ext (test.test_call.CFunctionCalls) ... ok test_varargs2_kw (test.test_call.CFunctionCalls) ... ok ---------------------------------------------------------------------- Ran 27 tests in 0.001s OK test_capi internal test_L_code internal test_config internal test_dict_iteration internal test_empty_argparse internal test_k_code internal test_lazy_hash_inheritance internal test_list_api internal test_long_api internal test_long_numbits internal test_longlong_api internal test_null_strings internal test_string_from_format internal test_structmembersType internal test_u_code internal test_widechar internal test_with_docstring auto-thread-state auto-thread-state test_pendingcalls_non_threaded (test.test_capi.TestPendingCalls) ... ok test_pendingcalls_threaded (test.test_capi.TestPendingCalls) ... /home/exarkun/Projects/python/trunk/Lib/test/test_capi.py:58: DeprecationWarning: classic int division context.nThreads = n / context.n ok ---------------------------------------------------------------------- Ran 2 tests in 0.776s OK test_cd test_cd skipped -- No module named cd test_cfgparser test_basic (test.test_cfgparser.ConfigParserTestCase) ... ok test_boolean (test.test_cfgparser.ConfigParserTestCase) ... ok test_case_sensitivity (test.test_cfgparser.ConfigParserTestCase) ... ok test_default_case_sensitivity (test.test_cfgparser.ConfigParserTestCase) ... ok test_interpolation (test.test_cfgparser.ConfigParserTestCase) ... ok test_interpolation_missing_value (test.test_cfgparser.ConfigParserTestCase) ... ok test_items (test.test_cfgparser.ConfigParserTestCase) ... ok test_parse_errors (test.test_cfgparser.ConfigParserTestCase) ... ok test_query_errors (test.test_cfgparser.ConfigParserTestCase) ... ok test_read_returns_file_list (test.test_cfgparser.ConfigParserTestCase) ... ok test_set_nonstring_types (test.test_cfgparser.ConfigParserTestCase) ... ok test_set_string_types (test.test_cfgparser.ConfigParserTestCase) ... ok test_weird_errors (test.test_cfgparser.ConfigParserTestCase) ... ok test_write (test.test_cfgparser.ConfigParserTestCase) ... ok test_basic (test.test_cfgparser.RawConfigParserTestCase) ... ok test_boolean (test.test_cfgparser.RawConfigParserTestCase) ... ok test_case_sensitivity (test.test_cfgparser.RawConfigParserTestCase) ... ok test_default_case_sensitivity (test.test_cfgparser.RawConfigParserTestCase) ... ok test_interpolation (test.test_cfgparser.RawConfigParserTestCase) ... ok test_items (test.test_cfgparser.RawConfigParserTestCase) ... ok test_parse_errors (test.test_cfgparser.RawConfigParserTestCase) ... ok test_query_errors (test.test_cfgparser.RawConfigParserTestCase) ... ok test_read_returns_file_list (test.test_cfgparser.RawConfigParserTestCase) ... ok test_set_nonstring_types (test.test_cfgparser.RawConfigParserTestCase) ... ok test_set_string_types (test.test_cfgparser.RawConfigParserTestCase) ... ok test_weird_errors (test.test_cfgparser.RawConfigParserTestCase) ... ok test_write (test.test_cfgparser.RawConfigParserTestCase) ... ok test_add_section_default_1 (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_add_section_default_2 (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_basic (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_boolean (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_case_sensitivity (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_default_case_sensitivity (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_interpolation (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_interpolation_missing_value (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_items (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_parse_errors (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_query_errors (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_read_returns_file_list (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_safe_interpolation (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_set_malformatted_interpolation (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_set_nonstring_types (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_set_string_types (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_weird_errors (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_write (test.test_cfgparser.SafeConfigParserTestCase) ... ok test_basic (test.test_cfgparser.SortedTestCase) ... ok test_boolean (test.test_cfgparser.SortedTestCase) ... ok test_case_sensitivity (test.test_cfgparser.SortedTestCase) ... ok test_default_case_sensitivity (test.test_cfgparser.SortedTestCase) ... ok test_interpolation (test.test_cfgparser.SortedTestCase) ... ok test_items (test.test_cfgparser.SortedTestCase) ... ok test_parse_errors (test.test_cfgparser.SortedTestCase) ... ok test_query_errors (test.test_cfgparser.SortedTestCase) ... ok test_read_returns_file_list (test.test_cfgparser.SortedTestCase) ... ok test_set_nonstring_types (test.test_cfgparser.SortedTestCase) ... ok test_set_string_types (test.test_cfgparser.SortedTestCase) ... ok test_sorted (test.test_cfgparser.SortedTestCase) ... ok test_weird_errors (test.test_cfgparser.SortedTestCase) ... ok test_write (test.test_cfgparser.SortedTestCase) ... ok ---------------------------------------------------------------------- Ran 59 tests in 0.023s OK test_cgi testQSAndFormData (test.test_cgi.CgiTests) ... ok testQSAndFormDataFile (test.test_cgi.CgiTests) ... ok testQSAndUrlEncode (test.test_cgi.CgiTests) ... ok test_deprecated_parse_qs (test.test_cgi.CgiTests) ... ok test_deprecated_parse_qsl (test.test_cgi.CgiTests) ... ok test_fieldstorage_multipart (test.test_cgi.CgiTests) ... ok test_fieldstorage_readline (test.test_cgi.CgiTests) ... ok test_log (test.test_cgi.CgiTests) ... ok test_parse_header (test.test_cgi.CgiTests) ... ok test_strict (test.test_cgi.CgiTests) ... ok test_weird_formcontentdict (test.test_cgi.CgiTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_cgi.py:107: DeprecationWarning: comparing unequal types not supported in 3.x list.sort() ok ---------------------------------------------------------------------- Ran 11 tests in 0.012s OK test_charmapcodec test_constructorx (test.test_charmapcodec.CharmapCodecTest) ... ok test_constructory (test.test_charmapcodec.CharmapCodecTest) ... ok test_encodex (test.test_charmapcodec.CharmapCodecTest) ... ok test_maptoundefined (test.test_charmapcodec.CharmapCodecTest) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.001s OK test_cl test_cl skipped -- No module named cl test_class testBadTypeReturned (test.test_class.ClassTests) ... ok testBinaryOps (test.test_class.ClassTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_class.py:175: DeprecationWarning: classic int division if 1/2 == 0: ok testDel (test.test_class.ClassTests) ... ok testForExceptionsRaisedInInstanceGetattr2 (test.test_class.ClassTests) ... ok testGetSetAndDel (test.test_class.ClassTests) ... ok testHashComparisonOfMethods (test.test_class.ClassTests) ... ok testHashStuff (test.test_class.ClassTests) ... ok testInit (test.test_class.ClassTests) ... ok testListAndDictOps (test.test_class.ClassTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_class.py:280: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ testme[:42] /home/exarkun/Projects/python/trunk/Lib/test/test_class.py:284: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ testme[:42] = "The Answer" /home/exarkun/Projects/python/trunk/Lib/test/test_class.py:288: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del testme[:42] ok testMisc (test.test_class.ClassTests) ... ok testMixIntsAndLongs (test.test_class.ClassTests) ... ok testSFBug532646 (test.test_class.ClassTests) ... ok testUnaryOps (test.test_class.ClassTests) ... ok ---------------------------------------------------------------------- Ran 13 tests in 0.017s OK test_cmath test_abs (test.test_cmath.CMathTests) ... ok test_cmath_matches_math (test.test_cmath.CMathTests) ... ok test_constants (test.test_cmath.CMathTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_cmath.py:126: DeprecationWarning: comparing unequal types not supported in 3.x if absolute_error <= max(abs_err, rel_err * abs(a)): ok test_input_type (test.test_cmath.CMathTests) ... ok test_isinf (test.test_cmath.CMathTests) ... ok test_isnan (test.test_cmath.CMathTests) ... ok test_phase (test.test_cmath.CMathTests) ... ok test_polar (test.test_cmath.CMathTests) ... ok test_rect (test.test_cmath.CMathTests) ... ok test_specific_values (test.test_cmath.CMathTests) ... ok test_user_object (test.test_cmath.CMathTests) ... ok ---------------------------------------------------------------------- Ran 11 tests in 0.039s OK test_cmd Trying: mycmd = samplecmdclass() Expecting nothing ok Trying: mycmd.parseline("") Expecting: (None, None, '') ok Trying: mycmd.parseline("?") Expecting: ('help', '', 'help ') ok Trying: mycmd.parseline("?help") Expecting: ('help', 'help', 'help help') ok Trying: mycmd.parseline("!") Expecting: ('shell', '', 'shell ') ok Trying: mycmd.parseline("!command") Expecting: ('shell', 'command', 'shell command') ok Trying: mycmd.parseline("func") Expecting: ('func', '', 'func') ok Trying: mycmd.parseline("func arg1") Expecting: ('func', 'arg1', 'func arg1') ok Trying: mycmd.onecmd("") Expecting nothing ok Trying: mycmd.onecmd("add 4 5") Expecting: 9 ok Trying: mycmd.onecmd("") Expecting: 9 ok Trying: mycmd.onecmd("test") Expecting: *** Unknown syntax: test ok Trying: mycmd.emptyline() Expecting: *** Unknown syntax: test ok Trying: mycmd.default("default") Expecting: *** Unknown syntax: default ok Trying: mycmd.completedefault() Expecting: This is the completedefault methode ok Trying: mycmd.completenames("a") Expecting: ['add'] ok Trying: mycmd.completenames("12") Expecting: [] ok Trying: mycmd.completenames("help") Expecting: ['help', 'help'] ok Trying: mycmd.complete_help("a") Expecting: ['add'] ok Trying: mycmd.complete_help("he") Expecting: ['help', 'help'] ok Trying: mycmd.complete_help("12") Expecting: [] ok Trying: mycmd.do_help("testet") Expecting: *** No help on testet ok Trying: mycmd.do_help("add") Expecting: help text for add ok Trying: mycmd.onecmd("help add") Expecting: help text for add ok Trying: mycmd.do_help("") Expecting: Documented commands (type help ): ======================================== add Undocumented commands: ====================== exit help shell ok Trying: mycmd.print_topics("header", ["command1", "command2"], 2 ,10) Expecting: header ====== command1 command2 ok Trying: mycmd.columnize([str(i) for i in xrange(20)]) Expecting: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ok Trying: mycmd.columnize([str(i) for i in xrange(20)], 10) Expecting: 0 7 14 1 8 15 2 9 16 3 10 17 4 11 18 5 12 19 6 13 ok Trying: mycmd.use_rawinput=0 Expecting nothing ok Trying: mycmd.cmdqueue=["", "add", "add 4 5", "help", "help add","exit"] Expecting nothing ok Trying: mycmd.cmdloop() Expecting: Hello from preloop help text for add *** invalid number of arguments 9 Documented commands (type help ): ======================================== add Undocumented commands: ====================== exit help shell help text for add Hello from postloop ok 11 items had no tests: test.test_cmd test.test_cmd.samplecmdclass.complete_command test.test_cmd.samplecmdclass.completedefault test.test_cmd.samplecmdclass.do_add test.test_cmd.samplecmdclass.do_exit test.test_cmd.samplecmdclass.do_shell test.test_cmd.samplecmdclass.help_add test.test_cmd.samplecmdclass.postloop test.test_cmd.samplecmdclass.preloop test.test_cmd.test_coverage test.test_cmd.test_main 1 items passed all tests: 31 tests in test.test_cmd.samplecmdclass 31 tests in 12 items. 31 passed and 0 failed. Test passed. doctest (test.test_cmd) ... 31 tests with zero failures test_cmd_line test_directories (test.test_cmd_line.CmdLineTest) ... ok test_optimize (test.test_cmd_line.CmdLineTest) ... ok test_q (test.test_cmd_line.CmdLineTest) ... ok test_run_code (test.test_cmd_line.CmdLineTest) ... ok test_run_module (test.test_cmd_line.CmdLineTest) ... ok test_run_module_bug1764407 (test.test_cmd_line.CmdLineTest) ... ok test_site_flag (test.test_cmd_line.CmdLineTest) ... ok test_usage (test.test_cmd_line.CmdLineTest) ... ok test_version (test.test_cmd_line.CmdLineTest) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.303s OK test_cmd_line_script test_basic_script (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpMEoSBR/script.py': __file__=='/tmp/tmpMEoSBR/script.py' __package__==None sys.argv[0]=='/tmp/tmpMEoSBR/script.py' Expected output: __file__=='/tmp/tmpMEoSBR/script.py' __package__==None sys.argv[0]=='/tmp/tmpMEoSBR/script.py' ok test_directory (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmp9vwXNP': __file__=='/tmp/tmp9vwXNP/__main__.py' __package__=='' sys.argv[0]=='/tmp/tmp9vwXNP' Expected output: __file__=='/tmp/tmp9vwXNP/__main__.py' __package__=='' sys.argv[0]=='/tmp/tmp9vwXNP' ok test_directory_compiled (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpIdCPxZ': __file__=='/tmp/tmpIdCPxZ/__main__.pyc' __package__=='' sys.argv[0]=='/tmp/tmpIdCPxZ' Expected output: __file__=='/tmp/tmpIdCPxZ/__main__.pyc' __package__=='' sys.argv[0]=='/tmp/tmpIdCPxZ' ok test_directory_error (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpYoYhfw': /home/exarkun/Projects/python/trunk/python: can't find '__main__.py' in '/tmp/tmpYoYhfw' Expected output: "can't find '__main__.py' in '/tmp/tmpYoYhfw'" ok test_module_in_package (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpfxOvVs/launch.py': __file__=='/tmp/tmpfxOvVs/test_pkg/script.py' __package__=='test_pkg' sys.argv[0]=='/tmp/tmpfxOvVs/test_pkg/script.py' Expected output: __file__=='/tmp/tmpfxOvVs/test_pkg/script.py' __package__=='test_pkg' sys.argv[0]=='/tmp/tmpfxOvVs/test_pkg/script.py' ok test_module_in_package_in_zipfile (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpBVazui/launch.py': __file__=='/tmp/tmpBVazui/test_zip.zip/test_pkg/script.py' __package__=='test_pkg' sys.argv[0]=='/tmp/tmpBVazui/test_zip.zip/test_pkg/script.py' Expected output: __file__=='/tmp/tmpBVazui/test_zip.zip/test_pkg/script.py' __package__=='test_pkg' sys.argv[0]=='/tmp/tmpBVazui/test_zip.zip/test_pkg/script.py' ok test_module_in_subpackage_in_zipfile (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpw8q3MT/launch.py': __file__=='/tmp/tmpw8q3MT/test_zip.zip/test_pkg/test_pkg/script.py' __package__=='test_pkg.test_pkg' sys.argv[0]=='/tmp/tmpw8q3MT/test_zip.zip/test_pkg/test_pkg/script.py' Expected output: __file__=='/tmp/tmpw8q3MT/test_zip.zip/test_pkg/test_pkg/script.py' __package__=='test_pkg.test_pkg' sys.argv[0]=='/tmp/tmpw8q3MT/test_zip.zip/test_pkg/test_pkg/script.py' ok test_package (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmphThLlT/launch.py': __file__=='/tmp/tmphThLlT/test_pkg/__main__.py' __package__=='test_pkg' sys.argv[0]=='/tmp/tmphThLlT/test_pkg/__main__.py' Expected output: __file__=='/tmp/tmphThLlT/test_pkg/__main__.py' __package__=='test_pkg' sys.argv[0]=='/tmp/tmphThLlT/test_pkg/__main__.py' ok test_package_compiled (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmp3Ey71m/launch.py': __file__=='/tmp/tmp3Ey71m/test_pkg/__main__.pyc' __package__=='test_pkg' sys.argv[0]=='/tmp/tmp3Ey71m/test_pkg/__main__.pyc' Expected output: __file__=='/tmp/tmp3Ey71m/test_pkg/__main__.pyc' __package__=='test_pkg' sys.argv[0]=='/tmp/tmp3Ey71m/test_pkg/__main__.pyc' ok test_package_error (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmprOztyp/launch.py': /home/exarkun/Projects/python/trunk/python: No module named test_pkg.__main__; 'test_pkg' is a package and cannot be directly executed Expected output: "'test_pkg' is a package and cannot be directly executed" ok test_package_recursion (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpMECk5u/launch.py': /home/exarkun/Projects/python/trunk/python: Cannot use package as __main__ module; 'test_pkg' is a package and cannot be directly executed Expected output: "Cannot use package as __main__ module; 'test_pkg' is a package and cannot be directly executed" ok test_script_compiled (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpg9buSB/script.pyc': __file__=='/tmp/tmpg9buSB/script.pyc' __package__==None sys.argv[0]=='/tmp/tmpg9buSB/script.pyc' Expected output: __file__=='/tmp/tmpg9buSB/script.pyc' __package__==None sys.argv[0]=='/tmp/tmpg9buSB/script.pyc' ok test_zipfile (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpkM7EzS/test_zip.zip': __file__=='/tmp/tmpkM7EzS/test_zip.zip/__main__.py' __package__=='' sys.argv[0]=='/tmp/tmpkM7EzS/test_zip.zip' Expected output: __file__=='/tmp/tmpkM7EzS/test_zip.zip/__main__.py' __package__=='' sys.argv[0]=='/tmp/tmpkM7EzS/test_zip.zip' ok test_zipfile_compiled (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmpvx8Xrl/test_zip.zip': __file__=='/tmp/tmpvx8Xrl/test_zip.zip/__main__.pyc' __package__=='' sys.argv[0]=='/tmp/tmpvx8Xrl/test_zip.zip' Expected output: __file__=='/tmp/tmpvx8Xrl/test_zip.zip/__main__.pyc' __package__=='' sys.argv[0]=='/tmp/tmpvx8Xrl/test_zip.zip' ok test_zipfile_error (test.test_cmd_line_script.CmdLineTest) ... Output from test script '/tmp/tmp9LjoiS/test_zip.zip': /home/exarkun/Projects/python/trunk/python: can't find '__main__.py' in '/tmp/tmp9LjoiS/test_zip.zip' Expected output: "can't find '__main__.py' in '/tmp/tmp9LjoiS/test_zip.zip'" ok ---------------------------------------------------------------------- Ran 15 tests in 0.317s OK test_code Trying: def f(x): def g(y): return x + y return g Expecting nothing ok Trying: dump(f.func_code) Expecting: name: f argcount: 1 names: () varnames: ('x', 'g') cellvars: ('x',) freevars: () nlocals: 2 flags: 3 consts: ('None', '') ok Trying: dump(f(4).func_code) Expecting: name: g argcount: 1 names: () varnames: ('y',) cellvars: () freevars: ('x',) nlocals: 1 flags: 19 consts: ('None',) ok Trying: def h(x, y): a = x + y b = x - y c = a * b return c Expecting nothing ok Trying: dump(h.func_code) Expecting: name: h argcount: 2 names: () varnames: ('x', 'y', 'a', 'b', 'c') cellvars: () freevars: () nlocals: 5 flags: 67 consts: ('None',) ok Trying: def attrs(obj): print obj.attr1 print obj.attr2 print obj.attr3 Expecting nothing ok Trying: dump(attrs.func_code) Expecting: name: attrs argcount: 1 names: ('attr1', 'attr2', 'attr3') varnames: ('obj',) cellvars: () freevars: () nlocals: 1 flags: 67 consts: ('None',) ok Trying: def optimize_away(): 'doc string' 'not a docstring' 53 53L Expecting nothing ok Trying: dump(optimize_away.func_code) Expecting: name: optimize_away argcount: 0 names: () varnames: () cellvars: () freevars: () nlocals: 0 flags: 67 consts: ("'doc string'", 'None') ok 5 items had no tests: test.test_code.CodeTest test.test_code.CodeTest.test_newempty test.test_code.consts test.test_code.dump test.test_code.test_main 1 items passed all tests: 9 tests in test.test_code 9 tests in 6 items. 9 passed and 0 failed. Test passed. doctest (test.test_code) ... 9 tests with zero failures test_newempty (test.test_code.CodeTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_codeccallbacks test_backslashescape (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badandgoodbackslashreplaceexceptions (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badandgoodignoreexceptions (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badandgoodreplaceexceptions (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badandgoodstrictexceptions (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badandgoodxmlcharrefreplaceexceptions (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badhandlerresults (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badlookupcall (test.test_codeccallbacks.CodecCallbackTest) ... ok test_badregistercall (test.test_codeccallbacks.CodecCallbackTest) ... ok test_bug828737 (test.test_codeccallbacks.CodecCallbackTest) ... ok test_callbacks (test.test_codeccallbacks.CodecCallbackTest) ... ok test_charmapencode (test.test_codeccallbacks.CodecCallbackTest) ... ok test_decodehelper (test.test_codeccallbacks.CodecCallbackTest) ... ok test_decoderelaxedutf8 (test.test_codeccallbacks.CodecCallbackTest) ... ok test_decodeunicodeinternal (test.test_codeccallbacks.CodecCallbackTest) ... ok test_encodehelper (test.test_codeccallbacks.CodecCallbackTest) ... ok test_longstrings (test.test_codeccallbacks.CodecCallbackTest) ... ok test_lookup (test.test_codeccallbacks.CodecCallbackTest) ... ok test_translatehelper (test.test_codeccallbacks.CodecCallbackTest) ... ok test_unencodablereplacement (test.test_codeccallbacks.CodecCallbackTest) ... ok test_unicodedecodeerror (test.test_codeccallbacks.CodecCallbackTest) ... ok test_unicodeencodeerror (test.test_codeccallbacks.CodecCallbackTest) ... ok test_unicodetranslateerror (test.test_codeccallbacks.CodecCallbackTest) ... ok test_uninamereplace (test.test_codeccallbacks.CodecCallbackTest) ... ok test_unknownhandler (test.test_codeccallbacks.CodecCallbackTest) ... ok test_xmlcharnamereplace (test.test_codeccallbacks.CodecCallbackTest) ... ok test_xmlcharrefreplace (test.test_codeccallbacks.CodecCallbackTest) ... ok test_xmlcharrefvalues (test.test_codeccallbacks.CodecCallbackTest) ... ok ---------------------------------------------------------------------- Ran 28 tests in 0.014s OK test_codecencodings_cn test_callback_None_index (test.test_codecencodings_cn.Test_GB18030) ... ok test_callback_backward_index (test.test_codecencodings_cn.Test_GB18030) ... ok test_callback_forward_index (test.test_codecencodings_cn.Test_GB18030) ... ok test_callback_index_outofbound (test.test_codecencodings_cn.Test_GB18030) ... ok test_callback_long_index (test.test_codecencodings_cn.Test_GB18030) ... ok test_callback_wrong_objects (test.test_codecencodings_cn.Test_GB18030) ... ok test_chunkcoding (test.test_codecencodings_cn.Test_GB18030) ... ok test_customreplace_encode (test.test_codecencodings_cn.Test_GB18030) ... ok test_errorhandle (test.test_codecencodings_cn.Test_GB18030) ... ok test_incrementaldecoder (test.test_codecencodings_cn.Test_GB18030) ... /home/exarkun/Projects/python/trunk/Lib/StringIO.py:131: DeprecationWarning: comparing unequal types not supported in 3.x if n < 0: ok test_incrementalencoder (test.test_codecencodings_cn.Test_GB18030) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_cn.Test_GB18030) ... ok test_streamreader (test.test_codecencodings_cn.Test_GB18030) ... ok test_streamwriter (test.test_codecencodings_cn.Test_GB18030) ... ok test_xmlcharrefreplace (test.test_codecencodings_cn.Test_GB18030) ... ok test_callback_None_index (test.test_codecencodings_cn.Test_GB2312) ... ok test_callback_backward_index (test.test_codecencodings_cn.Test_GB2312) ... ok test_callback_forward_index (test.test_codecencodings_cn.Test_GB2312) ... ok test_callback_index_outofbound (test.test_codecencodings_cn.Test_GB2312) ... ok test_callback_long_index (test.test_codecencodings_cn.Test_GB2312) ... ok test_callback_wrong_objects (test.test_codecencodings_cn.Test_GB2312) ... ok test_chunkcoding (test.test_codecencodings_cn.Test_GB2312) ... ok test_customreplace_encode (test.test_codecencodings_cn.Test_GB2312) ... ok test_errorhandle (test.test_codecencodings_cn.Test_GB2312) ... ok test_incrementaldecoder (test.test_codecencodings_cn.Test_GB2312) ... ok test_incrementalencoder (test.test_codecencodings_cn.Test_GB2312) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_cn.Test_GB2312) ... ok test_streamreader (test.test_codecencodings_cn.Test_GB2312) ... ok test_streamwriter (test.test_codecencodings_cn.Test_GB2312) ... ok test_xmlcharrefreplace (test.test_codecencodings_cn.Test_GB2312) ... ok test_callback_None_index (test.test_codecencodings_cn.Test_GBK) ... ok test_callback_backward_index (test.test_codecencodings_cn.Test_GBK) ... ok test_callback_forward_index (test.test_codecencodings_cn.Test_GBK) ... ok test_callback_index_outofbound (test.test_codecencodings_cn.Test_GBK) ... ok test_callback_long_index (test.test_codecencodings_cn.Test_GBK) ... ok test_callback_wrong_objects (test.test_codecencodings_cn.Test_GBK) ... ok test_chunkcoding (test.test_codecencodings_cn.Test_GBK) ... ok test_customreplace_encode (test.test_codecencodings_cn.Test_GBK) ... ok test_errorhandle (test.test_codecencodings_cn.Test_GBK) ... ok test_incrementaldecoder (test.test_codecencodings_cn.Test_GBK) ... ok test_incrementalencoder (test.test_codecencodings_cn.Test_GBK) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_cn.Test_GBK) ... ok test_streamreader (test.test_codecencodings_cn.Test_GBK) ... ok test_streamwriter (test.test_codecencodings_cn.Test_GBK) ... ok test_xmlcharrefreplace (test.test_codecencodings_cn.Test_GBK) ... ok ---------------------------------------------------------------------- Ran 45 tests in 0.485s OK test_codecencodings_hk test_callback_None_index (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_callback_backward_index (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_callback_forward_index (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_callback_index_outofbound (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_callback_long_index (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_callback_wrong_objects (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_chunkcoding (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_customreplace_encode (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_errorhandle (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_incrementaldecoder (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_incrementalencoder (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_streamreader (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_streamwriter (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok test_xmlcharrefreplace (test.test_codecencodings_hk.Test_Big5HKSCS) ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.017s OK test_codecencodings_jp test_callback_None_index (test.test_codecencodings_jp.Test_CP932) ... ok test_callback_backward_index (test.test_codecencodings_jp.Test_CP932) ... ok test_callback_forward_index (test.test_codecencodings_jp.Test_CP932) ... ok test_callback_index_outofbound (test.test_codecencodings_jp.Test_CP932) ... ok test_callback_long_index (test.test_codecencodings_jp.Test_CP932) ... ok test_callback_wrong_objects (test.test_codecencodings_jp.Test_CP932) ... ok test_chunkcoding (test.test_codecencodings_jp.Test_CP932) ... ok test_customreplace_encode (test.test_codecencodings_jp.Test_CP932) ... ok test_errorhandle (test.test_codecencodings_jp.Test_CP932) ... ok test_incrementaldecoder (test.test_codecencodings_jp.Test_CP932) ... ok test_incrementalencoder (test.test_codecencodings_jp.Test_CP932) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_jp.Test_CP932) ... ok test_streamreader (test.test_codecencodings_jp.Test_CP932) ... ok test_streamwriter (test.test_codecencodings_jp.Test_CP932) ... ok test_xmlcharrefreplace (test.test_codecencodings_jp.Test_CP932) ... ok test_callback_None_index (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_callback_backward_index (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_callback_forward_index (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_callback_index_outofbound (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_callback_long_index (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_callback_wrong_objects (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_chunkcoding (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_customreplace_encode (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_errorhandle (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_incrementaldecoder (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_incrementalencoder (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_streamreader (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_streamwriter (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_xmlcharrefreplace (test.test_codecencodings_jp.Test_EUC_JISX0213) ... ok test_callback_None_index (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_callback_backward_index (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_callback_forward_index (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_callback_index_outofbound (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_callback_long_index (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_callback_wrong_objects (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_chunkcoding (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_customreplace_encode (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_errorhandle (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_incrementaldecoder (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_incrementalencoder (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_streamreader (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_streamwriter (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_xmlcharrefreplace (test.test_codecencodings_jp.Test_EUC_JP_COMPAT) ... ok test_callback_None_index (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_callback_backward_index (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_callback_forward_index (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_callback_index_outofbound (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_callback_long_index (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_callback_wrong_objects (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_chunkcoding (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_customreplace_encode (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_errorhandle (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_incrementaldecoder (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_incrementalencoder (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_streamreader (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_streamwriter (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_xmlcharrefreplace (test.test_codecencodings_jp.Test_SJISX0213) ... ok test_callback_None_index (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_callback_backward_index (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_callback_forward_index (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_callback_index_outofbound (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_callback_long_index (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_callback_wrong_objects (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_chunkcoding (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_customreplace_encode (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_errorhandle (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_incrementaldecoder (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_incrementalencoder (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_streamreader (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_streamwriter (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok test_xmlcharrefreplace (test.test_codecencodings_jp.Test_SJIS_COMPAT) ... ok ---------------------------------------------------------------------- Ran 75 tests in 0.978s OK test_codecencodings_kr test_callback_None_index (test.test_codecencodings_kr.Test_CP949) ... ok test_callback_backward_index (test.test_codecencodings_kr.Test_CP949) ... ok test_callback_forward_index (test.test_codecencodings_kr.Test_CP949) ... ok test_callback_index_outofbound (test.test_codecencodings_kr.Test_CP949) ... ok test_callback_long_index (test.test_codecencodings_kr.Test_CP949) ... ok test_callback_wrong_objects (test.test_codecencodings_kr.Test_CP949) ... ok test_chunkcoding (test.test_codecencodings_kr.Test_CP949) ... ok test_customreplace_encode (test.test_codecencodings_kr.Test_CP949) ... ok test_errorhandle (test.test_codecencodings_kr.Test_CP949) ... ok test_incrementaldecoder (test.test_codecencodings_kr.Test_CP949) ... ok test_incrementalencoder (test.test_codecencodings_kr.Test_CP949) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_kr.Test_CP949) ... ok test_streamreader (test.test_codecencodings_kr.Test_CP949) ... ok test_streamwriter (test.test_codecencodings_kr.Test_CP949) ... ok test_xmlcharrefreplace (test.test_codecencodings_kr.Test_CP949) ... ok test_callback_None_index (test.test_codecencodings_kr.Test_EUCKR) ... ok test_callback_backward_index (test.test_codecencodings_kr.Test_EUCKR) ... ok test_callback_forward_index (test.test_codecencodings_kr.Test_EUCKR) ... ok test_callback_index_outofbound (test.test_codecencodings_kr.Test_EUCKR) ... ok test_callback_long_index (test.test_codecencodings_kr.Test_EUCKR) ... ok test_callback_wrong_objects (test.test_codecencodings_kr.Test_EUCKR) ... ok test_chunkcoding (test.test_codecencodings_kr.Test_EUCKR) ... ok test_customreplace_encode (test.test_codecencodings_kr.Test_EUCKR) ... ok test_errorhandle (test.test_codecencodings_kr.Test_EUCKR) ... ok test_incrementaldecoder (test.test_codecencodings_kr.Test_EUCKR) ... ok test_incrementalencoder (test.test_codecencodings_kr.Test_EUCKR) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_kr.Test_EUCKR) ... ok test_streamreader (test.test_codecencodings_kr.Test_EUCKR) ... ok test_streamwriter (test.test_codecencodings_kr.Test_EUCKR) ... ok test_xmlcharrefreplace (test.test_codecencodings_kr.Test_EUCKR) ... ok test_callback_None_index (test.test_codecencodings_kr.Test_JOHAB) ... ok test_callback_backward_index (test.test_codecencodings_kr.Test_JOHAB) ... ok test_callback_forward_index (test.test_codecencodings_kr.Test_JOHAB) ... ok test_callback_index_outofbound (test.test_codecencodings_kr.Test_JOHAB) ... ok test_callback_long_index (test.test_codecencodings_kr.Test_JOHAB) ... ok test_callback_wrong_objects (test.test_codecencodings_kr.Test_JOHAB) ... ok test_chunkcoding (test.test_codecencodings_kr.Test_JOHAB) ... ok test_customreplace_encode (test.test_codecencodings_kr.Test_JOHAB) ... ok test_errorhandle (test.test_codecencodings_kr.Test_JOHAB) ... ok test_incrementaldecoder (test.test_codecencodings_kr.Test_JOHAB) ... ok test_incrementalencoder (test.test_codecencodings_kr.Test_JOHAB) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_kr.Test_JOHAB) ... ok test_streamreader (test.test_codecencodings_kr.Test_JOHAB) ... ok test_streamwriter (test.test_codecencodings_kr.Test_JOHAB) ... ok test_xmlcharrefreplace (test.test_codecencodings_kr.Test_JOHAB) ... ok ---------------------------------------------------------------------- Ran 45 tests in 0.298s OK test_codecencodings_tw test_callback_None_index (test.test_codecencodings_tw.Test_Big5) ... ok test_callback_backward_index (test.test_codecencodings_tw.Test_Big5) ... ok test_callback_forward_index (test.test_codecencodings_tw.Test_Big5) ... ok test_callback_index_outofbound (test.test_codecencodings_tw.Test_Big5) ... ok test_callback_long_index (test.test_codecencodings_tw.Test_Big5) ... ok test_callback_wrong_objects (test.test_codecencodings_tw.Test_Big5) ... ok test_chunkcoding (test.test_codecencodings_tw.Test_Big5) ... ok test_customreplace_encode (test.test_codecencodings_tw.Test_Big5) ... ok test_errorhandle (test.test_codecencodings_tw.Test_Big5) ... ok test_incrementaldecoder (test.test_codecencodings_tw.Test_Big5) ... ok test_incrementalencoder (test.test_codecencodings_tw.Test_Big5) ... ok test_incrementalencoder_error_callback (test.test_codecencodings_tw.Test_Big5) ... ok test_streamreader (test.test_codecencodings_tw.Test_Big5) ... ok test_streamwriter (test.test_codecencodings_tw.Test_Big5) ... ok test_xmlcharrefreplace (test.test_codecencodings_tw.Test_Big5) ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.112s OK test_codecmaps_cn test_mapping_file (test.test_codecmaps_cn.TestGB18030Map) ... ok test_mapping_supplemental (test.test_codecmaps_cn.TestGB18030Map) ... ok test_mapping_file (test.test_codecmaps_cn.TestGB2312Map) ... /home/exarkun/Projects/python/trunk/Lib/test/test_multibytecodec_support.py:306: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if ord(unich) == 0xfffd or urt_wa.has_key(unich): ok test_mapping_supplemental (test.test_codecmaps_cn.TestGB2312Map) ... ok test_mapping_file (test.test_codecmaps_cn.TestGBKMap) ... ok test_mapping_supplemental (test.test_codecmaps_cn.TestGBKMap) ... ok ---------------------------------------------------------------------- Ran 6 tests in 1.963s OK test_codecmaps_hk test_mapping_file (test.test_codecmaps_hk.TestBig5HKSCSMap) ... ok test_mapping_supplemental (test.test_codecmaps_hk.TestBig5HKSCSMap) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.263s OK test_codecmaps_jp test_mapping_file (test.test_codecmaps_jp.TestCP932Map) ... ok test_mapping_supplemental (test.test_codecmaps_jp.TestCP932Map) ... ok test_mapping_file (test.test_codecmaps_jp.TestEUCJISX0213Map) ... ok test_mapping_supplemental (test.test_codecmaps_jp.TestEUCJISX0213Map) ... ok test_mapping_file (test.test_codecmaps_jp.TestEUCJPCOMPATMap) ... ok test_mapping_supplemental (test.test_codecmaps_jp.TestEUCJPCOMPATMap) ... ok test_mapping_file (test.test_codecmaps_jp.TestSJISCOMPATMap) ... ok test_mapping_supplemental (test.test_codecmaps_jp.TestSJISCOMPATMap) ... ok test_mapping_file (test.test_codecmaps_jp.TestSJISX0213Map) ... ok test_mapping_supplemental (test.test_codecmaps_jp.TestSJISX0213Map) ... ok ---------------------------------------------------------------------- Ran 10 tests in 2.481s OK test_codecmaps_kr test_mapping_file (test.test_codecmaps_kr.TestCP949Map) ... ok test_mapping_supplemental (test.test_codecmaps_kr.TestCP949Map) ... ok test_mapping_file (test.test_codecmaps_kr.TestEUCKRMap) ... ok test_mapping_supplemental (test.test_codecmaps_kr.TestEUCKRMap) ... ok test_mapping_file (test.test_codecmaps_kr.TestJOHABMap) ... ok test_mapping_supplemental (test.test_codecmaps_kr.TestJOHABMap) ... ok ---------------------------------------------------------------------- Ran 6 tests in 2.099s OK test_codecmaps_tw test_mapping_file (test.test_codecmaps_tw.TestBIG5Map) ... ok test_mapping_supplemental (test.test_codecmaps_tw.TestBIG5Map) ... ok test_mapping_file (test.test_codecmaps_tw.TestCP950Map) ... ok test_mapping_supplemental (test.test_codecmaps_tw.TestCP950Map) ... ok ---------------------------------------------------------------------- Ran 4 tests in 1.331s OK test_codecs test_badbom (test.test_codecs.UTF32Test) ... ok test_bug1098990_a (test.test_codecs.UTF32Test) ... ok test_bug1098990_b (test.test_codecs.UTF32Test) ... ok test_bug1175396 (test.test_codecs.UTF32Test) ... ok test_errors (test.test_codecs.UTF32Test) ... ok test_handlers (test.test_codecs.UTF32Test) ... ok test_only_one_bom (test.test_codecs.UTF32Test) ... ok test_partial (test.test_codecs.UTF32Test) ... ok test_readline (test.test_codecs.UTF32Test) ... ok test_readlinequeue (test.test_codecs.UTF32Test) ... ok test_bug1098990_a (test.test_codecs.UTF32LETest) ... ok test_bug1098990_b (test.test_codecs.UTF32LETest) ... ok test_bug1175396 (test.test_codecs.UTF32LETest) ... ok test_errors (test.test_codecs.UTF32LETest) ... ok test_partial (test.test_codecs.UTF32LETest) ... ok test_readline (test.test_codecs.UTF32LETest) ... ok test_readlinequeue (test.test_codecs.UTF32LETest) ... ok test_simple (test.test_codecs.UTF32LETest) ... ok test_bug1098990_a (test.test_codecs.UTF32BETest) ... ok test_bug1098990_b (test.test_codecs.UTF32BETest) ... ok test_bug1175396 (test.test_codecs.UTF32BETest) ... ok test_errors (test.test_codecs.UTF32BETest) ... ok test_partial (test.test_codecs.UTF32BETest) ... ok test_readline (test.test_codecs.UTF32BETest) ... ok test_readlinequeue (test.test_codecs.UTF32BETest) ... ok test_simple (test.test_codecs.UTF32BETest) ... ok test_badbom (test.test_codecs.UTF16Test) ... ok test_bug1098990_a (test.test_codecs.UTF16Test) ... ok test_bug1098990_b (test.test_codecs.UTF16Test) ... ok test_bug1175396 (test.test_codecs.UTF16Test) ... ok test_errors (test.test_codecs.UTF16Test) ... ok test_handlers (test.test_codecs.UTF16Test) ... ok test_only_one_bom (test.test_codecs.UTF16Test) ... ok test_partial (test.test_codecs.UTF16Test) ... ok test_readline (test.test_codecs.UTF16Test) ... ok test_readlinequeue (test.test_codecs.UTF16Test) ... ok test_bug1098990_a (test.test_codecs.UTF16LETest) ... ok test_bug1098990_b (test.test_codecs.UTF16LETest) ... ok test_bug1175396 (test.test_codecs.UTF16LETest) ... ok test_errors (test.test_codecs.UTF16LETest) ... ok test_partial (test.test_codecs.UTF16LETest) ... ok test_readline (test.test_codecs.UTF16LETest) ... ok test_readlinequeue (test.test_codecs.UTF16LETest) ... ok test_bug1098990_a (test.test_codecs.UTF16BETest) ... ok test_bug1098990_b (test.test_codecs.UTF16BETest) ... ok test_bug1175396 (test.test_codecs.UTF16BETest) ... ok test_errors (test.test_codecs.UTF16BETest) ... ok test_partial (test.test_codecs.UTF16BETest) ... ok test_readline (test.test_codecs.UTF16BETest) ... ok test_readlinequeue (test.test_codecs.UTF16BETest) ... ok test_bug1098990_a (test.test_codecs.UTF8Test) ... ok test_bug1098990_b (test.test_codecs.UTF8Test) ... ok test_bug1175396 (test.test_codecs.UTF8Test) ... ok test_partial (test.test_codecs.UTF8Test) ... ok test_readline (test.test_codecs.UTF8Test) ... ok test_readlinequeue (test.test_codecs.UTF8Test) ... ok test_bom (test.test_codecs.UTF8SigTest) ... ok test_bug1098990_a (test.test_codecs.UTF8SigTest) ... ok test_bug1098990_b (test.test_codecs.UTF8SigTest) ... ok test_bug1175396 (test.test_codecs.UTF8SigTest) ... ok test_bug1601501 (test.test_codecs.UTF8SigTest) ... ok test_partial (test.test_codecs.UTF8SigTest) ... ok test_readline (test.test_codecs.UTF8SigTest) ... ok test_readlinequeue (test.test_codecs.UTF8SigTest) ... ok test_stream_bare (test.test_codecs.UTF8SigTest) ... ok test_stream_bom (test.test_codecs.UTF8SigTest) ... ok test_bug1098990_a (test.test_codecs.UTF7Test) ... ok test_bug1098990_b (test.test_codecs.UTF7Test) ... ok test_bug1175396 (test.test_codecs.UTF7Test) ... ok test_partial (test.test_codecs.UTF7Test) ... ok test_readline (test.test_codecs.UTF7Test) ... ok test_readlinequeue (test.test_codecs.UTF7Test) ... ok test_bad_args (test.test_codecs.UTF16ExTest) ... ok test_errors (test.test_codecs.UTF16ExTest) ... ok test_array (test.test_codecs.ReadBufferTest) ... ok test_bad_args (test.test_codecs.ReadBufferTest) ... ok test_empty (test.test_codecs.ReadBufferTest) ... ok test_bad_args (test.test_codecs.CharBufferTest) ... ok test_empty (test.test_codecs.CharBufferTest) ... ok test_string (test.test_codecs.CharBufferTest) ... ok test_empty (test.test_codecs.EscapeDecodeTest) ... ok test_recoding (test.test_codecs.RecodingTest) ... ok test_decode (test.test_codecs.PunycodeTest) ... ok test_encode (test.test_codecs.PunycodeTest) ... ok test_bug1251300 (test.test_codecs.UnicodeInternalTest) ... ok test_decode_callback (test.test_codecs.UnicodeInternalTest) ... ok test_decode_error_attributes (test.test_codecs.UnicodeInternalTest) ... ok test_encode_length (test.test_codecs.UnicodeInternalTest) ... ok test_nameprep (test.test_codecs.NameprepTest) ... ok test_builtin_decode (test.test_codecs.IDNACodecTest) ... ok test_builtin_encode (test.test_codecs.IDNACodecTest) ... ok test_incremental_decode (test.test_codecs.IDNACodecTest) ... ok test_incremental_encode (test.test_codecs.IDNACodecTest) ... ok test_stream (test.test_codecs.IDNACodecTest) ... ok test_decode (test.test_codecs.CodecsModuleTest) ... ok test_encode (test.test_codecs.CodecsModuleTest) ... ok test_getdecoder (test.test_codecs.CodecsModuleTest) ... ok test_getencoder (test.test_codecs.CodecsModuleTest) ... ok test_getreader (test.test_codecs.CodecsModuleTest) ... ok test_getwriter (test.test_codecs.CodecsModuleTest) ... ok test_lookup (test.test_codecs.CodecsModuleTest) ... ok test_register (test.test_codecs.CodecsModuleTest) ... ok test_readlines (test.test_codecs.StreamReaderTest) ... ok test_basic (test.test_codecs.EncodedFileTest) ... ok test_read (test.test_codecs.Str2StrTest) ... ok test_readline (test.test_codecs.Str2StrTest) ... ok test_bad_decode_args (test.test_codecs.BasicUnicodeTest) ... ok test_bad_encode_args (test.test_codecs.BasicUnicodeTest) ... ok test_basics (test.test_codecs.BasicUnicodeTest) ... ok test_encoding_map_type_initialized (test.test_codecs.BasicUnicodeTest) ... ok test_seek (test.test_codecs.BasicUnicodeTest) ... ok test_basics (test.test_codecs.BasicStrTest) ... ok test_decode_with_string_map (test.test_codecs.CharmapTest) ... ok test_encodedfile (test.test_codecs.WithStmtTest) ... ok test_streamreaderwriter (test.test_codecs.WithStmtTest) ... ok ---------------------------------------------------------------------- Ran 115 tests in 0.118s OK test_codeop test_filename (test.test_codeop.CodeopTests) ... ok test_incomplete (test.test_codeop.CodeopTests) ... ok test_invalid (test.test_codeop.CodeopTests) ... ok test_no_universal_newlines (test.test_codeop.CodeopTests) ... ok test_valid (test.test_codeop.CodeopTests) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.010s OK test_coding test_bad_coding (test.test_coding.CodingTest) ... ok test_bad_coding2 (test.test_coding.CodingTest) ... ok test_error_from_string (test.test_coding.CodingTest) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_coercion /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py:217: DeprecationWarning: classic int division if 1/2 == 0: test_cmptypes (test.test_coercion.CoercionTest) ... ok test_infinite_rec_classic_classes (test.test_coercion.CoercionTest) ... ok test_infix_binops (test.test_coercion.CoercionTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py:1: DeprecationWarning: classic int division import copy /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py:1: DeprecationWarning: classic long division import copy /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py:61: DeprecationWarning: classic int division return other / self.arg /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py:61: DeprecationWarning: classic long division return other / self.arg /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py:58: DeprecationWarning: classic int division return self.arg / other /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py:58: DeprecationWarning: classic long division return self.arg / other ok test_prefix_binops (test.test_coercion.CoercionTest) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.039s OK test_collections test_copy (test.test_collections.TestNamedTuple) ... ok test_factory (test.test_collections.TestNamedTuple) ... ok test_instance (test.test_collections.TestNamedTuple) ... ok test_name_conflicts (test.test_collections.TestNamedTuple) ... ok test_name_fixer (test.test_collections.TestNamedTuple) ... ok test_odd_sizes (test.test_collections.TestNamedTuple) ... ok test_pickle (test.test_collections.TestNamedTuple) ... ok test_tupleness (test.test_collections.TestNamedTuple) ... ok Doctest: collections.Counter ... ok Doctest: collections.Counter.__add__ ... ok Doctest: collections.Counter.__and__ ... ok Doctest: collections.Counter.__init__ ... ok Doctest: collections.Counter.__or__ ... ok Doctest: collections.Counter.__sub__ ... ok Doctest: collections.Counter.elements ... ok Doctest: collections.Counter.most_common ... ok Doctest: collections.Counter.update ... ok Doctest: collections.namedtuple ... ok test_Callable (test.test_collections.TestOneTrickPonyABCs) ... ok test_Container (test.test_collections.TestOneTrickPonyABCs) ... ok test_Hashable (test.test_collections.TestOneTrickPonyABCs) ... ok test_Iterable (test.test_collections.TestOneTrickPonyABCs) ... ok test_Iterator (test.test_collections.TestOneTrickPonyABCs) ... ok test_Sized (test.test_collections.TestOneTrickPonyABCs) ... ok test_direct_subclassing (test.test_collections.TestOneTrickPonyABCs) ... ok test_registration (test.test_collections.TestOneTrickPonyABCs) ... ok test_Mapping (test.test_collections.TestCollectionABCs) ... ok test_MutableMapping (test.test_collections.TestCollectionABCs) ... ok test_MutableSequence (test.test_collections.TestCollectionABCs) ... ok test_MutableSet (test.test_collections.TestCollectionABCs) ... ok test_Sequence (test.test_collections.TestCollectionABCs) ... ok test_Set (test.test_collections.TestCollectionABCs) ... ok test_hash_Set (test.test_collections.TestCollectionABCs) ... ok test_issue_4920 (test.test_collections.TestCollectionABCs) ... ok test_issue_5647 (test.test_collections.TestCollectionABCs) ... ok test_basics (test.test_collections.TestCounter) ... /home/exarkun/Projects/python/trunk/Lib/test/test_collections.py:513: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertEqual(c.has_key('c'), True) /home/exarkun/Projects/python/trunk/Lib/test/test_collections.py:514: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertEqual(c.has_key('z'), False) ok test_conversions (test.test_collections.TestCounter) ... ok test_copying (test.test_collections.TestCounter) ... ok test_invariant_for_the_in_operator (test.test_collections.TestCounter) ... ok test_multiset_operations (test.test_collections.TestCounter) ... ok test_clear (test.test_collections.TestOrderedDict) ... ok test_copying (test.test_collections.TestOrderedDict) ... ok test_delitem (test.test_collections.TestOrderedDict) ... ok test_equality (test.test_collections.TestOrderedDict) ... ok test_init (test.test_collections.TestOrderedDict) ... ok test_iterators (test.test_collections.TestOrderedDict) ... ok test_pop (test.test_collections.TestOrderedDict) ... ok test_popitem (test.test_collections.TestOrderedDict) ... ok test_reduce_not_too_fat (test.test_collections.TestOrderedDict) ... ok test_reinsert (test.test_collections.TestOrderedDict) ... ok test_repr (test.test_collections.TestOrderedDict) ... ok test_setdefault (test.test_collections.TestOrderedDict) ... ok test_setitem (test.test_collections.TestOrderedDict) ... ok test_update (test.test_collections.TestOrderedDict) ... ok test_yaml_linkage (test.test_collections.TestOrderedDict) ... ok test_bool (test.test_collections.GeneralMappingTests) ... ok test_constructor (test.test_collections.GeneralMappingTests) ... ok test_get (test.test_collections.GeneralMappingTests) ... ok test_getitem (test.test_collections.GeneralMappingTests) ... ok test_items (test.test_collections.GeneralMappingTests) ... ok test_keys (test.test_collections.GeneralMappingTests) ... ok test_len (test.test_collections.GeneralMappingTests) ... ok test_pop (test.test_collections.GeneralMappingTests) ... ok test_popitem (test.test_collections.GeneralMappingTests) ... ok test_read (test.test_collections.GeneralMappingTests) ... ok test_setdefault (test.test_collections.GeneralMappingTests) ... ok test_update (test.test_collections.GeneralMappingTests) ... ok test_values (test.test_collections.GeneralMappingTests) ... ok test_write (test.test_collections.GeneralMappingTests) ... ok test_bool (test.test_collections.SubclassMappingTests) ... ok test_constructor (test.test_collections.SubclassMappingTests) ... ok test_get (test.test_collections.SubclassMappingTests) ... ok test_getitem (test.test_collections.SubclassMappingTests) ... ok test_items (test.test_collections.SubclassMappingTests) ... ok test_keys (test.test_collections.SubclassMappingTests) ... ok test_len (test.test_collections.SubclassMappingTests) ... ok test_pop (test.test_collections.SubclassMappingTests) ... ok test_popitem (test.test_collections.SubclassMappingTests) ... ok test_read (test.test_collections.SubclassMappingTests) ... ok test_setdefault (test.test_collections.SubclassMappingTests) ... ok test_update (test.test_collections.SubclassMappingTests) ... ok test_values (test.test_collections.SubclassMappingTests) ... ok test_write (test.test_collections.SubclassMappingTests) ... ok ---------------------------------------------------------------------- Ran 83 tests in 0.601s OK Trying: c = Counter('abracadabra') # count elements from a string Expecting nothing ok Trying: c.most_common(3) # three most common elements Expecting: [('a', 5), ('r', 2), ('b', 2)] ok Trying: sorted(c) # list all unique elements Expecting: ['a', 'b', 'c', 'd', 'r'] ok Trying: ''.join(sorted(c.elements())) # list elements with repetitions Expecting: 'aaaaabbcdrr' ok Trying: sum(c.values()) # total of all counts Expecting: 11 ok Trying: c['a'] # count of letter 'a' Expecting: 5 ok Trying: for elem in 'shazam': # update counts from an iterable c[elem] += 1 # by adding 1 to each element's count Expecting nothing ok Trying: c['a'] # now there are seven 'a' Expecting: 7 ok Trying: del c['r'] # remove all 'r' Expecting nothing ok Trying: c['r'] # now there are zero 'r' Expecting: 0 ok Trying: d = Counter('simsalabim') # make another counter Expecting nothing ok Trying: c.update(d) # add in the second counter Expecting nothing ok Trying: c['a'] # now there are nine 'a' Expecting: 9 ok Trying: c.clear() # empty the counter Expecting nothing ok Trying: c Expecting: Counter() ok Trying: c = Counter('aaabbc') Expecting nothing ok Trying: c['b'] -= 2 # reduce the count of 'b' by two Expecting nothing ok Trying: c.most_common() # 'b' is still in, but its count is zero Expecting: [('a', 3), ('c', 1), ('b', 0)] ok Trying: Counter('abbb') + Counter('bcc') Expecting: Counter({'b': 4, 'c': 2, 'a': 1}) ok Trying: Counter('abbb') & Counter('bcc') Expecting: Counter({'b': 1}) ok Trying: c = Counter() # a new, empty counter Expecting nothing ok Trying: c = Counter('gallahad') # a new counter from an iterable Expecting nothing ok Trying: c = Counter({'a': 4, 'b': 2}) # a new counter from a mapping Expecting nothing ok Trying: c = Counter(a=4, b=2) # a new counter from keyword args Expecting nothing ok Trying: Counter('abbb') | Counter('bcc') Expecting: Counter({'b': 3, 'c': 2, 'a': 1}) ok Trying: Counter('abbbc') - Counter('bccd') Expecting: Counter({'b': 2, 'a': 1}) ok Trying: c = Counter('ABCABC') Expecting nothing ok Trying: sorted(c.elements()) Expecting: ['A', 'A', 'B', 'B', 'C', 'C'] ok Trying: prime_factors = Counter({2: 2, 3: 3, 17: 1}) Expecting nothing ok Trying: product = 1 Expecting nothing ok Trying: for factor in prime_factors.elements(): # loop over factors product *= factor # and multiply them Expecting nothing ok Trying: product Expecting: 1836 ok Trying: Counter('abracadabra').most_common(3) Expecting: [('a', 5), ('r', 2), ('b', 2)] ok Trying: c = Counter('which') Expecting nothing ok Trying: c.update('witch') # add elements from another iterable Expecting nothing ok Trying: d = Counter('watch') Expecting nothing ok Trying: c.update(d) # add elements from another counter Expecting nothing ok Trying: c['h'] # four 'h' in which, witch, and watch Expecting: 4 ok Trying: Point = namedtuple('Point', 'x y') Expecting nothing ok Trying: Point.__doc__ # docstring for the new class Expecting: 'Point(x, y)' ok Trying: p = Point(11, y=22) # instantiate with positional args or keywords Expecting nothing ok Trying: p[0] + p[1] # indexable like a plain tuple Expecting: 33 ok Trying: x, y = p # unpack like a regular tuple Expecting nothing ok Trying: x, y Expecting: (11, 22) ok Trying: p.x + p.y # fields also accessable by name Expecting: 33 ok Trying: d = p._asdict() # convert to a dictionary Expecting nothing ok Trying: d['x'] Expecting: 11 ok Trying: Point(**d) # convert from a dictionary Expecting: Point(x=11, y=22) ok Trying: p._replace(x=100) # _replace() is like str.replace() but targets named fields Expecting: Point(x=100, y=22) ok 22 items had no tests: collections collections.Counter.__delitem__ collections.Counter.__missing__ collections.Counter.__repr__ collections.Counter.copy collections.Counter.fromkeys collections.OrderedDict collections.OrderedDict.__delitem__ collections.OrderedDict.__eq__ collections.OrderedDict.__init__ collections.OrderedDict.__iter__ collections.OrderedDict.__reduce__ collections.OrderedDict.__repr__ collections.OrderedDict.__reversed__ collections.OrderedDict.__setitem__ collections.OrderedDict.clear collections.OrderedDict.copy collections.OrderedDict.fromkeys collections.OrderedDict.popitem collections._Link collections.defaultdict collections.deque 10 items passed all tests: 18 tests in collections.Counter 1 tests in collections.Counter.__add__ 1 tests in collections.Counter.__and__ 4 tests in collections.Counter.__init__ 1 tests in collections.Counter.__or__ 1 tests in collections.Counter.__sub__ 6 tests in collections.Counter.elements 1 tests in collections.Counter.most_common 5 tests in collections.Counter.update 11 tests in collections.namedtuple 49 tests in 32 items. 49 passed and 0 failed. Test passed. doctest (collections) ... 49 tests with zero failures test_colorsys test_hls_roundtrip (test.test_colorsys.ColorsysTest) ... ok test_hls_values (test.test_colorsys.ColorsysTest) ... ok test_hsv_roundtrip (test.test_colorsys.ColorsysTest) ... ok test_hsv_values (test.test_colorsys.ColorsysTest) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.007s OK test_commands test_getoutput (test.test_commands.CommandTests) ... ok test_getstatus (test.test_commands.CommandTests) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.024s OK test_compare test_comparisons (test.test_compare.ComparisonTest) ... ok test_id_comparisons (test.test_compare.ComparisonTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.002s OK test_compile test_argument_handling (test.test_compile.TestSpecifics) ... ok test_argument_order (test.test_compile.TestSpecifics) ... ok test_compile_ast (test.test_compile.TestSpecifics) ... /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py1:132: SyntaxWarning: tuple parameter unpacking has been removed in 3.x /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py1:136: SyntaxWarning: tuple parameter unpacking has been removed in 3.x /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py1:141: SyntaxWarning: tuple parameter unpacking has been removed in 3.x /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py1:145: SyntaxWarning: tuple parameter unpacking has been removed in 3.x /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py2:132: SyntaxWarning: tuple parameter unpacking has been removed in 3.x /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py2:136: SyntaxWarning: tuple parameter unpacking has been removed in 3.x /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py2:141: SyntaxWarning: tuple parameter unpacking has been removed in 3.x /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py2:145: SyntaxWarning: tuple parameter unpacking has been removed in 3.x ok test_complex_args (test.test_compile.TestSpecifics) ... ok test_debug_assignment (test.test_compile.TestSpecifics) ... ok test_duplicate_global_local (test.test_compile.TestSpecifics) ... ok test_exec_with_general_mapping_for_locals (test.test_compile.TestSpecifics) ... ok test_extended_arg (test.test_compile.TestSpecifics) ... ok test_float_literals (test.test_compile.TestSpecifics) ... ok test_for_distinct_code_objects (test.test_compile.TestSpecifics) ... ok test_import (test.test_compile.TestSpecifics) ... ok test_indentation (test.test_compile.TestSpecifics) ... ok test_leading_newlines (test.test_compile.TestSpecifics) ... ok test_literals_with_leading_zeroes (test.test_compile.TestSpecifics) ... ok test_mangling (test.test_compile.TestSpecifics) ... ok test_none_assignment (test.test_compile.TestSpecifics) ... ok test_none_keyword_arg (test.test_compile.TestSpecifics) ... ok test_sequence_unpacking_error (test.test_compile.TestSpecifics) ... ok test_subscripts (test.test_compile.TestSpecifics) ... ok test_syntax_error (test.test_compile.TestSpecifics) ... ok test_unary_minus (test.test_compile.TestSpecifics) ... ok test_unicode_encoding (test.test_compile.TestSpecifics) ... ok ---------------------------------------------------------------------- Ran 22 tests in 0.079s OK test_compileall test_magic_number (test.test_compileall.CompileallTests) ... ok test_mtime (test.test_compileall.CompileallTests) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.002s OK test_compiler testCompileLibrary (test.test_compiler.CompilerTest) ... compiling /home/exarkun/Projects/python/trunk/Lib/unittest/runner.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/suite.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/case.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/util.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/result.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/__init__.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/__main__.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/main.py compiling /home/exarkun/Projects/python/trunk/Lib/unittest/loader.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_mutex.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_math.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_extcall.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_csv.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_zipfile64.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_optparse.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cl.py compiling /home/exarkun/Projects/python/trunk/Lib/test/regrtest.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecs.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_gl.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_linuxaudiodev.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_robotparser.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_xmlrpc.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pickle.py compiling /home/exarkun/Projects/python/trunk/Lib/test/doctest_aliases.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_repr.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_code.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_future3.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pkgimport.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_binhex.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_fpformat.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bsddb.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_exceptions.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_symtable.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_dis.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sundry.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_md5.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_univnewlines.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ctypes.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_tokenize.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_warnings.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_tuple.py compiling /home/exarkun/Projects/python/trunk/Lib/test/regex_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_descrtut.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test__locale.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_global.py compiling /home/exarkun/Projects/python/trunk/Lib/test/pydocfodder.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_mimetools.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_gdbm.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_dumbdbm.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_imaplib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_importhooks.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_traceback.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_typechecks.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_macostools.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_dict.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ucn.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_new.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_set.py compiling /home/e:285: DeprecationWarning: <> not supported in 3.x; use != xarkun/Projects/python/trunk/Lib/test/test_descr.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_crypt.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_frozen.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bufio.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_threadedtempfile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_winsound.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_complex.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_hmac.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_generators.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bigmem.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_list.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_quopri.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pep263.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_future9.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_fork1.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pep277.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_doctest2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_softspace.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_xmllib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_opcodes.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_strftime.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ntpath.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_isinstance.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_site.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_inspect.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_future4.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ioctl.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bsddb185.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecmaps_hk.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_array.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_contains.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecencodings_hk.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_dummy_threading.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pkg.py compiling /home/exarkun/Projects/python/trunk/Lib/test/double_const.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_distutils.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_imp.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_unicode.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_resource.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_socket.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_uu.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_future1.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_getargs.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_atexit.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_fileinput.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_dl.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_getopt.py compiling /home/exarkun/Projects/python/trunk/Lib/test/pystone.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_transformer.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_applesingle.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pow.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_float.py compiling /home/exarkun/Projects/python/trunk/Lib/test/sortperf.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_poll.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_string.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_shutil.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_genexps.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sha.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_file.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_shlex.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_logging.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_email.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_threadsignals.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_gc.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecmaps_kr.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pyclbr.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_heapq.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_StringIO.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_long.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_profile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_dbm.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test___future__.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_gzip.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_charmapcodec.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_future.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cmd_line.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_longexp.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_imgfile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_colorsys.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_os.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_unpack.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_plistlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_aepack.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_errno.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_compare.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_syntax.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_tarfile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_compile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_nis.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_parser.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_openpty.py compiling /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bastion.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_audioop.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_iterlen.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_doctest.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_httplib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_rfc822.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_thread.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_hashlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_mimetypes.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_capi.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_future5.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pep247.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_tcl.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_socketserver.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_operator.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_future2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cmath.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_unary.py compiling /home/exarkun/Projects/python/trunk/Lib/test/pickletester.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_zlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_types.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_re.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codeop.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_asynchat.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_compiler.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pprint.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_getargs2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codeccallbacks.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_scriptpackages.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_peepholer.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_xdrlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/xmltests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ossaudiodev.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cd.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cmd.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_long_future.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sgmllib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pyexpat.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_mmap.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_mhlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_winreg.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_minidom.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_al.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_stringprep.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_structseq.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_locale.py compiling /home/exarkun/Projects/python/trunk/Lib/test/__init__.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cgi.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_popen2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecencodings_kr.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecmaps_tw.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_str.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_scope.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cfgparser.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_signal.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecmaps_cn.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_textwrap.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_unicodedata.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_queue.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_marshal.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bz2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cookielib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_urllibnet.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bsddb3.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_deque.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_strptime.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_whichdb.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_eof.py compiling /home/exarkun/Projects/python/trunk/Lib/test/autotest.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_calendar.py compiling /home/exarkun/Projects/python/trunk/Lib/test/bad_coding.py compiling /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_future6.py compiling /home/exarkun/Projects/python/trunk/Lib/test/mapping_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_htmlparser.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_binascii.py compiling /home/exarkun/Projects/python/trunk/Lib/t:477: DeprecationWarning: <> not supported in 3.x; use != :680: DeprecationWarning: <> not supported in 3.x; use != :689: DeprecationWarning: <> not supported in 3.x; use != est/test_dummy_thread.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_MimeWriter.py compiling /home/exarkun/Projects/python/trunk/Lib/test/inspect_fodder.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_datetime.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_future3.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_normalization.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_decorators.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_email_codecs.py compiling /home/exarkun/Projects/python/trunk/Lib/test/pydoc_mod.py compiling /home/exarkun/Projects/python/trunk/Lib/test/inspect_fodder2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_macpath.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_fnmatch.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_imageop.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_module.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_unicode_file.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecmaps_jp.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_grammar.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_shelve.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_largefile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_hotshot.py compiling /home/exarkun/Projects/python/trunk/Lib/test/re_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pwd.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_mutants.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_difflib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_xpickle.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_commands.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_wave.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_tempfile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_strop.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bisect.py compiling /home/exarkun/Projects/python/trunk/Lib/test/pyclbr_input.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_threaded_import.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecencodings_tw.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_multibytecodec.py compiling /home/exarkun/Projects/python/trunk/Lib/test/testcodec.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_random.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pep292.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_enumerate.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_base64.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_struct.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_weakref.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_multibytecodec_support.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecencodings_cn.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_subprocess.py compiling /home/exarkun/Projects/python/trunk/Lib/test/string_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bool.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_zipimport.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_slice.py compiling /home/exarkun/Projects/python/trunk/Lib/test/cjkencodings_test.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_coding.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_asyncore.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_import.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_anydbm.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_netrc.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_future7.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_unittest.py compiling /home/exarkun/P:410: DeprecationWarning: <> not supported in 3.x; use != :430: DeprecationWarning: <> not supported in 3.x; use != rojects/python/trunk/Lib/test/test_glob.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_gettext.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sunaudiodev.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_timeout.py compiling /home/exarkun/Projects/python/trunk/Lib/test/tf_inherit_check.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_multifile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_htmllib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_time.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_posix.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test___all__.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_curses.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_fcntl.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_binop.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_nocaret.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_copy.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cpickle.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_select.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_threading_local.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_hash.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_richcmp.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_grp.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_urllib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_mailbox.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sax.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_urlparse.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_codecencodings_jp.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_coercion.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_zipfile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_class.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cookie.py compiling /home/exarkun/Projects/python/trunk/Lib/test/testall.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_urllib2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pty.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_filecmp.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_augassign.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_userdict.py compiling /home/exarkun/Projects/python/trunk/Lib/test/reperf.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_xrange.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pickletools.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_trace.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_dircache.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_threading.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_userstring.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_builtin.py compiling /home/exarkun/Projects/python/trunk/Lib/test/sample_doctest.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_copy_reg.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_funcattrs.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_userlist.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_call.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_support.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sys.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_posixpath.py compiling /home/exarkun/Projects/python/trunk/Lib/test/badsyntax_future8.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_popen.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_urllib2net.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_format.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ssl.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_exception_vari:519: DeprecationWarning: <> not supported in 3.x; use != :532: DeprecationWarning: <> not supported in 3.x; use != ations.py compiling /home/exarkun/Projects/python/trunk/Lib/test/outstanding_bugs.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_xml_etree.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_xml_etree_c.py compiling /home/exarkun/Projects/python/trunk/Lib/test/bad_coding2.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_platform.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_kqueue.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pep352.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_with.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_defaultdict.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_contextlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ast.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_wait3.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_runpy.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_wait4.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_index.py compiling /home/exarkun/Projects/python/trunk/Lib/test/fork_wait.py compiling /home/exarkun/Projects/python/trunk/Lib/test/time_hashlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_sqlite.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_email_renamed.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_startfile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/threaded_import_hangers.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_old_mailbox.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_functools.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_wsgiref.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_uuid.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bigaddrspace.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_genericpath.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_complex_args.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_structmembers.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_modulefinder.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_smtplib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/warning_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/infinite_reload.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_poplib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ftplib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_telnetlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_collections.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_urllib2_localnet.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_buffer.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_abc.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pipes.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cmd_line_script.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_docxmlrpc.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_abstract_numbers.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_property.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_int_literal.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_py3kwarn.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_print.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_cprofile.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pstats.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_future_builtins.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_fractions.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_SimpleHTTPServer.py compiling /home/exarkun/Projects/python/trunk/Lib/test/profilee.py compiling /home/exarkun/Projects/python/trunk/Lib/test/curses_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_epoll.py compiling /home/exarkun/Projects/python/trunk/Lib/test/relimport.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_io.py compiling /home/exarkun/Projects/python/trunk/Lib/test/buffer_tests.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_bytes.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_future4.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_lib2to3.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pkgutil.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pydoc.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_int.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_json.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_memoryio.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_httpservers.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_fileio.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_macos.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_future5.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_zipimport_support.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_compileall.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_tk.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_importlib.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ttk_guionly.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ttk_textonly.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_smtpnet.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_aifc.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_pdb.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_memoryview.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_ascii_formatd.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_linecache.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_file2k.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_univnewlines2k.py compiling /home/exarkun/Projects/python/trunk/Lib/test/test_readline.py ok testDefaultArgs (test.test_compiler.CompilerTest) ... ok testDocstrings (test.test_compiler.CompilerTest) ... ok testFlatten (test.test_compiler.CompilerTest) ... ok testGenExp (test.test_compiler.CompilerTest) ... ok testGlobal (test.test_compiler.CompilerTest) ... ok testKeywordAfterStarargs (test.test_compiler.CompilerTest) ... ok testLineNo (test.test_compiler.CompilerTest) ... ok testNestedScope (test.test_compiler.CompilerTest) ... ok testNewClassSyntax (test.test_compiler.CompilerTest) ... ok testPrintFunction (test.test_compiler.CompilerTest) ... ok testSourceCodeEncodingsError (test.test_compiler.CompilerTest) ... ok testTryExceptFinally (test.test_compiler.CompilerTest) ... :2: DeprecationWarning: classic int division ok testWith (test.test_compiler.CompilerTest) ... ok testWithAss (test.test_compiler.CompilerTest) ... ok testWithMult (test.test_compiler.CompilerTest) ... ok testYieldExpr (test.test_compiler.CompilerTest) ... ok ---------------------------------------------------------------------- Ran 17 tests in 46.374s OK test_complex test_abs (test.test_complex.ComplexTest) ... ok test_boolcontext (test.test_complex.ComplexTest) ... ok test_coerce (test.test_complex.ComplexTest) ... ok test_conjugate (test.test_complex.ComplexTest) ... ok test_constructor (test.test_complex.ComplexTest) ... ok test_div (test.test_complex.ComplexTest) ... ok test_divmod (test.test_complex.ComplexTest) ... ok test_file (test.test_complex.ComplexTest) ... ok test_floordiv (test.test_complex.ComplexTest) ... ok test_format (test.test_complex.ComplexTest) ... ok test_getnewargs (test.test_complex.ComplexTest) ... ok test_hash (test.test_complex.ComplexTest) ... ok test_mod (test.test_complex.ComplexTest) ... ok test_neg (test.test_complex.ComplexTest) ... ok test_overflow (test.test_complex.ComplexTest) ... ok test_plus_minus_0j (test.test_complex.ComplexTest) ... ok test_pow (test.test_complex.ComplexTest) ... ok test_repr (test.test_complex.ComplexTest) ... ok test_repr_roundtrip (test.test_complex.ComplexTest) ... ok test_richcompare (test.test_complex.ComplexTest) ... ok test_truediv (test.test_complex.ComplexTest) ... ok ---------------------------------------------------------------------- Ran 21 tests in 0.414s OK test_complex_args test_func_1 (test.test_complex_args.ComplexArgsTestCase) ... ok test_func_2 (test.test_complex_args.ComplexArgsTestCase) ... ok test_func_3 (test.test_complex_args.ComplexArgsTestCase) ... ok test_func_complex (test.test_complex_args.ComplexArgsTestCase) ... ok test_func_parens_no_unpacking (test.test_complex_args.ComplexArgsTestCase) ... ok test_lambda_1 (test.test_complex_args.ComplexArgsTestCase) ... ok test_lambda_2 (test.test_complex_args.ComplexArgsTestCase) ... ok test_lambda_3 (test.test_complex_args.ComplexArgsTestCase) ... ok test_lambda_complex (test.test_complex_args.ComplexArgsTestCase) ... ok test_lambda_parens_no_unpacking (test.test_complex_args.ComplexArgsTestCase) ... ok ---------------------------------------------------------------------- Ran 10 tests in 0.000s OK test_contains test_builtin_sequence_types (test.test_contains.TestContains) ... ok test_char_in_unicode (test.test_contains.TestContains) ... ok test_common_tests (test.test_contains.TestContains) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_contextlib test_closing (test.test_contextlib.ClosingTestCase) ... ok test_closing_error (test.test_contextlib.ClosingTestCase) ... ok test_contextmanager_attribs (test.test_contextlib.ContextManagerTestCase) ... ok test_contextmanager_except (test.test_contextlib.ContextManagerTestCase) ... ok test_contextmanager_finally (test.test_contextlib.ContextManagerTestCase) ... ok test_contextmanager_no_reraise (test.test_contextlib.ContextManagerTestCase) ... ok test_contextmanager_plain (test.test_contextlib.ContextManagerTestCase) ... ok test_contextmanager_trap_yield_after_throw (test.test_contextlib.ContextManagerTestCase) ... ok testWithOpen (test.test_contextlib.FileContextTestCase) ... ok testWithBoundedSemaphore (test.test_contextlib.LockContextTestCase) ... ok testWithCondition (test.test_contextlib.LockContextTestCase) ... ok testWithLock (test.test_contextlib.LockContextTestCase) ... ok testWithRLock (test.test_contextlib.LockContextTestCase) ... ok testWithSemaphore (test.test_contextlib.LockContextTestCase) ... ok test_nested (test.test_contextlib.NestedTestCase) ... ok test_nested_b_swallows (test.test_contextlib.NestedTestCase) ... ok test_nested_break (test.test_contextlib.NestedTestCase) ... ok test_nested_cleanup (test.test_contextlib.NestedTestCase) ... ok test_nested_continue (test.test_contextlib.NestedTestCase) ... ok test_nested_return (test.test_contextlib.NestedTestCase) ... ok test_nested_right_exception (test.test_contextlib.NestedTestCase) ... ok ---------------------------------------------------------------------- Ran 21 tests in 0.002s OK test_cookie test_basic (test.test_cookie.CookieTests) ... ok test_load (test.test_cookie.CookieTests) ... ok test_quoted_meta (test.test_cookie.CookieTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.001s OK Trying: import Cookie Expecting nothing ok Trying: C = Cookie.SimpleCookie() Expecting nothing ok Trying: C = Cookie.SerialCookie() Expecting nothing ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C["fig"] = "newton" Expecting nothing ok Trying: C["sugar"] = "wafer" Expecting nothing ok Trying: C.output() Expecting: 'Set-Cookie: fig=newton\r\nSet-Cookie: sugar=wafer' ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C["rocky"] = "road" Expecting nothing ok Trying: C["rocky"]["path"] = "/cookie" Expecting nothing ok Trying: print C.output(header="Cookie:") Expecting: Cookie: rocky=road; Path=/cookie ok Trying: print C.output(attrs=[], header="Cookie:") Expecting: Cookie: rocky=road ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C.load("chips=ahoy; vienna=finger") Expecting nothing ok Trying: C.output() Expecting: 'Set-Cookie: chips=ahoy\r\nSet-Cookie: vienna=finger' ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C.load('keebler="E=everybody; L=\\"Loves\\"; fudge=\\012;";') Expecting nothing ok Trying: print C Expecting: Set-Cookie: keebler="E=everybody; L=\"Loves\"; fudge=\012;" ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C["oreo"] = "doublestuff" Expecting nothing ok Trying: C["oreo"]["path"] = "/" Expecting nothing ok Trying: print C Expecting: Set-Cookie: oreo=doublestuff; Path=/ ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C["twix"] = "none for you" Expecting nothing ok Trying: C["twix"].value Expecting: 'none for you' ok Trying: C = Cookie.SimpleCookie() Expecting nothing ok Trying: C["number"] = 7 Expecting nothing ok Trying: C["string"] = "seven" Expecting nothing ok Trying: C["number"].value Expecting: '7' ok Trying: C["string"].value Expecting: 'seven' ok Trying: C.output() Expecting: 'Set-Cookie: number=7\r\nSet-Cookie: string=seven' ok Trying: C = Cookie.SerialCookie() Expecting nothing ok Trying: C["number"] = 7 Expecting nothing ok Trying: C["string"] = "seven" Expecting nothing ok Trying: C["number"].value Expecting: 7 ok Trying: C["string"].value Expecting: 'seven' ok Trying: C.output() Expecting: 'Set-Cookie: number="I7\\012."\r\nSet-Cookie: string="S\'seven\'\\012p1\\012."' ok Trying: C = Cookie.SmartCookie() Expecting nothing ok Trying: C["number"] = 7 Expecting nothing ok Trying: C["string"] = "seven" Expecting nothing ok Trying: C["number"].value Expecting: 7 ok Trying: C["string"].value Expecting: 'seven' ok Trying: C.output() Expecting: 'Set-Cookie: number="I7\\012."\r\nSet-Cookie: string=seven' ok Trying: C = Cookie.Cookie() Expecting nothing ok Trying: print C.__class__.__name__ Expecting: SmartCookie ok 36 items had no tests: Cookie.BaseCookie Cookie.BaseCookie._BaseCookie__ParseString Cookie.BaseCookie._BaseCookie__set Cookie.BaseCookie.__init__ Cookie.BaseCookie.__repr__ Cookie.BaseCookie.__setitem__ Cookie.BaseCookie.__str__ Cookie.BaseCookie.js_output Cookie.BaseCookie.load Cookie.BaseCookie.value_decode Cookie.BaseCookie.value_encode Cookie.CookieError Cookie.Morsel Cookie.Morsel.OutputString Cookie.Morsel.__init__ Cookie.Morsel.__repr__ Cookie.Morsel.__setitem__ Cookie.Morsel.__str__ Cookie.Morsel.isReservedKey Cookie.Morsel.js_output Cookie.Morsel.set Cookie.SerialCookie Cookie.SerialCookie.__init__ Cookie.SerialCookie.value_decode Cookie.SerialCookie.value_encode Cookie.SimpleCookie Cookie.SimpleCookie.value_decode Cookie.SimpleCookie.value_encode Cookie.SmartCookie Cookie.SmartCookie.__init__ Cookie.SmartCookie.value_decode Cookie.SmartCookie.value_encode Cookie._getdate Cookie._quote Cookie._test Cookie._unquote 1 items passed all tests: 46 tests in Cookie 46 tests in 37 items. 46 passed and 0 failed. Test passed. doctest (Cookie) ... 46 tests with zero failures test_cookielib test_http2time (test.test_cookielib.DateTimeTests) ... ok test_http2time_formats (test.test_cookielib.DateTimeTests) ... ok test_http2time_garbage (test.test_cookielib.DateTimeTests) ... ok test_time2isoz (test.test_cookielib.DateTimeTests) ... ok test_join_header_words (test.test_cookielib.HeaderTests) ... ok test_parse_ns_headers (test.test_cookielib.HeaderTests) ... ok test_parse_ns_headers_special_names (test.test_cookielib.HeaderTests) ... ok test_roundtrip (test.test_cookielib.HeaderTests) ... ok test_split_header_words (test.test_cookielib.HeaderTests) ... ok test_Cookie_iterator (test.test_cookielib.CookieTests) ... ok test_bad_cookie_header (test.test_cookielib.CookieTests) ... ok test_default_path (test.test_cookielib.CookieTests) ... ok test_domain_allow (test.test_cookielib.CookieTests) ... ok test_domain_block (test.test_cookielib.CookieTests) ... ok test_domain_match (test.test_cookielib.CookieTests) ... ok test_domain_mirror (test.test_cookielib.CookieTests) ... ok test_domain_return_ok (test.test_cookielib.CookieTests) ... ok test_escape_path (test.test_cookielib.CookieTests) ... ok test_expires (test.test_cookielib.CookieTests) ... ok test_is_HDN (test.test_cookielib.CookieTests) ... ok test_missing_final_slash (test.test_cookielib.CookieTests) ... ok test_missing_value (test.test_cookielib.CookieTests) ... ok test_no_return_comment (test.test_cookielib.CookieTests) ... ok test_ns_parser (test.test_cookielib.CookieTests) ... ok test_ns_parser_special_names (test.test_cookielib.CookieTests) ... ok test_parse_ns_headers (test.test_cookielib.CookieTests) ... ok test_path_mirror (test.test_cookielib.CookieTests) ... ok test_port_mirror (test.test_cookielib.CookieTests) ... ok test_quote_cookie_value (test.test_cookielib.CookieTests) ... ok test_reach (test.test_cookielib.CookieTests) ... ok test_request_host (test.test_cookielib.CookieTests) ... ok test_request_path (test.test_cookielib.CookieTests) ... ok test_request_port (test.test_cookielib.CookieTests) ... ok test_rfc2109_handling (test.test_cookielib.CookieTests) ... ok test_secure (test.test_cookielib.CookieTests) ... ok test_strict_domain (test.test_cookielib.CookieTests) ... ok test_two_component_domain_ns (test.test_cookielib.CookieTests) ... ok test_two_component_domain_rfc2965 (test.test_cookielib.CookieTests) ... ok test_wrong_domain (test.test_cookielib.CookieTests) ... ok test_bad_magic (test.test_cookielib.FileCookieJarTests) ... ok test_lwp_valueless_cookie (test.test_cookielib.FileCookieJarTests) ... ok test_empty_path (test.test_cookielib.LWPCookieTests) ... ok test_ietf_example_1 (test.test_cookielib.LWPCookieTests) ... ok test_ietf_example_2 (test.test_cookielib.LWPCookieTests) ... ok test_intranet_domains_2965 (test.test_cookielib.LWPCookieTests) ... ok test_intranet_domains_ns (test.test_cookielib.LWPCookieTests) ... ok test_mozilla (test.test_cookielib.LWPCookieTests) ... ok test_netscape_example_1 (test.test_cookielib.LWPCookieTests) ... ok test_netscape_example_2 (test.test_cookielib.LWPCookieTests) ... ok test_netscape_misc (test.test_cookielib.LWPCookieTests) ... ok test_rejection (test.test_cookielib.LWPCookieTests) ... ok test_session_cookies (test.test_cookielib.LWPCookieTests) ... ok test_url_encoding (test.test_cookielib.LWPCookieTests) ... ok ---------------------------------------------------------------------- Ran 53 tests in 0.076s OK test_copy test_copy_atomic (test.test_copy.TestCopy) ... ok test_copy_basic (test.test_copy.TestCopy) ... ok test_copy_cant (test.test_copy.TestCopy) ... ok test_copy_copy (test.test_copy.TestCopy) ... ok test_copy_dict (test.test_copy.TestCopy) ... ok test_copy_function (test.test_copy.TestCopy) ... ok test_copy_inst_copy (test.test_copy.TestCopy) ... ok test_copy_inst_getinitargs (test.test_copy.TestCopy) ... ok test_copy_inst_getstate (test.test_copy.TestCopy) ... ok test_copy_inst_getstate_setstate (test.test_copy.TestCopy) ... ok test_copy_inst_setstate (test.test_copy.TestCopy) ... ok test_copy_inst_vanilla (test.test_copy.TestCopy) ... ok test_copy_list (test.test_copy.TestCopy) ... ok test_copy_list_subclass (test.test_copy.TestCopy) ... ok test_copy_reduce (test.test_copy.TestCopy) ... ok test_copy_reduce_ex (test.test_copy.TestCopy) ... ok test_copy_registry (test.test_copy.TestCopy) ... ok test_copy_slots (test.test_copy.TestCopy) ... ok test_copy_tuple (test.test_copy.TestCopy) ... ok test_copy_tuple_subclass (test.test_copy.TestCopy) ... ok test_copy_weakkeydict (test.test_copy.TestCopy) ... ok test_copy_weakref (test.test_copy.TestCopy) ... ok test_copy_weakvaluedict (test.test_copy.TestCopy) ... ok test_deepcopy_atomic (test.test_copy.TestCopy) ... ok test_deepcopy_basic (test.test_copy.TestCopy) ... ok test_deepcopy_cant (test.test_copy.TestCopy) ... ok test_deepcopy_deepcopy (test.test_copy.TestCopy) ... ok test_deepcopy_dict (test.test_copy.TestCopy) ... ok test_deepcopy_function (test.test_copy.TestCopy) ... ok test_deepcopy_inst_deepcopy (test.test_copy.TestCopy) ... ok test_deepcopy_inst_getinitargs (test.test_copy.TestCopy) ... ok test_deepcopy_inst_getstate (test.test_copy.TestCopy) ... ok test_deepcopy_inst_getstate_setstate (test.test_copy.TestCopy) ... ok test_deepcopy_inst_setstate (test.test_copy.TestCopy) ... ok test_deepcopy_inst_vanilla (test.test_copy.TestCopy) ... ok test_deepcopy_issubclass (test.test_copy.TestCopy) ... ok test_deepcopy_keepalive (test.test_copy.TestCopy) ... ok test_deepcopy_list (test.test_copy.TestCopy) ... ok test_deepcopy_list_subclass (test.test_copy.TestCopy) ... ok test_deepcopy_memo (test.test_copy.TestCopy) ... ok test_deepcopy_reduce (test.test_copy.TestCopy) ... ok test_deepcopy_reduce_ex (test.test_copy.TestCopy) ... ok test_deepcopy_reflexive_dict (test.test_copy.TestCopy) ... ok test_deepcopy_reflexive_inst (test.test_copy.TestCopy) ... ok test_deepcopy_reflexive_list (test.test_copy.TestCopy) ... ok test_deepcopy_reflexive_tuple (test.test_copy.TestCopy) ... ok test_deepcopy_registry (test.test_copy.TestCopy) ... ok test_deepcopy_slots (test.test_copy.TestCopy) ... ok test_deepcopy_tuple (test.test_copy.TestCopy) ... ok test_deepcopy_tuple_subclass (test.test_copy.TestCopy) ... ok test_deepcopy_weakkeydict (test.test_copy.TestCopy) ... ok test_deepcopy_weakref (test.test_copy.TestCopy) ... ok test_deepcopy_weakvaluedict (test.test_copy.TestCopy) ... ok test_exceptions (test.test_copy.TestCopy) ... ok test_getstate_exc (test.test_copy.TestCopy) ... ok test_reconstruct_nostate (test.test_copy.TestCopy) ... ok test_reconstruct_reflexive (test.test_copy.TestCopy) ... ok test_reconstruct_state (test.test_copy.TestCopy) ... ok test_reconstruct_state_setstate (test.test_copy.TestCopy) ... ok test_reconstruct_string (test.test_copy.TestCopy) ... ok test_reduce_4tuple (test.test_copy.TestCopy) ... ok test_reduce_5tuple (test.test_copy.TestCopy) ... ok ---------------------------------------------------------------------- Ran 62 tests in 0.006s OK test_copy_reg test_bool (test.test_copy_reg.CopyRegTestCase) ... ok test_class (test.test_copy_reg.CopyRegTestCase) ... ok test_extension_registry (test.test_copy_reg.CopyRegTestCase) ... ok test_noncallable_constructor (test.test_copy_reg.CopyRegTestCase) ... ok test_noncallable_reduce (test.test_copy_reg.CopyRegTestCase) ... ok test_slotnames (test.test_copy_reg.CopyRegTestCase) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.000s OK test_cpickle test_attribute_name_interning (test.test_cpickle.cPickleTests) ... ok test_callapi (test.test_cpickle.cPickleTests) ... ok test_dict_chunking (test.test_cpickle.cPickleTests) ... ok test_dump_closed_file (test.test_cpickle.cPickleTests) ... ok test_float (test.test_cpickle.cPickleTests) ... ok test_float_format (test.test_cpickle.cPickleTests) ... ok test_garyp (test.test_cpickle.cPickleTests) ... ok test_getinitargs (test.test_cpickle.cPickleTests) ... ok test_global_ext1 (test.test_cpickle.cPickleTests) ... ok test_global_ext2 (test.test_cpickle.cPickleTests) ... ok test_global_ext4 (test.test_cpickle.cPickleTests) ... ok test_highest_protocol (test.test_cpickle.cPickleTests) ... ok test_incomplete_input (test.test_cpickle.cPickleTests) ... ok test_insecure_strings (test.test_cpickle.cPickleTests) ... ok test_ints (test.test_cpickle.cPickleTests) ... ok test_list_chunking (test.test_cpickle.cPickleTests) ... ok test_load_closed_file (test.test_cpickle.cPickleTests) ... ok test_load_from_and_dump_to_file (test.test_cpickle.cPickleTests) ... ok test_load_from_canned_string (test.test_cpickle.cPickleTests) ... ok test_long (test.test_cpickle.cPickleTests) ... ok test_long1 (test.test_cpickle.cPickleTests) ... ok test_long4 (test.test_cpickle.cPickleTests) ... ok test_many_puts_and_gets (test.test_cpickle.cPickleTests) ... ok test_maxint64 (test.test_cpickle.cPickleTests) ... ok test_metaclass (test.test_cpickle.cPickleTests) ... ok test_misc (test.test_cpickle.cPickleTests) ... ok test_newobj_generic (test.test_cpickle.cPickleTests) ... ok test_newobj_list (test.test_cpickle.cPickleTests) ... ok test_newobj_list_slots (test.test_cpickle.cPickleTests) ... ok test_newobj_tuple (test.test_cpickle.cPickleTests) ... ok test_proto (test.test_cpickle.cPickleTests) ... ok test_recursive_dict (test.test_cpickle.cPickleTests) ... ok test_recursive_inst (test.test_cpickle.cPickleTests) ... ok test_recursive_list (test.test_cpickle.cPickleTests) ... ok test_recursive_multi (test.test_cpickle.cPickleTests) ... ok test_recursive_tuple (test.test_cpickle.cPickleTests) ... ok test_reduce (test.test_cpickle.cPickleTests) ... ok test_reduce_bad_iterator (test.test_cpickle.cPickleTests) ... ok test_reduce_calls_base (test.test_cpickle.cPickleTests) ... ok test_reduce_ex_called (test.test_cpickle.cPickleTests) ... ok test_reduce_ex_calls_base (test.test_cpickle.cPickleTests) ... ok test_reduce_ex_overrides_reduce (test.test_cpickle.cPickleTests) ... ok test_reduce_overrides_default_reduce_ex (test.test_cpickle.cPickleTests) ... ok test_roundtrip_equality (test.test_cpickle.cPickleTests) ... ok test_short_tuples (test.test_cpickle.cPickleTests) ... ok test_simple_newobj (test.test_cpickle.cPickleTests) ... ok test_singletons (test.test_cpickle.cPickleTests) ... ok test_structseq (test.test_cpickle.cPickleTests) ... ok test_unicode (test.test_cpickle.cPickleTests) ... ok test_unicode_high_plane (test.test_cpickle.cPickleTests) ... ok test_attribute_name_interning (test.test_cpickle.cPicklePicklerTests) ... ok test_dict_chunking (test.test_cpickle.cPicklePicklerTests) ... ok test_float (test.test_cpickle.cPicklePicklerTests) ... ok test_float_format (test.test_cpickle.cPicklePicklerTests) ... ok test_garyp (test.test_cpickle.cPicklePicklerTests) ... ok test_getinitargs (test.test_cpickle.cPicklePicklerTests) ... ok test_global_ext1 (test.test_cpickle.cPicklePicklerTests) ... ok test_global_ext2 (test.test_cpickle.cPicklePicklerTests) ... ok test_global_ext4 (test.test_cpickle.cPicklePicklerTests) ... ok test_insecure_strings (test.test_cpickle.cPicklePicklerTests) ... ok test_ints (test.test_cpickle.cPicklePicklerTests) ... ok test_list_chunking (test.test_cpickle.cPicklePicklerTests) ... ok test_load_from_canned_string (test.test_cpickle.cPicklePicklerTests) ... ok test_long (test.test_cpickle.cPicklePicklerTests) ... ok test_long1 (test.test_cpickle.cPicklePicklerTests) ... ok test_long4 (test.test_cpickle.cPicklePicklerTests) ... ok test_many_puts_and_gets (test.test_cpickle.cPicklePicklerTests) ... ok test_maxint64 (test.test_cpickle.cPicklePicklerTests) ... ok test_metaclass (test.test_cpickle.cPicklePicklerTests) ... ok test_misc (test.test_cpickle.cPicklePicklerTests) ... ok test_newobj_generic (test.test_cpickle.cPicklePicklerTests) ... ok test_newobj_list (test.test_cpickle.cPicklePicklerTests) ... ok test_newobj_list_slots (test.test_cpickle.cPicklePicklerTests) ... ok test_newobj_tuple (test.test_cpickle.cPicklePicklerTests) ... ok test_proto (test.test_cpickle.cPicklePicklerTests) ... ok test_recursive_dict (test.test_cpickle.cPicklePicklerTests) ... ok test_recursive_inst (test.test_cpickle.cPicklePicklerTests) ... ok test_recursive_list (test.test_cpickle.cPicklePicklerTests) ... ok test_recursive_multi (test.test_cpickle.cPicklePicklerTests) ... ok test_recursive_tuple (test.test_cpickle.cPicklePicklerTests) ... ok test_reduce (test.test_cpickle.cPicklePicklerTests) ... ok test_reduce_bad_iterator (test.test_cpickle.cPicklePicklerTests) ... ok test_reduce_calls_base (test.test_cpickle.cPicklePicklerTests) ... ok test_reduce_ex_called (test.test_cpickle.cPicklePicklerTests) ... ok test_reduce_ex_calls_base (test.test_cpickle.cPicklePicklerTests) ... ok test_reduce_ex_overrides_reduce (test.test_cpickle.cPicklePicklerTests) ... ok test_reduce_overrides_default_reduce_ex (test.test_cpickle.cPicklePicklerTests) ... ok test_roundtrip_equality (test.test_cpickle.cPicklePicklerTests) ... ok test_short_tuples (test.test_cpickle.cPicklePicklerTests) ... ok test_simple_newobj (test.test_cpickle.cPicklePicklerTests) ... ok test_singletons (test.test_cpickle.cPicklePicklerTests) ... ok test_structseq (test.test_cpickle.cPicklePicklerTests) ... ok test_unicode (test.test_cpickle.cPicklePicklerTests) ... ok test_unicode_high_plane (test.test_cpickle.cPicklePicklerTests) ... ok test_attribute_name_interning (test.test_cpickle.cPickleListPicklerTests) ... ok test_dict_chunking (test.test_cpickle.cPickleListPicklerTests) ... ok test_float (test.test_cpickle.cPickleListPicklerTests) ... ok test_float_format (test.test_cpickle.cPickleListPicklerTests) ... ok test_garyp (test.test_cpickle.cPickleListPicklerTests) ... ok test_getinitargs (test.test_cpickle.cPickleListPicklerTests) ... ok test_global_ext1 (test.test_cpickle.cPickleListPicklerTests) ... ok test_global_ext2 (test.test_cpickle.cPickleListPicklerTests) ... ok test_global_ext4 (test.test_cpickle.cPickleListPicklerTests) ... ok test_insecure_strings (test.test_cpickle.cPickleListPicklerTests) ... ok test_ints (test.test_cpickle.cPickleListPicklerTests) ... ok test_list_chunking (test.test_cpickle.cPickleListPicklerTests) ... ok test_load_from_canned_string (test.test_cpickle.cPickleListPicklerTests) ... ok test_long (test.test_cpickle.cPickleListPicklerTests) ... ok test_long1 (test.test_cpickle.cPickleListPicklerTests) ... ok test_long4 (test.test_cpickle.cPickleListPicklerTests) ... ok test_many_puts_and_gets (test.test_cpickle.cPickleListPicklerTests) ... ok test_maxint64 (test.test_cpickle.cPickleListPicklerTests) ... ok test_metaclass (test.test_cpickle.cPickleListPicklerTests) ... ok test_misc (test.test_cpickle.cPickleListPicklerTests) ... ok test_newobj_generic (test.test_cpickle.cPickleListPicklerTests) ... ok test_newobj_list (test.test_cpickle.cPickleListPicklerTests) ... ok test_newobj_list_slots (test.test_cpickle.cPickleListPicklerTests) ... ok test_newobj_tuple (test.test_cpickle.cPickleListPicklerTests) ... ok test_proto (test.test_cpickle.cPickleListPicklerTests) ... ok test_recursive_dict (test.test_cpickle.cPickleListPicklerTests) ... ok test_recursive_inst (test.test_cpickle.cPickleListPicklerTests) ... ok test_recursive_list (test.test_cpickle.cPickleListPicklerTests) ... ok test_recursive_multi (test.test_cpickle.cPickleListPicklerTests) ... ok test_recursive_tuple (test.test_cpickle.cPickleListPicklerTests) ... ok test_reduce (test.test_cpickle.cPickleListPicklerTests) ... ok test_reduce_bad_iterator (test.test_cpickle.cPickleListPicklerTests) ... ok test_reduce_calls_base (test.test_cpickle.cPickleListPicklerTests) ... ok test_reduce_ex_called (test.test_cpickle.cPickleListPicklerTests) ... ok test_reduce_ex_calls_base (test.test_cpickle.cPickleListPicklerTests) ... ok test_reduce_ex_overrides_reduce (test.test_cpickle.cPickleListPicklerTests) ... ok test_reduce_overrides_default_reduce_ex (test.test_cpickle.cPickleListPicklerTests) ... ok test_roundtrip_equality (test.test_cpickle.cPickleListPicklerTests) ... ok test_short_tuples (test.test_cpickle.cPickleListPicklerTests) ... ok test_simple_newobj (test.test_cpickle.cPickleListPicklerTests) ... ok test_singletons (test.test_cpickle.cPickleListPicklerTests) ... ok test_structseq (test.test_cpickle.cPickleListPicklerTests) ... ok test_unicode (test.test_cpickle.cPickleListPicklerTests) ... ok test_unicode_high_plane (test.test_cpickle.cPickleListPicklerTests) ... ok test_attribute_name_interning (test.test_cpickle.cPickleFastPicklerTests) ... ok test_dict_chunking (test.test_cpickle.cPickleFastPicklerTests) ... ok test_float (test.test_cpickle.cPickleFastPicklerTests) ... ok test_float_format (test.test_cpickle.cPickleFastPicklerTests) ... ok test_garyp (test.test_cpickle.cPickleFastPicklerTests) ... ok test_getinitargs (test.test_cpickle.cPickleFastPicklerTests) ... ok test_global_ext1 (test.test_cpickle.cPickleFastPicklerTests) ... ok test_global_ext2 (test.test_cpickle.cPickleFastPicklerTests) ... ok test_global_ext4 (test.test_cpickle.cPickleFastPicklerTests) ... ok test_insecure_strings (test.test_cpickle.cPickleFastPicklerTests) ... ok test_ints (test.test_cpickle.cPickleFastPicklerTests) ... ok test_list_chunking (test.test_cpickle.cPickleFastPicklerTests) ... ok test_load_from_canned_string (test.test_cpickle.cPickleFastPicklerTests) ... ok test_long (test.test_cpickle.cPickleFastPicklerTests) ... ok test_long1 (test.test_cpickle.cPickleFastPicklerTests) ... ok test_long4 (test.test_cpickle.cPickleFastPicklerTests) ... ok test_many_puts_and_gets (test.test_cpickle.cPickleFastPicklerTests) ... ok test_maxint64 (test.test_cpickle.cPickleFastPicklerTests) ... ok test_metaclass (test.test_cpickle.cPickleFastPicklerTests) ... ok test_misc (test.test_cpickle.cPickleFastPicklerTests) ... ok test_newobj_generic (test.test_cpickle.cPickleFastPicklerTests) ... ok test_newobj_list (test.test_cpickle.cPickleFastPicklerTests) ... ok test_newobj_list_slots (test.test_cpickle.cPickleFastPicklerTests) ... ok test_newobj_tuple (test.test_cpickle.cPickleFastPicklerTests) ... ok test_nonrecursive_deep (test.test_cpickle.cPickleFastPicklerTests) ... ok test_proto (test.test_cpickle.cPickleFastPicklerTests) ... ok test_recursive_dict (test.test_cpickle.cPickleFastPicklerTests) ... ok test_recursive_inst (test.test_cpickle.cPickleFastPicklerTests) ... ok test_recursive_list (test.test_cpickle.cPickleFastPicklerTests) ... ok test_recursive_multi (test.test_cpickle.cPickleFastPicklerTests) ... ok test_recursive_tuple (test.test_cpickle.cPickleFastPicklerTests) ... ok test_reduce (test.test_cpickle.cPickleFastPicklerTests) ... ok test_reduce_bad_iterator (test.test_cpickle.cPickleFastPicklerTests) ... ok test_reduce_calls_base (test.test_cpickle.cPickleFastPicklerTests) ... ok test_reduce_ex_called (test.test_cpickle.cPickleFastPicklerTests) ... ok test_reduce_ex_calls_base (test.test_cpickle.cPickleFastPicklerTests) ... ok test_reduce_ex_overrides_reduce (test.test_cpickle.cPickleFastPicklerTests) ... ok test_reduce_overrides_default_reduce_ex (test.test_cpickle.cPickleFastPicklerTests) ... ok test_roundtrip_equality (test.test_cpickle.cPickleFastPicklerTests) ... ok test_short_tuples (test.test_cpickle.cPickleFastPicklerTests) ... ok test_simple_newobj (test.test_cpickle.cPickleFastPicklerTests) ... ok test_singletons (test.test_cpickle.cPickleFastPicklerTests) ... ok test_structseq (test.test_cpickle.cPickleFastPicklerTests) ... ok test_unicode (test.test_cpickle.cPickleFastPicklerTests) ... ok test_unicode_high_plane (test.test_cpickle.cPickleFastPicklerTests) ... ok test_issue2702 (test.test_cpickle.cPickleDeepRecursive) ... ok test_issue3179 (test.test_cpickle.cPickleDeepRecursive) ... ok test_clear_pickler_memo (test.test_cpickle.cPicklePicklerUnpicklerObjectTests) ... ok test_priming_pickler_memo (test.test_cpickle.cPicklePicklerUnpicklerObjectTests) ... ok test_priming_unpickler_memo (test.test_cpickle.cPicklePicklerUnpicklerObjectTests) ... ok test_reusing_unpickler_objects (test.test_cpickle.cPicklePicklerUnpicklerObjectTests) ... ok ---------------------------------------------------------------------- Ran 189 tests in 0.432s OK test_cprofile test_bad_counter_during_dealloc (test.test_cprofile.CProfileTest) ... ok test_calling_conventions (test.test_cprofile.CProfileTest) ... ok test_cprofile (test.test_cprofile.CProfileTest) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.005s OK test_crypt test_crypt (test.test_crypt.CryptTestCase) ... Test encryption: abeTm2pJKypwA ok ---------------------------------------------------------------------- Ran 1 test in 0.001s OK test_csv *** skipping leakage tests *** test_char_write (test.test_csv.TestArrayWrites) ... ok test_double_write (test.test_csv.TestArrayWrites) ... ok test_float_write (test.test_csv.TestArrayWrites) ... ok test_int_write (test.test_csv.TestArrayWrites) ... ok test_blankline (test.test_csv.TestDialectExcel) ... ok test_dubious_quote (test.test_csv.TestDialectExcel) ... ok test_empty_fields (test.test_csv.TestDialectExcel) ... ok test_inline_quote (test.test_csv.TestDialectExcel) ... ok test_inline_quotes (test.test_csv.TestDialectExcel) ... ok test_lone_quote (test.test_csv.TestDialectExcel) ... ok test_newlines (test.test_csv.TestDialectExcel) ... ok test_null (test.test_csv.TestDialectExcel) ... ok test_quote_and_quote (test.test_csv.TestDialectExcel) ... ok test_quote_fieldsep (test.test_csv.TestDialectExcel) ... ok test_quoted (test.test_csv.TestDialectExcel) ... ok test_quoted_nl (test.test_csv.TestDialectExcel) ... ok test_quoted_quote (test.test_csv.TestDialectExcel) ... ok test_quoted_quotes (test.test_csv.TestDialectExcel) ... ok test_quotes (test.test_csv.TestDialectExcel) ... ok test_quotes_and_more (test.test_csv.TestDialectExcel) ... ok test_simple (test.test_csv.TestDialectExcel) ... ok test_single (test.test_csv.TestDialectExcel) ... ok test_single_quoted_quote (test.test_csv.TestDialectExcel) ... ok test_singlequoted (test.test_csv.TestDialectExcel) ... ok test_singlequoted_left_empty (test.test_csv.TestDialectExcel) ... ok test_singlequoted_right_empty (test.test_csv.TestDialectExcel) ... ok test_space_and_quote (test.test_csv.TestDialectExcel) ... ok test_bad_dialect (test.test_csv.TestDialectRegistry) ... ok test_dialect_apply (test.test_csv.TestDialectRegistry) ... ok test_incomplete_dialect (test.test_csv.TestDialectRegistry) ... ok test_register_kwargs (test.test_csv.TestDialectRegistry) ... ok test_registry (test.test_csv.TestDialectRegistry) ... ok test_registry_badargs (test.test_csv.TestDialectRegistry) ... ok test_space_dialect (test.test_csv.TestDialectRegistry) ... ok test_delimiter (test.test_csv.TestDialectValidity) ... ok test_lineterminator (test.test_csv.TestDialectValidity) ... ok test_quoting (test.test_csv.TestDialectValidity) ... ok test_read_dict_fieldnames_chain (test.test_csv.TestDictFields) ... ok test_read_dict_fieldnames_from_file (test.test_csv.TestDictFields) ... ok test_read_dict_fields (test.test_csv.TestDictFields) ... ok test_read_dict_no_fieldnames (test.test_csv.TestDictFields) ... ok test_read_long (test.test_csv.TestDictFields) ... ok test_read_long_with_rest (test.test_csv.TestDictFields) ... ok test_read_long_with_rest_no_fieldnames (test.test_csv.TestDictFields) ... ok test_read_multi (test.test_csv.TestDictFields) ... ok test_read_semi_sep (test.test_csv.TestDictFields) ... ok test_read_short (test.test_csv.TestDictFields) ... ok test_read_with_blanks (test.test_csv.TestDictFields) ... ok test_write_no_fields (test.test_csv.TestDictFields) ... ok test_write_simple_dict (test.test_csv.TestDictFields) ... ok test_escape_fieldsep (test.test_csv.TestEscapedExcel) ... ok test_read_escape_fieldsep (test.test_csv.TestEscapedExcel) ... ok test_read_escape_fieldsep (test.test_csv.TestQuotedEscapedExcel) ... ok test_write_escape_fieldsep (test.test_csv.TestQuotedEscapedExcel) ... ok test_delimiters (test.test_csv.TestSniffer) ... ok test_doublequote (test.test_csv.TestSniffer) ... ok test_has_header (test.test_csv.TestSniffer) ... ok test_sniff (test.test_csv.TestSniffer) ... ok test_read_bigfield (test.test_csv.Test_Csv) ... ok test_read_eol (test.test_csv.Test_Csv) ... ok test_read_escape (test.test_csv.Test_Csv) ... ok test_read_linenum (test.test_csv.Test_Csv) ... ok test_read_oddinputs (test.test_csv.Test_Csv) ... ok test_read_quoting (test.test_csv.Test_Csv) ... ok test_reader_arg_valid (test.test_csv.Test_Csv) ... ok test_reader_attrs (test.test_csv.Test_Csv) ... ok test_reader_dialect_attrs (test.test_csv.Test_Csv) ... ok test_reader_kw_attrs (test.test_csv.Test_Csv) ... ok test_roundtrip_quoteed_newlines (test.test_csv.Test_Csv) ... ok test_write_arg_valid (test.test_csv.Test_Csv) ... ok test_write_bigfield (test.test_csv.Test_Csv) ... ok test_write_escape (test.test_csv.Test_Csv) ... ok test_write_quoting (test.test_csv.Test_Csv) ... ok test_writer_arg_valid (test.test_csv.Test_Csv) ... ok test_writer_attrs (test.test_csv.Test_Csv) ... ok test_writer_dialect_attrs (test.test_csv.Test_Csv) ... ok test_writer_kw_attrs (test.test_csv.Test_Csv) ... ok test_writerows (test.test_csv.Test_Csv) ... ok ---------------------------------------------------------------------- Ran 78 tests in 0.033s OK test_ctypes test_buffer (ctypes.test.test_buffers.StringBufferTestCase) ... ok test_string_conversion (ctypes.test.test_buffers.StringBufferTestCase) ... ok test_unicode_buffer (ctypes.test.test_buffers.StringBufferTestCase) ... ok test_unicode_conversion (ctypes.test.test_buffers.StringBufferTestCase) ... ok test_address2pointer (ctypes.test.test_cast.Test) ... ok test_array2pointer (ctypes.test.test_cast.Test) ... ok test_char_p (ctypes.test.test_cast.Test) ... ok test_other (ctypes.test.test_cast.Test) ... ok test_p2a_objects (ctypes.test.test_cast.Test) ... ok test_wchar_p (ctypes.test.test_cast.Test) ... ok test_c_char_p (ctypes.test.test_internals.ObjectsTestCase) ... ok test_embedded_structs (ctypes.test.test_internals.ObjectsTestCase) ... ok test_ints (ctypes.test.test_internals.ObjectsTestCase) ... ok test_ptr_struct (ctypes.test.test_internals.ObjectsTestCase) ... ok test_simple_struct (ctypes.test.test_internals.ObjectsTestCase) ... ok test_xxx (ctypes.test.test_internals.ObjectsTestCase) ... ok test_16 (ctypes.test.test_sizes.SizesTestCase) ... ok test_32 (ctypes.test.test_sizes.SizesTestCase) ... ok test_64 (ctypes.test.test_sizes.SizesTestCase) ... ok test_8 (ctypes.test.test_sizes.SizesTestCase) ... ok test_size_t (ctypes.test.test_sizes.SizesTestCase) ... ok test_endian_double (ctypes.test.test_byteswap.Test) ... /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_byteswap.py:7: DeprecationWarning: buffer() not supported in 3.x return hexlify(buffer(s)).upper() ok test_endian_float (ctypes.test.test_byteswap.Test) ... ok test_endian_int (ctypes.test.test_byteswap.Test) ... ok test_endian_longlong (ctypes.test.test_byteswap.Test) ... ok test_endian_other (ctypes.test.test_byteswap.Test) ... ok test_endian_short (ctypes.test.test_byteswap.Test) ... ok test_struct_fields_1 (ctypes.test.test_byteswap.Test) ... ok test_struct_fields_2 (ctypes.test.test_byteswap.Test) ... ok test_struct_struct (ctypes.test.test_byteswap.Test) ... ok test_unaligned_native_struct_fields (ctypes.test.test_byteswap.Test) ... ok test_unaligned_nonnative_struct_fields (ctypes.test.test_byteswap.Test) ... ok test (ctypes.test.test_array_in_pointer.Test) ... /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_array_in_pointer.py:9: DeprecationWarning: buffer() not supported in 3.x h = hexlify(buffer(obj)) ok test_2 (ctypes.test.test_array_in_pointer.Test) ... ok test_incomplete_example (ctypes.test.test_incomplete.MyTestCase) ... ok test_cache (ctypes.test.test_arrays.ArrayTestCase) ... ok test_classcache (ctypes.test.test_arrays.ArrayTestCase) ... ok test_from_address (ctypes.test.test_arrays.ArrayTestCase) ... ok test_from_addressW (ctypes.test.test_arrays.ArrayTestCase) ... ok test_numeric_arrays (ctypes.test.test_arrays.ArrayTestCase) ... ok test_simple (ctypes.test.test_arrays.ArrayTestCase) ... ok test_basic (ctypes.test.test_pointers.PointersTestCase) ... ok test_basics (ctypes.test.test_pointers.PointersTestCase) ... ok test_bug_1467852 (ctypes.test.test_pointers.PointersTestCase) ... ok test_c_void_p (ctypes.test.test_pointers.PointersTestCase) ... ok test_callbacks_with_pointers (ctypes.test.test_pointers.PointersTestCase) ... ok test_change_pointers (ctypes.test.test_pointers.PointersTestCase) ... ok test_charpp (ctypes.test.test_pointers.PointersTestCase) Test that a character pointer-to-pointer is correctly passed ... ok test_from_address (ctypes.test.test_pointers.PointersTestCase) ... ok test_other (ctypes.test.test_pointers.PointersTestCase) ... ok test_pass_pointers (ctypes.test.test_pointers.PointersTestCase) ... ok test_pointer_crash (ctypes.test.test_pointers.PointersTestCase) ... ok test_pointers_bool (ctypes.test.test_pointers.PointersTestCase) ... ok test_array_pointers (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_byref_pointer (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_byref_pointerpointer (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_cstrings (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_cw_strings (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_int_pointers (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_noctypes_argtype (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_subclasses (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok test_compare (ctypes.test.test_simplesubclasses.Test) ... ok test_ignore_retval (ctypes.test.test_simplesubclasses.Test) ... ok test_int_callback (ctypes.test.test_simplesubclasses.Test) ... ok test_int_struct (ctypes.test.test_simplesubclasses.Test) ... ok test_anon_bitfields (ctypes.test.test_bitfields.BitFieldTest) ... ok test_longlong (ctypes.test.test_bitfields.BitFieldTest) ... ok test_mixed_1 (ctypes.test.test_bitfields.BitFieldTest) ... ok test_mixed_2 (ctypes.test.test_bitfields.BitFieldTest) ... ok test_mixed_3 (ctypes.test.test_bitfields.BitFieldTest) ... ok test_mixed_4 (ctypes.test.test_bitfields.BitFieldTest) ... ok test_multi_bitfields_size (ctypes.test.test_bitfields.BitFieldTest) ... ok test_nonint_types (ctypes.test.test_bitfields.BitFieldTest) ... ok test_signed (ctypes.test.test_bitfields.BitFieldTest) ... ok test_single_bitfield_size (ctypes.test.test_bitfields.BitFieldTest) ... ok test_ulonglong (ctypes.test.test_bitfields.BitFieldTest) ... ok test_unsigned (ctypes.test.test_bitfields.BitFieldTest) ... ok test_ints (ctypes.test.test_bitfields.C_Test) ... ok test_shorts (ctypes.test.test_bitfields.C_Test) ... ok test_char (ctypes.test.test_repr.ReprTest) ... ok test_numbers (ctypes.test.test_repr.ReprTest) ... ok test_qsort (ctypes.test.test_libc.LibTest) ... ok test_sqrt (ctypes.test.test_libc.LibTest) ... ok test_PyOS_snprintf (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_PyObj_FromPtr (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_PyString_FromString (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_PyString_FromStringAndSize (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_pyobject_repr (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_native (ctypes.test.test_unaligned_structures.TestStructures) ... ok test_swapped (ctypes.test.test_unaligned_structures.TestStructures) ... ok test_find (ctypes.test.test_loading.LoaderTest) ... ok test_load (ctypes.test.test_loading.LoaderTest) ... ok test_load_version (ctypes.test.test_loading.LoaderTest) ... ok test_byte (ctypes.test.test_callbacks.Callbacks) ... ok test_char (ctypes.test.test_callbacks.Callbacks) ... ok test_double (ctypes.test.test_callbacks.Callbacks) ... ok test_float (ctypes.test.test_callbacks.Callbacks) ... ok test_int (ctypes.test.test_callbacks.Callbacks) ... ok test_long (ctypes.test.test_callbacks.Callbacks) ... ok test_longdouble (ctypes.test.test_callbacks.Callbacks) ... ok test_longlong (ctypes.test.test_callbacks.Callbacks) ... ok test_pyobject (ctypes.test.test_callbacks.Callbacks) ... ok test_short (ctypes.test.test_callbacks.Callbacks) ... ok test_ubyte (ctypes.test.test_callbacks.Callbacks) ... ok test_uint (ctypes.test.test_callbacks.Callbacks) ... ok test_ulong (ctypes.test.test_callbacks.Callbacks) ... ok test_ulonglong (ctypes.test.test_callbacks.Callbacks) ... ok test_unsupported_restype_1 (ctypes.test.test_callbacks.Callbacks) ... ok test_unsupported_restype_2 (ctypes.test.test_callbacks.Callbacks) ... ok test_ushort (ctypes.test.test_callbacks.Callbacks) ... ok test_integrate (ctypes.test.test_callbacks.SampleCallbacksTestCase) ... ok test_byte (ctypes.test.test_cfuncs.CFunctions) ... ok test_byte_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_callwithresult (ctypes.test.test_cfuncs.CFunctions) ... ok test_double (ctypes.test.test_cfuncs.CFunctions) ... ok test_double_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_float (ctypes.test.test_cfuncs.CFunctions) ... ok test_float_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_int (ctypes.test.test_cfuncs.CFunctions) ... ok test_int_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_long (ctypes.test.test_cfuncs.CFunctions) ... ok test_long_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_longdouble (ctypes.test.test_cfuncs.CFunctions) ... ok test_longdouble_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_longlong (ctypes.test.test_cfuncs.CFunctions) ... ok test_longlong_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_short (ctypes.test.test_cfuncs.CFunctions) ... ok test_short_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_ubyte (ctypes.test.test_cfuncs.CFunctions) ... ok test_ubyte_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_uint (ctypes.test.test_cfuncs.CFunctions) ... ok test_uint_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_ulong (ctypes.test.test_cfuncs.CFunctions) ... ok test_ulong_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_ulonglong (ctypes.test.test_cfuncs.CFunctions) ... ok test_ulonglong_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_ushort (ctypes.test.test_cfuncs.CFunctions) ... ok test_ushort_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_void (ctypes.test.test_cfuncs.CFunctions) ... ok test_basic (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok test_dllfunctions (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok test_first (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok test_structures (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok test_FloatDivisionError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok test_IntegerDivisionError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok test_TypeErrorDivisionError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok test_ValueError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok test (ctypes.test.test_structures.PointerMemberTestCase) ... ok test_none_to_pointer_fields (ctypes.test.test_structures.PointerMemberTestCase) ... ok test_abstract_class (ctypes.test.test_structures.StructureTestCase) ... ok test_conflicting_initializers (ctypes.test.test_structures.StructureTestCase) ... ok test_emtpy (ctypes.test.test_structures.StructureTestCase) ... ok test_fields (ctypes.test.test_structures.StructureTestCase) ... ok test_init_errors (ctypes.test.test_structures.StructureTestCase) ... ok test_initializers (ctypes.test.test_structures.StructureTestCase) ... ok test_intarray_fields (ctypes.test.test_structures.StructureTestCase) ... ok test_invalid_field_types (ctypes.test.test_structures.StructureTestCase) ... ok test_keyword_initializers (ctypes.test.test_structures.StructureTestCase) ... ok test_methods (ctypes.test.test_structures.StructureTestCase) ... ok test_nested_initializers (ctypes.test.test_structures.StructureTestCase) ... ok test_packed (ctypes.test.test_structures.StructureTestCase) ... ok test_positional_args (ctypes.test.test_structures.StructureTestCase) ... ok test_simple_structs (ctypes.test.test_structures.StructureTestCase) ... ok test_struct_alignment (ctypes.test.test_structures.StructureTestCase) ... ok test_structures_with_wchar (ctypes.test.test_structures.StructureTestCase) ... ok test_unions (ctypes.test.test_structures.StructureTestCase) ... ok test_subclass (ctypes.test.test_structures.SubclassesTest) ... ok test_subclass_delayed (ctypes.test.test_structures.SubclassesTest) ... ok test_contains_itself (ctypes.test.test_structures.TestRecursiveStructure) ... ok test_vice_versa (ctypes.test.test_structures.TestRecursiveStructure) ... ok test (ctypes.test.test_strings.StringArrayTestCase) ... ok test_c_buffer_raw (ctypes.test.test_strings.StringArrayTestCase) ... /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_strings.py:40: DeprecationWarning: buffer() not supported in 3.x buf.raw = buffer("Hello, World") /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_strings.py:42: DeprecationWarning: buffer() not supported in 3.x self.assertRaises(TypeError, setattr, buf, "value", buffer("abc")) /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_strings.py:43: DeprecationWarning: buffer() not supported in 3.x self.assertRaises(ValueError, setattr, buf, "raw", buffer("x" * 100)) ok test_c_buffer_value (ctypes.test.test_strings.StringArrayTestCase) ... /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_strings.py:33: DeprecationWarning: buffer() not supported in 3.x self.assertRaises(TypeError, setattr, buf, "value", buffer("Hello, World")) /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_strings.py:34: DeprecationWarning: buffer() not supported in 3.x self.assertRaises(TypeError, setattr, buf, "value", buffer("abc")) /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_strings.py:35: DeprecationWarning: buffer() not supported in 3.x self.assertRaises(ValueError, setattr, buf, "raw", buffer("x" * 100)) ok test_param_1 (ctypes.test.test_strings.StringArrayTestCase) ... ok test_param_2 (ctypes.test.test_strings.StringArrayTestCase) ... ok test (ctypes.test.test_strings.WStringArrayTestCase) ... ok test_wchar (ctypes.test.test_strings.WStringTestCase) ... ok test_checkretval (ctypes.test.test_checkretval.Test) ... ok test_with_prototype (ctypes.test.test_returnfuncptrs.ReturnFuncPtrTestCase) ... ok test_without_prototype (ctypes.test.test_returnfuncptrs.ReturnFuncPtrTestCase) ... ok test__POINTER_c_char (ctypes.test.test_stringptr.StringPtrTestCase) ... ok test__c_char_p (ctypes.test.test_stringptr.StringPtrTestCase) ... ok test_functions (ctypes.test.test_stringptr.StringPtrTestCase) ... ok test_an_integer (ctypes.test.test_values.ValuesTestCase) ... ok test_undefined (ctypes.test.test_values.ValuesTestCase) ... ok test (ctypes.test.test_objects.TestCase) ... Trying: from ctypes import * Expecting nothing ok Trying: array = (c_char_p * 5)() Expecting nothing ok Trying: print array._objects Expecting: None ok Trying: array[4] = 'foo bar' Expecting nothing ok Trying: array._objects Expecting: {'4': 'foo bar'} ok Trying: array[4] Expecting: 'foo bar' ok Trying: class X(Structure): _fields_ = [("x", c_int), ("y", c_int), ("array", c_char_p * 5)] Expecting nothing ok Trying: x = X() Expecting nothing ok Trying: print x._objects Expecting: None ok Trying: print x.array._b_base_ # doctest: +ELLIPSIS Expecting: ok Trying: x.array[0] = 'spam spam spam' Expecting nothing ok Trying: x._objects Expecting: {'0:2': 'spam spam spam'} ok Trying: x.array._b_base_._objects Expecting: {'0:2': 'spam spam spam'} ok 2 items had no tests: ctypes.test.test_objects.TestCase ctypes.test.test_objects.TestCase.test 1 items passed all tests: 13 tests in ctypes.test.test_objects 13 tests in 3 items. 13 passed and 0 failed. Test passed. ok test_struct_by_value (ctypes.test.test_win32.Structures) ... ok test_get (ctypes.test.test_init.InitTest) ... ok test_cint_array (ctypes.test.test_keeprefs.ArrayTestCase) ... ok test_p_cint (ctypes.test.test_keeprefs.PointerTestCase) ... ok test (ctypes.test.test_keeprefs.PointerToStructure) ... ok test_ccharp (ctypes.test.test_keeprefs.SimpleTestCase) ... ok test_cint (ctypes.test.test_keeprefs.SimpleTestCase) ... ok test_ccharp_struct (ctypes.test.test_keeprefs.StructureTestCase) ... ok test_cint_struct (ctypes.test.test_keeprefs.StructureTestCase) ... ok test_struct_struct (ctypes.test.test_keeprefs.StructureTestCase) ... ok test_1_A (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok test_1_B (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok test_2 (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok test_3 (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok test_4 (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok test_cast (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok test_memmove (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok test_memset (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok test_string_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok test_wstring_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok test_callback (ctypes.test.test_refcounts.AnotherLeak) ... ok test_1 (ctypes.test.test_refcounts.RefcountTestCase) ... ok test_refcount (ctypes.test.test_refcounts.RefcountTestCase) ... ok test_byval (ctypes.test.test_functions.FunctionTestCase) ... ok test_callbacks (ctypes.test.test_functions.FunctionTestCase) ... ok test_callbacks_2 (ctypes.test.test_functions.FunctionTestCase) ... ok test_doubleresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_errors (ctypes.test.test_functions.FunctionTestCase) ... ok test_floatresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_intresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_longlong_callbacks (ctypes.test.test_functions.FunctionTestCase) ... ok test_longlongresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_mro (ctypes.test.test_functions.FunctionTestCase) ... ok test_pointers (ctypes.test.test_functions.FunctionTestCase) ... ok test_sf1651235 (ctypes.test.test_functions.FunctionTestCase) ... ok test_shorts (ctypes.test.test_functions.FunctionTestCase) ... ok test_stringresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_struct_return_2H (ctypes.test.test_functions.FunctionTestCase) ... ok test_struct_return_8H (ctypes.test.test_functions.FunctionTestCase) ... ok test_voidresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_wchar_parm (ctypes.test.test_functions.FunctionTestCase) ... ok test_wchar_result (ctypes.test.test_functions.FunctionTestCase) ... ok test (ctypes.test.test_prototypes.ArrayTest) ... ok test_POINTER_c_char_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok test_c_char_p_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok test_c_void_p_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok test_instance (ctypes.test.test_prototypes.CharPointersTestCase) ... ok test_int_pointer_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok test_paramflags (ctypes.test.test_prototypes.CharPointersTestCase) ... ok test_POINTER_c_wchar_arg (ctypes.test.test_prototypes.WCharPointersTestCase) ... ok test_c_wchar_p_arg (ctypes.test.test_prototypes.WCharPointersTestCase) ... ok test_alignments (ctypes.test.test_numbers.NumberTestCase) ... ok test_bool_values (ctypes.test.test_numbers.NumberTestCase) ... ok test_byref (ctypes.test.test_numbers.NumberTestCase) ... ok test_char_from_address (ctypes.test.test_numbers.NumberTestCase) ... ok test_default_init (ctypes.test.test_numbers.NumberTestCase) ... ok test_float_from_address (ctypes.test.test_numbers.NumberTestCase) ... ok test_floats (ctypes.test.test_numbers.NumberTestCase) ... ok test_from_param (ctypes.test.test_numbers.NumberTestCase) ... ok test_init (ctypes.test.test_numbers.NumberTestCase) ... ok test_int_from_address (ctypes.test.test_numbers.NumberTestCase) ... ok test_integers (ctypes.test.test_numbers.NumberTestCase) ... ok test_signed_values (ctypes.test.test_numbers.NumberTestCase) ... ok test_sizes (ctypes.test.test_numbers.NumberTestCase) ... ok test_typeerror (ctypes.test.test_numbers.NumberTestCase) ... ok test_unsigned_values (ctypes.test.test_numbers.NumberTestCase) ... ok test_ascii_ignore (ctypes.test.test_unicode.StringTestCase) ... ok test_ascii_replace (ctypes.test.test_unicode.StringTestCase) ... ok test_ascii_strict (ctypes.test.test_unicode.StringTestCase) ... ok test_buffers (ctypes.test.test_unicode.StringTestCase) ... ok test_latin1_strict (ctypes.test.test_unicode.StringTestCase) ... ok test_ascii_ignore (ctypes.test.test_unicode.UnicodeTestCase) ... ok test_ascii_replace (ctypes.test.test_unicode.UnicodeTestCase) ... ok test_ascii_strict (ctypes.test.test_unicode.UnicodeTestCase) ... ok test_buffers (ctypes.test.test_unicode.UnicodeTestCase) ... ok test_latin1_strict (ctypes.test.test_unicode.UnicodeTestCase) ... ok test_char_array (ctypes.test.test_slicing.SlicesTestCase) ... ok test_char_ptr (ctypes.test.test_slicing.SlicesTestCase) ... ok test_char_ptr_with_free (ctypes.test.test_slicing.SlicesTestCase) ... ok test_getslice_cint (ctypes.test.test_slicing.SlicesTestCase) ... ok test_setslice_cint (ctypes.test.test_slicing.SlicesTestCase) ... ok test_wchar_ptr (ctypes.test.test_slicing.SlicesTestCase) ... ok test_chararray (ctypes.test.test_delattr.TestCase) ... ok test_simple (ctypes.test.test_delattr.TestCase) ... ok test_struct (ctypes.test.test_delattr.TestCase) ... ok test_gl (ctypes.test.test_find.Test_OpenGL_libs) ... ok test_glu (ctypes.test.test_find.Test_OpenGL_libs) ... ok test_anon (ctypes.test.test_anon.AnonTest) ... ok test_anon_nonmember (ctypes.test.test_anon.AnonTest) ... ok test_anon_nonseq (ctypes.test.test_anon.AnonTest) ... ok test_nested (ctypes.test.test_anon.AnonTest) ... ok test_simple (ctypes.test.test_pickling.PickleTest) ... /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_pickling.py:31: DeprecationWarning: buffer() not supported in 3.x self.assertEqual(buffer(src)[:], /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_pickling.py:32: DeprecationWarning: buffer() not supported in 3.x buffer(dst)[:]) ok test_struct (ctypes.test.test_pickling.PickleTest) ... /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_pickling.py:49: DeprecationWarning: buffer() not supported in 3.x self.assertEqual(buffer(y)[:], /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_pickling.py:50: DeprecationWarning: buffer() not supported in 3.x buffer(x)[:]) ok test_unpickable (ctypes.test.test_pickling.PickleTest) ... ok test_wchar (ctypes.test.test_pickling.PickleTest) ... ok test_simple (ctypes.test.test_pickling.PickleTest_1) ... ok test_struct (ctypes.test.test_pickling.PickleTest_1) ... ok test_unpickable (ctypes.test.test_pickling.PickleTest_1) ... ok test_wchar (ctypes.test.test_pickling.PickleTest_1) ... ok test_simple (ctypes.test.test_pickling.PickleTest_2) ... ok test_struct (ctypes.test.test_pickling.PickleTest_2) ... ok test_unpickable (ctypes.test.test_pickling.PickleTest_2) ... ok test_wchar (ctypes.test.test_pickling.PickleTest_2) ... ok test_array_invalid_length (ctypes.test.test_varsize_struct.VarSizeTest) ... ok test_resize (ctypes.test.test_varsize_struct.VarSizeTest) ... ok test_zerosized_array (ctypes.test.test_varsize_struct.VarSizeTest) ... ok test_byval (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_callbacks_2 (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_pointers (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_shorts (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_struct_return_2H (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_struct_return_8H (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_wchar_parm (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok test_byval (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_callbacks (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_callbacks_2 (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_pointers (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_shorts (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_struct_return_2H (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_struct_return_8H (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_wchar_parm (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok test_byval (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_callbacks (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_callbacks_2 (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_longlong_callbacks (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_pointers (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_shorts (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_struct_return_2H (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_struct_return_8H (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_wchar_parm (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok test_fom_buffer (ctypes.test.test_frombuffer.Test) ... ok test_fom_buffer_copy_with_offset (ctypes.test.test_frombuffer.Test) ... ok test_fom_buffer_with_offset (ctypes.test.test_frombuffer.Test) ... ok test_from_buffer_copy (ctypes.test.test_frombuffer.Test) ... ok test_endian_types (ctypes.test.test_pep3118.Test) ... ok test_native_types (ctypes.test.test_pep3118.Test) ... /home/exarkun/Projects/python/trunk/Lib/ctypes/test/test_pep3118.py:27: DeprecationWarning: classic long division size /= dim ok test_open (ctypes.test.test_errno.Test) ... ok ---------------------------------------------------------------------- Ran 327 tests in 0.517s OK test_curses (B)0[?1049h[?1049l [?1l>test test_curses crashed -- : endwin() returned ERR Traceback (most recent call last): File "Lib/test/regrtest.py", line 657, in runtest_inner the_package = __import__(abstest, globals(), locals(), []) File "/home/exarkun/Projects/python/trunk/Lib/test/test_curses.py", line 286, in curses.endwin() error: endwin() returned ERR test_datetime test_bug_1028306 (test.test_datetime.Oddballs) ... ok test_backdoor_resistance (test.test_datetime.TestDate) ... ok test_bad_constructor_arguments (test.test_datetime.TestDate) ... ok test_basic_attributes (test.test_datetime.TestDate) ... ok test_bool (test.test_datetime.TestDate) ... ok test_compare (test.test_datetime.TestDate) ... ok test_computations (test.test_datetime.TestDate) ... ok test_ctime (test.test_datetime.TestDate) ... ok test_extreme_ordinals (test.test_datetime.TestDate) ... ok test_extreme_timedelta (test.test_datetime.TestDate) ... ok test_format (test.test_datetime.TestDate) ... ok test_fromtimestamp (test.test_datetime.TestDate) ... ok test_harmful_mixed_comparison (test.test_datetime.TestDate) ... ok test_harmless_mixed_comparison (test.test_datetime.TestDate) ... ok test_hash_equality (test.test_datetime.TestDate) ... ok test_insane_fromtimestamp (test.test_datetime.TestDate) ... ok test_iso_long_years (test.test_datetime.TestDate) ... ok test_isocalendar (test.test_datetime.TestDate) ... ok test_isoformat (test.test_datetime.TestDate) ... ok test_mixed_compare (test.test_datetime.TestDate) ... ok test_ordinal_conversions (test.test_datetime.TestDate) ... ok test_overflow (test.test_datetime.TestDate) ... ok test_pickling (test.test_datetime.TestDate) ... ok test_pickling_subclass_date (test.test_datetime.TestDate) ... ok test_replace (test.test_datetime.TestDate) ... ok test_resolution_info (test.test_datetime.TestDate) ... ok test_roundtrip (test.test_datetime.TestDate) ... ok test_strftime (test.test_datetime.TestDate) ... ok test_strftime_out_of_range (test.test_datetime.TestDate) ... ok test_subclass_date (test.test_datetime.TestDate) ... ok test_timetuple (test.test_datetime.TestDate) ... ok test_today (test.test_datetime.TestDate) ... ok test_weekday (test.test_datetime.TestDate) ... ok test_delta_non_days_ignored (test.test_datetime.TestDateOnly) ... ok test_astimezone (test.test_datetime.TestDateTime) ... ok test_backdoor_resistance (test.test_datetime.TestDateTime) ... ok test_bad_constructor_arguments (test.test_datetime.TestDateTime) ... ok test_basic_attributes (test.test_datetime.TestDateTime) ... ok test_basic_attributes_nonzero (test.test_datetime.TestDateTime) ... ok test_bool (test.test_datetime.TestDateTime) ... ok test_combine (test.test_datetime.TestDateTime) ... ok test_compare (test.test_datetime.TestDateTime) ... ok test_computations (test.test_datetime.TestDateTime) ... ok test_ctime (test.test_datetime.TestDateTime) ... ok test_extract (test.test_datetime.TestDateTime) ... ok test_extreme_ordinals (test.test_datetime.TestDateTime) ... ok test_extreme_timedelta (test.test_datetime.TestDateTime) ... ok test_format (test.test_datetime.TestDateTime) ... ok test_fromtimestamp (test.test_datetime.TestDateTime) ... ok test_harmful_mixed_comparison (test.test_datetime.TestDateTime) ... ok test_harmless_mixed_comparison (test.test_datetime.TestDateTime) ... ok test_hash_equality (test.test_datetime.TestDateTime) ... ok test_insane_fromtimestamp (test.test_datetime.TestDateTime) ... ok test_insane_utcfromtimestamp (test.test_datetime.TestDateTime) ... ok test_iso_long_years (test.test_datetime.TestDateTime) ... ok test_isocalendar (test.test_datetime.TestDateTime) ... ok test_isoformat (test.test_datetime.TestDateTime) ... ok test_microsecond_rounding (test.test_datetime.TestDateTime) ... ok test_mixed_compare (test.test_datetime.TestDateTime) ... ok test_more_compare (test.test_datetime.TestDateTime) ... ok test_more_ctime (test.test_datetime.TestDateTime) ... ok test_more_pickling (test.test_datetime.TestDateTime) ... ok test_more_strftime (test.test_datetime.TestDateTime) ... ok test_more_timetuple (test.test_datetime.TestDateTime) ... ok test_negative_float_fromtimestamp (test.test_datetime.TestDateTime) ... ok test_negative_float_utcfromtimestamp (test.test_datetime.TestDateTime) ... ok test_ordinal_conversions (test.test_datetime.TestDateTime) ... ok test_overflow (test.test_datetime.TestDateTime) ... ok test_pickling (test.test_datetime.TestDateTime) ... ok test_pickling_subclass_date (test.test_datetime.TestDateTime) ... ok test_pickling_subclass_datetime (test.test_datetime.TestDateTime) ... ok test_replace (test.test_datetime.TestDateTime) ... ok test_resolution_info (test.test_datetime.TestDateTime) ... ok test_roundtrip (test.test_datetime.TestDateTime) ... ok test_strftime (test.test_datetime.TestDateTime) ... ok test_strftime_out_of_range (test.test_datetime.TestDateTime) ... ok test_strftime_with_bad_tzname_replace (test.test_datetime.TestDateTime) ... ok test_strptime (test.test_datetime.TestDateTime) ... ok test_subclass_date (test.test_datetime.TestDateTime) ... ok test_subclass_datetime (test.test_datetime.TestDateTime) ... ok test_timetuple (test.test_datetime.TestDateTime) ... ok test_today (test.test_datetime.TestDateTime) ... ok test_tz_independent_comparing (test.test_datetime.TestDateTime) ... ok test_utcfromtimestamp (test.test_datetime.TestDateTime) ... ok test_utcnow (test.test_datetime.TestDateTime) ... ok test_weekday (test.test_datetime.TestDateTime) ... ok test_argument_passing (test.test_datetime.TestDateTimeTZ) ... ok test_astimezone (test.test_datetime.TestDateTimeTZ) ... ok test_aware_compare (test.test_datetime.TestDateTimeTZ) ... ok test_aware_subtract (test.test_datetime.TestDateTimeTZ) ... ok test_backdoor_resistance (test.test_datetime.TestDateTimeTZ) ... ok test_bad_constructor_arguments (test.test_datetime.TestDateTimeTZ) ... ok test_bad_tzinfo_classes (test.test_datetime.TestDateTimeTZ) ... ok test_basic_attributes (test.test_datetime.TestDateTimeTZ) ... ok test_basic_attributes_nonzero (test.test_datetime.TestDateTimeTZ) ... ok test_bool (test.test_datetime.TestDateTimeTZ) ... ok test_combine (test.test_datetime.TestDateTimeTZ) ... ok test_compare (test.test_datetime.TestDateTimeTZ) ... ok test_computations (test.test_datetime.TestDateTimeTZ) ... ok test_ctime (test.test_datetime.TestDateTimeTZ) ... ok test_even_more_compare (test.test_datetime.TestDateTimeTZ) ... ok test_extract (test.test_datetime.TestDateTimeTZ) ... ok test_extreme_hashes (test.test_datetime.TestDateTimeTZ) ... ok test_extreme_ordinals (test.test_datetime.TestDateTimeTZ) ... ok test_extreme_timedelta (test.test_datetime.TestDateTimeTZ) ... ok test_format (test.test_datetime.TestDateTimeTZ) ... ok test_fromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_harmful_mixed_comparison (test.test_datetime.TestDateTimeTZ) ... ok test_harmless_mixed_comparison (test.test_datetime.TestDateTimeTZ) ... ok test_hash_equality (test.test_datetime.TestDateTimeTZ) ... ok test_insane_fromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_insane_utcfromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_iso_long_years (test.test_datetime.TestDateTimeTZ) ... ok test_isocalendar (test.test_datetime.TestDateTimeTZ) ... ok test_isoformat (test.test_datetime.TestDateTimeTZ) ... ok test_microsecond_rounding (test.test_datetime.TestDateTimeTZ) ... ok test_mixed_compare (test.test_datetime.TestDateTimeTZ) ... ok test_more_astimezone (test.test_datetime.TestDateTimeTZ) ... ok test_more_compare (test.test_datetime.TestDateTimeTZ) ... ok test_more_ctime (test.test_datetime.TestDateTimeTZ) ... ok test_more_pickling (test.test_datetime.TestDateTimeTZ) ... ok test_more_strftime (test.test_datetime.TestDateTimeTZ) ... ok test_more_timetuple (test.test_datetime.TestDateTimeTZ) ... ok test_negative_float_fromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_negative_float_utcfromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_ordinal_conversions (test.test_datetime.TestDateTimeTZ) ... ok test_overflow (test.test_datetime.TestDateTimeTZ) ... ok test_pickling (test.test_datetime.TestDateTimeTZ) ... ok test_pickling_subclass_date (test.test_datetime.TestDateTimeTZ) ... ok test_pickling_subclass_datetime (test.test_datetime.TestDateTimeTZ) ... ok test_replace (test.test_datetime.TestDateTimeTZ) ... ok test_resolution_info (test.test_datetime.TestDateTimeTZ) ... ok test_roundtrip (test.test_datetime.TestDateTimeTZ) ... ok test_strftime (test.test_datetime.TestDateTimeTZ) ... ok test_strftime_out_of_range (test.test_datetime.TestDateTimeTZ) ... ok test_strftime_with_bad_tzname_replace (test.test_datetime.TestDateTimeTZ) ... ok test_strptime (test.test_datetime.TestDateTimeTZ) ... ok test_subclass_date (test.test_datetime.TestDateTimeTZ) ... ok test_subclass_datetime (test.test_datetime.TestDateTimeTZ) ... ok test_subclass_datetimetz (test.test_datetime.TestDateTimeTZ) ... ok test_timetuple (test.test_datetime.TestDateTimeTZ) ... ok test_today (test.test_datetime.TestDateTimeTZ) ... ok test_trivial (test.test_datetime.TestDateTimeTZ) ... ok test_tz_aware_arithmetic (test.test_datetime.TestDateTimeTZ) ... ok test_tz_independent_comparing (test.test_datetime.TestDateTimeTZ) ... ok test_tzinfo_classes (test.test_datetime.TestDateTimeTZ) ... ok test_tzinfo_fromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_tzinfo_isoformat (test.test_datetime.TestDateTimeTZ) ... ok test_tzinfo_now (test.test_datetime.TestDateTimeTZ) ... ok test_tzinfo_timetuple (test.test_datetime.TestDateTimeTZ) ... ok test_tzinfo_utcfromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_tzinfo_utcnow (test.test_datetime.TestDateTimeTZ) ... ok test_utc_offset_out_of_bounds (test.test_datetime.TestDateTimeTZ) ... ok test_utcfromtimestamp (test.test_datetime.TestDateTimeTZ) ... ok test_utcnow (test.test_datetime.TestDateTimeTZ) ... ok test_utctimetuple (test.test_datetime.TestDateTimeTZ) ... ok test_weekday (test.test_datetime.TestDateTimeTZ) ... ok test_zones (test.test_datetime.TestDateTimeTZ) ... ok test_constants (test.test_datetime.TestModule) ... ok test_non_abstractness (test.test_datetime.TestTZInfo) ... ok test_normal (test.test_datetime.TestTZInfo) ... ok test_pickling_base (test.test_datetime.TestTZInfo) ... ok test_pickling_subclass (test.test_datetime.TestTZInfo) ... ok test_subclass_must_override (test.test_datetime.TestTZInfo) ... ok test_1653736 (test.test_datetime.TestTime) ... ok test_backdoor_resistance (test.test_datetime.TestTime) ... ok test_bad_constructor_arguments (test.test_datetime.TestTime) ... ok test_basic_attributes (test.test_datetime.TestTime) ... ok test_basic_attributes_nonzero (test.test_datetime.TestTime) ... ok test_bool (test.test_datetime.TestTime) ... ok test_comparing (test.test_datetime.TestTime) ... ok test_format (test.test_datetime.TestTime) ... ok test_harmful_mixed_comparison (test.test_datetime.TestTime) ... ok test_harmless_mixed_comparison (test.test_datetime.TestTime) ... ok test_hash_equality (test.test_datetime.TestTime) ... ok test_isoformat (test.test_datetime.TestTime) ... ok test_pickling (test.test_datetime.TestTime) ... ok test_pickling_subclass_time (test.test_datetime.TestTime) ... ok test_replace (test.test_datetime.TestTime) ... ok test_repr (test.test_datetime.TestTime) ... ok test_resolution_info (test.test_datetime.TestTime) ... ok test_roundtrip (test.test_datetime.TestTime) ... ok test_str (test.test_datetime.TestTime) ... ok test_strftime (test.test_datetime.TestTime) ... ok test_subclass_time (test.test_datetime.TestTime) ... ok test_basic_attributes (test.test_datetime.TestTimeDelta) ... ok test_bool (test.test_datetime.TestTimeDelta) ... ok test_carries (test.test_datetime.TestTimeDelta) ... ok test_compare (test.test_datetime.TestTimeDelta) ... ok test_computations (test.test_datetime.TestTimeDelta) ... ok test_constructor (test.test_datetime.TestTimeDelta) ... ok test_disallowed_computations (test.test_datetime.TestTimeDelta) ... ok test_harmful_mixed_comparison (test.test_datetime.TestTimeDelta) ... ok test_harmless_mixed_comparison (test.test_datetime.TestTimeDelta) ... ok test_hash_equality (test.test_datetime.TestTimeDelta) ... ok test_massive_normalization (test.test_datetime.TestTimeDelta) ... ok test_microsecond_rounding (test.test_datetime.TestTimeDelta) ... ok test_overflow (test.test_datetime.TestTimeDelta) ... ok test_pickling (test.test_datetime.TestTimeDelta) ... ok test_resolution_info (test.test_datetime.TestTimeDelta) ... ok test_roundtrip (test.test_datetime.TestTimeDelta) ... ok test_str (test.test_datetime.TestTimeDelta) ... ok test_subclass_timedelta (test.test_datetime.TestTimeDelta) ... ok test_1653736 (test.test_datetime.TestTimeTZ) ... ok test_argument_passing (test.test_datetime.TestTimeTZ) ... ok test_aware_compare (test.test_datetime.TestTimeTZ) ... ok test_backdoor_resistance (test.test_datetime.TestTimeTZ) ... ok test_bad_constructor_arguments (test.test_datetime.TestTimeTZ) ... ok test_bad_tzinfo_classes (test.test_datetime.TestTimeTZ) ... ok test_basic_attributes (test.test_datetime.TestTimeTZ) ... ok test_basic_attributes_nonzero (test.test_datetime.TestTimeTZ) ... ok test_bool (test.test_datetime.TestTimeTZ) ... ok test_comparing (test.test_datetime.TestTimeTZ) ... ok test_empty (test.test_datetime.TestTimeTZ) ... ok test_format (test.test_datetime.TestTimeTZ) ... ok test_harmful_mixed_comparison (test.test_datetime.TestTimeTZ) ... ok test_harmless_mixed_comparison (test.test_datetime.TestTimeTZ) ... ok test_hash_edge_cases (test.test_datetime.TestTimeTZ) ... ok test_hash_equality (test.test_datetime.TestTimeTZ) ... ok test_isoformat (test.test_datetime.TestTimeTZ) ... ok test_mixed_compare (test.test_datetime.TestTimeTZ) ... ok test_more_bool (test.test_datetime.TestTimeTZ) ... ok test_pickling (test.test_datetime.TestTimeTZ) ... ok test_pickling_subclass_time (test.test_datetime.TestTimeTZ) ... ok test_replace (test.test_datetime.TestTimeTZ) ... ok test_repr (test.test_datetime.TestTimeTZ) ... ok test_resolution_info (test.test_datetime.TestTimeTZ) ... ok test_roundtrip (test.test_datetime.TestTimeTZ) ... ok test_str (test.test_datetime.TestTimeTZ) ... ok test_strftime (test.test_datetime.TestTimeTZ) ... ok test_subclass_time (test.test_datetime.TestTimeTZ) ... ok test_subclass_timetz (test.test_datetime.TestTimeTZ) ... ok test_tzinfo_classes (test.test_datetime.TestTimeTZ) ... ok test_utc_offset_out_of_bounds (test.test_datetime.TestTimeTZ) ... ok test_zones (test.test_datetime.TestTimeTZ) ... ok test_bogus_dst (test.test_datetime.TestTimezoneConversions) ... ok test_easy (test.test_datetime.TestTimezoneConversions) ... ok test_fromutc (test.test_datetime.TestTimezoneConversions) ... ok test_tricky (test.test_datetime.TestTimezoneConversions) ... ok ---------------------------------------------------------------------- Ran 239 tests in 0.790s OK test_dbm test_keys (test.test_dbm.DbmTestCase) ... ok test_modes (test.test_dbm.DbmTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.024s OK test_decimal test_explicit_context_create_decimal (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_explicit_empty (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_explicit_from_Decimal (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_explicit_from_None (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_explicit_from_int (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_explicit_from_string (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_explicit_from_tuples (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_unicode_digits (test.test_decimal.DecimalExplicitConstructionTest) ... ok test_implicit_from_Decimal (test.test_decimal.DecimalImplicitConstructionTest) ... ok test_implicit_from_None (test.test_decimal.DecimalImplicitConstructionTest) ... ok test_implicit_from_float (test.test_decimal.DecimalImplicitConstructionTest) ... ok test_implicit_from_int (test.test_decimal.DecimalImplicitConstructionTest) ... ok test_implicit_from_string (test.test_decimal.DecimalImplicitConstructionTest) ... ok test_rop (test.test_decimal.DecimalImplicitConstructionTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:620: DeprecationWarning: classic int division if 1/2 == 0: ok test_addition (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_division (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_floor_div_module (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_floor_division (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_module (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_multiplication (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_nan_comparisons (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_powering (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_subtraction (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_unary_operators (test.test_decimal.DecimalArithmeticOperatorsTest) ... ok test_formatting (test.test_decimal.DecimalFormatTest) ... ok test_n_format (test.test_decimal.DecimalFormatTest) ... ok test_threading (test.test_decimal.DecimalUseOfContextTest) ... ok test_as_nonzero (test.test_decimal.DecimalUsabilityTest) ... ok test_as_tuple (test.test_decimal.DecimalUsabilityTest) ... ok test_comparison_operators (test.test_decimal.DecimalUsabilityTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:1197: DeprecationWarning: comparing unequal types not supported in 3.x self.assertFalse(Decimal(1) < None) /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:1198: DeprecationWarning: comparing unequal types not supported in 3.x self.assertTrue(Decimal(1) > None) ok test_copy_and_deepcopy_methods (test.test_decimal.DecimalUsabilityTest) ... ok test_eval_round_trip (test.test_decimal.DecimalUsabilityTest) ... ok test_hash_method (test.test_decimal.DecimalUsabilityTest) ... ok test_immutability_operations (test.test_decimal.DecimalUsabilityTest) ... ok test_implicit_context (test.test_decimal.DecimalUsabilityTest) ... ok test_min_and_max_methods (test.test_decimal.DecimalUsabilityTest) ... ok test_subclassing (test.test_decimal.DecimalUsabilityTest) ... ok test_tonum_methods (test.test_decimal.DecimalUsabilityTest) ... ok test_tostring_methods (test.test_decimal.DecimalUsabilityTest) ... ok test_abc (test.test_decimal.DecimalPythonAPItests) ... ok test_create_decimal_from_float (test.test_decimal.DecimalPythonAPItests) ... ok test_from_float (test.test_decimal.DecimalPythonAPItests) ... ok test_int (test.test_decimal.DecimalPythonAPItests) ... ok test_pickle (test.test_decimal.DecimalPythonAPItests) ... ok test_trunc (test.test_decimal.DecimalPythonAPItests) ... ok test_copy (test.test_decimal.ContextAPItests) ... ok test_equality_with_other_types (test.test_decimal.ContextAPItests) ... ok test_pickle (test.test_decimal.ContextAPItests) ... ok test_abs (test.test_decimal.DecimalTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:205: DeprecationWarning: f.xreadlines() not supported in 3.x, try 'for line in f' instead for line in open(file).xreadlines(): /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:364: DeprecationWarning: type inequality comparisons not supported in 3.x myexceptions.sort() /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:365: DeprecationWarning: type inequality comparisons not supported in 3.x theirexceptions.sort() ok test_add (test.test_decimal.DecimalTest) ... ok test_and (test.test_decimal.DecimalTest) ... ok test_base (test.test_decimal.DecimalTest) ... ok test_clamp (test.test_decimal.DecimalTest) ... ok test_class (test.test_decimal.DecimalTest) ... ok test_compare (test.test_decimal.DecimalTest) ... ok test_comparetotal (test.test_decimal.DecimalTest) ... ok test_comparetotmag (test.test_decimal.DecimalTest) ... ok test_copy (test.test_decimal.DecimalTest) ... ok test_copyabs (test.test_decimal.DecimalTest) ... ok test_copynegate (test.test_decimal.DecimalTest) ... ok test_copysign (test.test_decimal.DecimalTest) ... ok test_ddAbs (test.test_decimal.DecimalTest) ... ok test_ddAdd (test.test_decimal.DecimalTest) ... ok test_ddAnd (test.test_decimal.DecimalTest) ... ok test_ddBase (test.test_decimal.DecimalTest) ... ok test_ddCanonical (test.test_decimal.DecimalTest) ... ok test_ddClass (test.test_decimal.DecimalTest) ... ok test_ddCompare (test.test_decimal.DecimalTest) ... ok test_ddCompareSig (test.test_decimal.DecimalTest) ... ok test_ddCompareTotal (test.test_decimal.DecimalTest) ... ok test_ddCompareTotalMag (test.test_decimal.DecimalTest) ... ok test_ddCopy (test.test_decimal.DecimalTest) ... ok test_ddCopyAbs (test.test_decimal.DecimalTest) ... ok test_ddCopyNegate (test.test_decimal.DecimalTest) ... ok test_ddCopySign (test.test_decimal.DecimalTest) ... ok test_ddDivide (test.test_decimal.DecimalTest) ... ok test_ddDivideInt (test.test_decimal.DecimalTest) ... ok test_ddEncode (test.test_decimal.DecimalTest) ... ok test_ddFMA (test.test_decimal.DecimalTest) ... ok test_ddInvert (test.test_decimal.DecimalTest) ... ok test_ddLogB (test.test_decimal.DecimalTest) ... ok test_ddMax (test.test_decimal.DecimalTest) ... ok test_ddMaxMag (test.test_decimal.DecimalTest) ... ok test_ddMin (test.test_decimal.DecimalTest) ... ok test_ddMinMag (test.test_decimal.DecimalTest) ... ok test_ddMinus (test.test_decimal.DecimalTest) ... ok test_ddMultiply (test.test_decimal.DecimalTest) ... ok test_ddNextMinus (test.test_decimal.DecimalTest) ... ok test_ddNextPlus (test.test_decimal.DecimalTest) ... ok test_ddNextToward (test.test_decimal.DecimalTest) ... ok test_ddOr (test.test_decimal.DecimalTest) ... ok test_ddPlus (test.test_decimal.DecimalTest) ... ok test_ddQuantize (test.test_decimal.DecimalTest) ... ok test_ddReduce (test.test_decimal.DecimalTest) ... ok test_ddRemainder (test.test_decimal.DecimalTest) ... ok test_ddRemainderNear (test.test_decimal.DecimalTest) ... ok test_ddRotate (test.test_decimal.DecimalTest) ... ok test_ddSameQuantum (test.test_decimal.DecimalTest) ... ok test_ddScaleB (test.test_decimal.DecimalTest) ... ok test_ddShift (test.test_decimal.DecimalTest) ... ok test_ddSubtract (test.test_decimal.DecimalTest) ... ok test_ddToIntegral (test.test_decimal.DecimalTest) ... ok test_ddXor (test.test_decimal.DecimalTest) ... ok test_decDouble (test.test_decimal.DecimalTest) ... ok test_decQuad (test.test_decimal.DecimalTest) ... ok test_decSingle (test.test_decimal.DecimalTest) ... ok test_divide (test.test_decimal.DecimalTest) ... ok test_divideint (test.test_decimal.DecimalTest) ... ok test_dqAbs (test.test_decimal.DecimalTest) ... ok test_dqAdd (test.test_decimal.DecimalTest) ... ok test_dqAnd (test.test_decimal.DecimalTest) ... ok test_dqBase (test.test_decimal.DecimalTest) ... ok test_dqCanonical (test.test_decimal.DecimalTest) ... ok test_dqClass (test.test_decimal.DecimalTest) ... ok test_dqCompare (test.test_decimal.DecimalTest) ... ok test_dqCompareSig (test.test_decimal.DecimalTest) ... ok test_dqCompareTotal (test.test_decimal.DecimalTest) ... ok test_dqCompareTotalMag (test.test_decimal.DecimalTest) ... ok test_dqCopy (test.test_decimal.DecimalTest) ... ok test_dqCopyAbs (test.test_decimal.DecimalTest) ... ok test_dqCopyNegate (test.test_decimal.DecimalTest) ... ok test_dqCopySign (test.test_decimal.DecimalTest) ... ok test_dqDivide (test.test_decimal.DecimalTest) ... ok test_dqDivideInt (test.test_decimal.DecimalTest) ... ok test_dqEncode (test.test_decimal.DecimalTest) ... ok test_dqFMA (test.test_decimal.DecimalTest) ... ok test_dqInvert (test.test_decimal.DecimalTest) ... ok test_dqLogB (test.test_decimal.DecimalTest) ... ok test_dqMax (test.test_decimal.DecimalTest) ... ok test_dqMaxMag (test.test_decimal.DecimalTest) ... ok test_dqMin (test.test_decimal.DecimalTest) ... ok test_dqMinMag (test.test_decimal.DecimalTest) ... ok test_dqMinus (test.test_decimal.DecimalTest) ... ok test_dqMultiply (test.test_decimal.DecimalTest) ... ok test_dqNextMinus (test.test_decimal.DecimalTest) ... ok test_dqNextPlus (test.test_decimal.DecimalTest) ... ok test_dqNextToward (test.test_decimal.DecimalTest) ... ok test_dqOr (test.test_decimal.DecimalTest) ... ok test_dqPlus (test.test_decimal.DecimalTest) ... ok test_dqQuantize (test.test_decimal.DecimalTest) ... ok test_dqReduce (test.test_decimal.DecimalTest) ... ok test_dqRemainder (test.test_decimal.DecimalTest) ... ok test_dqRemainderNear (test.test_decimal.DecimalTest) ... ok test_dqRotate (test.test_decimal.DecimalTest) ... ok test_dqSameQuantum (test.test_decimal.DecimalTest) ... ok test_dqScaleB (test.test_decimal.DecimalTest) ... ok test_dqShift (test.test_decimal.DecimalTest) ... ok test_dqSubtract (test.test_decimal.DecimalTest) ... ok test_dqToIntegral (test.test_decimal.DecimalTest) ... ok test_dqXor (test.test_decimal.DecimalTest) ... ok test_dsBase (test.test_decimal.DecimalTest) ... ok test_dsEncode (test.test_decimal.DecimalTest) ... ok test_exp (test.test_decimal.DecimalTest) ... ok test_extra (test.test_decimal.DecimalTest) ... ok test_fma (test.test_decimal.DecimalTest) ... ok test_inexact (test.test_decimal.DecimalTest) ... ok test_invert (test.test_decimal.DecimalTest) ... ok test_ln (test.test_decimal.DecimalTest) ... ok test_log10 (test.test_decimal.DecimalTest) ... ok test_logb (test.test_decimal.DecimalTest) ... ok test_max (test.test_decimal.DecimalTest) ... ok test_maxmag (test.test_decimal.DecimalTest) ... ok test_min (test.test_decimal.DecimalTest) ... ok test_minmag (test.test_decimal.DecimalTest) ... ok test_minus (test.test_decimal.DecimalTest) ... ok test_multiply (test.test_decimal.DecimalTest) ... ok test_nextminus (test.test_decimal.DecimalTest) ... ok test_nextplus (test.test_decimal.DecimalTest) ... ok test_nexttoward (test.test_decimal.DecimalTest) ... ok test_or (test.test_decimal.DecimalTest) ... ok test_plus (test.test_decimal.DecimalTest) ... ok test_power (test.test_decimal.DecimalTest) ... ok test_powersqrt (test.test_decimal.DecimalTest) ... ok test_quantize (test.test_decimal.DecimalTest) ... ok test_randomBound32 (test.test_decimal.DecimalTest) ... ok test_randoms (test.test_decimal.DecimalTest) ... ok test_reduce (test.test_decimal.DecimalTest) ... ok test_remainder (test.test_decimal.DecimalTest) ... ok test_remainderNear (test.test_decimal.DecimalTest) ... ok test_rescale (test.test_decimal.DecimalTest) ... ok test_rotate (test.test_decimal.DecimalTest) ... ok test_rounding (test.test_decimal.DecimalTest) ... ok test_samequantum (test.test_decimal.DecimalTest) ... ok test_scaleb (test.test_decimal.DecimalTest) ... ok test_shift (test.test_decimal.DecimalTest) ... ok test_squareroot (test.test_decimal.DecimalTest) ... ok test_subtract (test.test_decimal.DecimalTest) ... ok test_testall (test.test_decimal.DecimalTest) ... ok test_tointegral (test.test_decimal.DecimalTest) ... ok test_tointegralx (test.test_decimal.DecimalTest) ... ok test_xor (test.test_decimal.DecimalTest) ... ok test_localcontext (test.test_decimal.WithStatementTest) ... ok test_localcontextarg (test.test_decimal.WithStatementTest) ... ok test_flags_irrelevant (test.test_decimal.ContextFlags) ... /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:1660: DeprecationWarning: type inequality comparisons not supported in 3.x expected_flags.sort() /home/exarkun/Projects/python/trunk/Lib/test/test_decimal.py:1664: DeprecationWarning: type inequality comparisons not supported in 3.x new_flags.sort() ok ---------------------------------------------------------------------- Ran 194 tests in 8.677s OK Trying: from decimal import * Expecting nothing ok Trying: setcontext(ExtendedContext) Expecting nothing ok Trying: Decimal(0) Expecting: Decimal('0') ok Trying: Decimal('1') Expecting: Decimal('1') ok Trying: Decimal('-.0123') Expecting: Decimal('-0.0123') ok Trying: Decimal(123456) Expecting: Decimal('123456') ok Trying: Decimal('123.45e12345678901234567890') Expecting: Decimal('1.2345E+12345678901234567892') ok Trying: Decimal('1.33') + Decimal('1.27') Expecting: Decimal('2.60') ok Trying: Decimal('12.34') + Decimal('3.87') - Decimal('18.41') Expecting: Decimal('-2.20') ok Trying: dig = Decimal(1) Expecting nothing ok Trying: print dig / Decimal(3) Expecting: 0.333333333 ok Trying: getcontext().prec = 18 Expecting nothing ok Trying: print dig / Decimal(3) Expecting: 0.333333333333333333 ok Trying: print dig.sqrt() Expecting: 1 ok Trying: print Decimal(3).sqrt() Expecting: 1.73205080756887729 ok Trying: print Decimal(3) ** 123 Expecting: 4.85192780976896427E+58 ok Trying: inf = Decimal(1) / Decimal(0) Expecting nothing ok Trying: print inf Expecting: Infinity ok Trying: neginf = Decimal(-1) / Decimal(0) Expecting nothing ok Trying: print neginf Expecting: -Infinity ok Trying: print neginf + inf Expecting: NaN ok Trying: print neginf * inf Expecting: -Infinity ok Trying: print dig / 0 Expecting: Infinity ok Trying: getcontext().traps[DivisionByZero] = 1 Expecting nothing ok Trying: print dig / 0 Expecting: Traceback (most recent call last): ... ... ... DivisionByZero: x / 0 ok Trying: c = Context() Expecting nothing ok Trying: c.traps[InvalidOperation] = 0 Expecting nothing ok Trying: print c.flags[InvalidOperation] Expecting: 0 ok Trying: c.divide(Decimal(0), Decimal(0)) Expecting: Decimal('NaN') ok Trying: c.traps[InvalidOperation] = 1 Expecting nothing ok Trying: print c.flags[InvalidOperation] Expecting: 1 ok Trying: c.flags[InvalidOperation] = 0 Expecting nothing ok Trying: print c.flags[InvalidOperation] Expecting: 0 ok Trying: print c.divide(Decimal(0), Decimal(0)) Expecting: Traceback (most recent call last): ... ... ... InvalidOperation: 0 / 0 ok Trying: print c.flags[InvalidOperation] Expecting: 1 ok Trying: c.flags[InvalidOperation] = 0 Expecting nothing ok Trying: c.traps[InvalidOperation] = 0 Expecting nothing ok Trying: print c.divide(Decimal(0), Decimal(0)) Expecting: NaN ok Trying: print c.flags[InvalidOperation] Expecting: 1 ok Trying: ExtendedContext.abs(Decimal('2.1')) Expecting: Decimal('2.1') ok Trying: ExtendedContext.abs(Decimal('-100')) Expecting: Decimal('100') ok Trying: ExtendedContext.abs(Decimal('101.5')) Expecting: Decimal('101.5') ok Trying: ExtendedContext.abs(Decimal('-101.5')) Expecting: Decimal('101.5') ok Trying: ExtendedContext.add(Decimal('12'), Decimal('7.00')) Expecting: Decimal('19.00') ok Trying: ExtendedContext.add(Decimal('1E+2'), Decimal('1.01E+4')) Expecting: Decimal('1.02E+4') ok Trying: ExtendedContext.canonical(Decimal('2.50')) Expecting: Decimal('2.50') ok Trying: ExtendedContext.compare(Decimal('2.1'), Decimal('3')) Expecting: Decimal('-1') ok Trying: ExtendedContext.compare(Decimal('2.1'), Decimal('2.1')) Expecting: Decimal('0') ok Trying: ExtendedContext.compare(Decimal('2.1'), Decimal('2.10')) Expecting: Decimal('0') ok Trying: ExtendedContext.compare(Decimal('3'), Decimal('2.1')) Expecting: Decimal('1') ok Trying: ExtendedContext.compare(Decimal('2.1'), Decimal('-3')) Expecting: Decimal('1') ok Trying: ExtendedContext.compare(Decimal('-3'), Decimal('2.1')) Expecting: Decimal('-1') ok Trying: c = ExtendedContext Expecting nothing ok Trying: c.compare_signal(Decimal('2.1'), Decimal('3')) Expecting: Decimal('-1') ok Trying: c.compare_signal(Decimal('2.1'), Decimal('2.1')) Expecting: Decimal('0') ok Trying: c.flags[InvalidOperation] = 0 Expecting nothing ok Trying: print c.flags[InvalidOperation] Expecting: 0 ok Trying: c.compare_signal(Decimal('NaN'), Decimal('2.1')) Expecting: Decimal('NaN') ok Trying: print c.flags[InvalidOperation] Expecting: 1 ok Trying: c.flags[InvalidOperation] = 0 Expecting nothing ok Trying: print c.flags[InvalidOperation] Expecting: 0 ok Trying: c.compare_signal(Decimal('sNaN'), Decimal('2.1')) Expecting: Decimal('NaN') ok Trying: print c.flags[InvalidOperation] Expecting: 1 ok Trying: ExtendedContext.compare_total(Decimal('12.73'), Decimal('127.9')) Expecting: Decimal('-1') ok Trying: ExtendedContext.compare_total(Decimal('-127'), Decimal('12')) Expecting: Decimal('-1') ok Trying: ExtendedContext.compare_total(Decimal('12.30'), Decimal('12.3')) Expecting: Decimal('-1') ok Trying: ExtendedContext.compare_total(Decimal('12.30'), Decimal('12.30')) Expecting: Decimal('0') ok Trying: ExtendedContext.compare_total(Decimal('12.3'), Decimal('12.300')) Expecting: Decimal('1') ok Trying: ExtendedContext.compare_total(Decimal('12.3'), Decimal('NaN')) Expecting: Decimal('-1') ok Trying: ExtendedContext.copy_abs(Decimal('2.1')) Expecting: Decimal('2.1') ok Trying: ExtendedContext.copy_abs(Decimal('-100')) Expecting: Decimal('100') ok Trying: ExtendedContext.copy_decimal(Decimal('2.1')) Expecting: Decimal('2.1') ok Trying: ExtendedContext.copy_decimal(Decimal('-1.00')) Expecting: Decimal('-1.00') ok Trying: ExtendedContext.copy_negate(Decimal('101.5')) Expecting: Decimal('-101.5') ok Trying: ExtendedContext.copy_negate(Decimal('-101.5')) Expecting: Decimal('101.5') ok Trying: ExtendedContext.copy_sign(Decimal( '1.50'), Decimal('7.33')) Expecting: Decimal('1.50') ok Trying: ExtendedContext.copy_sign(Decimal('-1.50'), Decimal('7.33')) Expecting: Decimal('1.50') ok Trying: ExtendedContext.copy_sign(Decimal( '1.50'), Decimal('-7.33')) Expecting: Decimal('-1.50') ok Trying: ExtendedContext.copy_sign(Decimal('-1.50'), Decimal('-7.33')) Expecting: Decimal('-1.50') ok Trying: context = Context(prec=5, rounding=ROUND_DOWN) Expecting nothing ok Trying: context.create_decimal_from_float(3.1415926535897932) Expecting: Decimal('3.1415') ok Trying: context = Context(prec=5, traps=[Inexact]) Expecting nothing ok Trying: context.create_decimal_from_float(3.1415926535897932) Expecting: Traceback (most recent call last): ... Inexact: None ok Trying: ExtendedContext.divide(Decimal('1'), Decimal('3')) Expecting: Decimal('0.333333333') ok Trying: ExtendedContext.divide(Decimal('2'), Decimal('3')) Expecting: Decimal('0.666666667') ok Trying: ExtendedContext.divide(Decimal('5'), Decimal('2')) Expecting: Decimal('2.5') ok Trying: ExtendedContext.divide(Decimal('1'), Decimal('10')) Expecting: Decimal('0.1') ok Trying: ExtendedContext.divide(Decimal('12'), Decimal('12')) Expecting: Decimal('1') ok Trying: ExtendedContext.divide(Decimal('8.00'), Decimal('2')) Expecting: Decimal('4.00') ok Trying: ExtendedContext.divide(Decimal('2.400'), Decimal('2.0')) Expecting: Decimal('1.20') ok Trying: ExtendedContext.divide(Decimal('1000'), Decimal('100')) Expecting: Decimal('10') ok Trying: ExtendedContext.divide(Decimal('1000'), Decimal('1')) Expecting: Decimal('1000') ok Trying: ExtendedContext.divide(Decimal('2.40E+6'), Decimal('2')) Expecting: Decimal('1.20E+6') ok Trying: ExtendedContext.divide_int(Decimal('2'), Decimal('3')) Expecting: Decimal('0') ok Trying: ExtendedContext.divide_int(Decimal('10'), Decimal('3')) Expecting: Decimal('3') ok Trying: ExtendedContext.divide_int(Decimal('1'), Decimal('0.3')) Expecting: Decimal('3') ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.exp(Decimal('-Infinity')) Expecting: Decimal('0') ok Trying: c.exp(Decimal('-1')) Expecting: Decimal('0.367879441') ok Trying: c.exp(Decimal('0')) Expecting: Decimal('1') ok Trying: c.exp(Decimal('1')) Expecting: Decimal('2.71828183') ok Trying: c.exp(Decimal('0.693147181')) Expecting: Decimal('2.00000000') ok Trying: c.exp(Decimal('+Infinity')) Expecting: Decimal('Infinity') ok Trying: ExtendedContext.fma(Decimal('3'), Decimal('5'), Decimal('7')) Expecting: Decimal('22') ok Trying: ExtendedContext.fma(Decimal('3'), Decimal('-5'), Decimal('7')) Expecting: Decimal('-8') ok Trying: ExtendedContext.fma(Decimal('888565290'), Decimal('1557.96930'), Decimal('-86087.7578')) Expecting: Decimal('1.38435736E+12') ok Trying: ExtendedContext.is_canonical(Decimal('2.50')) Expecting: True ok Trying: ExtendedContext.is_finite(Decimal('2.50')) Expecting: True ok Trying: ExtendedContext.is_finite(Decimal('-0.3')) Expecting: True ok Trying: ExtendedContext.is_finite(Decimal('0')) Expecting: True ok Trying: ExtendedContext.is_finite(Decimal('Inf')) Expecting: False ok Trying: ExtendedContext.is_finite(Decimal('NaN')) Expecting: False ok Trying: ExtendedContext.is_infinite(Decimal('2.50')) Expecting: False ok Trying: ExtendedContext.is_infinite(Decimal('-Inf')) Expecting: True ok Trying: ExtendedContext.is_infinite(Decimal('NaN')) Expecting: False ok Trying: ExtendedContext.is_nan(Decimal('2.50')) Expecting: False ok Trying: ExtendedContext.is_nan(Decimal('NaN')) Expecting: True ok Trying: ExtendedContext.is_nan(Decimal('-sNaN')) Expecting: True ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.is_normal(Decimal('2.50')) Expecting: True ok Trying: c.is_normal(Decimal('0.1E-999')) Expecting: False ok Trying: c.is_normal(Decimal('0.00')) Expecting: False ok Trying: c.is_normal(Decimal('-Inf')) Expecting: False ok Trying: c.is_normal(Decimal('NaN')) Expecting: False ok Trying: ExtendedContext.is_qnan(Decimal('2.50')) Expecting: False ok Trying: ExtendedContext.is_qnan(Decimal('NaN')) Expecting: True ok Trying: ExtendedContext.is_qnan(Decimal('sNaN')) Expecting: False ok Trying: ExtendedContext.is_signed(Decimal('2.50')) Expecting: False ok Trying: ExtendedContext.is_signed(Decimal('-12')) Expecting: True ok Trying: ExtendedContext.is_signed(Decimal('-0')) Expecting: True ok Trying: ExtendedContext.is_snan(Decimal('2.50')) Expecting: False ok Trying: ExtendedContext.is_snan(Decimal('NaN')) Expecting: False ok Trying: ExtendedContext.is_snan(Decimal('sNaN')) Expecting: True ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.is_subnormal(Decimal('2.50')) Expecting: False ok Trying: c.is_subnormal(Decimal('0.1E-999')) Expecting: True ok Trying: c.is_subnormal(Decimal('0.00')) Expecting: False ok Trying: c.is_subnormal(Decimal('-Inf')) Expecting: False ok Trying: c.is_subnormal(Decimal('NaN')) Expecting: False ok Trying: ExtendedContext.is_zero(Decimal('0')) Expecting: True ok Trying: ExtendedContext.is_zero(Decimal('2.50')) Expecting: False ok Trying: ExtendedContext.is_zero(Decimal('-0E+2')) Expecting: True ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.ln(Decimal('0')) Expecting: Decimal('-Infinity') ok Trying: c.ln(Decimal('1.000')) Expecting: Decimal('0') ok Trying: c.ln(Decimal('2.71828183')) Expecting: Decimal('1.00000000') ok Trying: c.ln(Decimal('10')) Expecting: Decimal('2.30258509') ok Trying: c.ln(Decimal('+Infinity')) Expecting: Decimal('Infinity') ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.log10(Decimal('0')) Expecting: Decimal('-Infinity') ok Trying: c.log10(Decimal('0.001')) Expecting: Decimal('-3') ok Trying: c.log10(Decimal('1.000')) Expecting: Decimal('0') ok Trying: c.log10(Decimal('2')) Expecting: Decimal('0.301029996') ok Trying: c.log10(Decimal('10')) Expecting: Decimal('1') ok Trying: c.log10(Decimal('70')) Expecting: Decimal('1.84509804') ok Trying: c.log10(Decimal('+Infinity')) Expecting: Decimal('Infinity') ok Trying: ExtendedContext.logb(Decimal('250')) Expecting: Decimal('2') ok Trying: ExtendedContext.logb(Decimal('2.50')) Expecting: Decimal('0') ok Trying: ExtendedContext.logb(Decimal('0.03')) Expecting: Decimal('-2') ok Trying: ExtendedContext.logb(Decimal('0')) Expecting: Decimal('-Infinity') ok Trying: ExtendedContext.logical_and(Decimal('0'), Decimal('0')) Expecting: Decimal('0') ok Trying: ExtendedContext.logical_and(Decimal('0'), Decimal('1')) Expecting: Decimal('0') ok Trying: ExtendedContext.logical_and(Decimal('1'), Decimal('0')) Expecting: Decimal('0') ok Trying: ExtendedContext.logical_and(Decimal('1'), Decimal('1')) Expecting: Decimal('1') ok Trying: ExtendedContext.logical_and(Decimal('1100'), Decimal('1010')) Expecting: Decimal('1000') ok Trying: ExtendedContext.logical_and(Decimal('1111'), Decimal('10')) Expecting: Decimal('10') ok Trying: ExtendedContext.logical_invert(Decimal('0')) Expecting: Decimal('111111111') ok Trying: ExtendedContext.logical_invert(Decimal('1')) Expecting: Decimal('111111110') ok Trying: ExtendedContext.logical_invert(Decimal('111111111')) Expecting: Decimal('0') ok Trying: ExtendedContext.logical_invert(Decimal('101010101')) Expecting: Decimal('10101010') ok Trying: ExtendedContext.logical_or(Decimal('0'), Decimal('0')) Expecting: Decimal('0') ok Trying: ExtendedContext.logical_or(Decimal('0'), Decimal('1')) Expecting: Decimal('1') ok Trying: ExtendedContext.logical_or(Decimal('1'), Decimal('0')) Expecting: Decimal('1') ok Trying: ExtendedContext.logical_or(Decimal('1'), Decimal('1')) Expecting: Decimal('1') ok Trying: ExtendedContext.logical_or(Decimal('1100'), Decimal('1010')) Expecting: Decimal('1110') ok Trying: ExtendedContext.logical_or(Decimal('1110'), Decimal('10')) Expecting: Decimal('1110') ok Trying: ExtendedContext.logical_xor(Decimal('0'), Decimal('0')) Expecting: Decimal('0') ok Trying: ExtendedContext.logical_xor(Decimal('0'), Decimal('1')) Expecting: Decimal('1') ok Trying: ExtendedContext.logical_xor(Decimal('1'), Decimal('0')) Expecting: Decimal('1') ok Trying: ExtendedContext.logical_xor(Decimal('1'), Decimal('1')) Expecting: Decimal('0') ok Trying: ExtendedContext.logical_xor(Decimal('1100'), Decimal('1010')) Expecting: Decimal('110') ok Trying: ExtendedContext.logical_xor(Decimal('1111'), Decimal('10')) Expecting: Decimal('1101') ok Trying: ExtendedContext.max(Decimal('3'), Decimal('2')) Expecting: Decimal('3') ok Trying: ExtendedContext.max(Decimal('-10'), Decimal('3')) Expecting: Decimal('3') ok Trying: ExtendedContext.max(Decimal('1.0'), Decimal('1')) Expecting: Decimal('1') ok Trying: ExtendedContext.max(Decimal('7'), Decimal('NaN')) Expecting: Decimal('7') ok Trying: ExtendedContext.min(Decimal('3'), Decimal('2')) Expecting: Decimal('2') ok Trying: ExtendedContext.min(Decimal('-10'), Decimal('3')) Expecting: Decimal('-10') ok Trying: ExtendedContext.min(Decimal('1.0'), Decimal('1')) Expecting: Decimal('1.0') ok Trying: ExtendedContext.min(Decimal('7'), Decimal('NaN')) Expecting: Decimal('7') ok Trying: ExtendedContext.minus(Decimal('1.3')) Expecting: Decimal('-1.3') ok Trying: ExtendedContext.minus(Decimal('-1.3')) Expecting: Decimal('1.3') ok Trying: ExtendedContext.multiply(Decimal('1.20'), Decimal('3')) Expecting: Decimal('3.60') ok Trying: ExtendedContext.multiply(Decimal('7'), Decimal('3')) Expecting: Decimal('21') ok Trying: ExtendedContext.multiply(Decimal('0.9'), Decimal('0.8')) Expecting: Decimal('0.72') ok Trying: ExtendedContext.multiply(Decimal('0.9'), Decimal('-0')) Expecting: Decimal('-0.0') ok Trying: ExtendedContext.multiply(Decimal('654321'), Decimal('654321')) Expecting: Decimal('4.28135971E+11') ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: ExtendedContext.next_minus(Decimal('1')) Expecting: Decimal('0.999999999') ok Trying: c.next_minus(Decimal('1E-1007')) Expecting: Decimal('0E-1007') ok Trying: ExtendedContext.next_minus(Decimal('-1.00000003')) Expecting: Decimal('-1.00000004') ok Trying: c.next_minus(Decimal('Infinity')) Expecting: Decimal('9.99999999E+999') ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: ExtendedContext.next_plus(Decimal('1')) Expecting: Decimal('1.00000001') ok Trying: c.next_plus(Decimal('-1E-1007')) Expecting: Decimal('-0E-1007') ok Trying: ExtendedContext.next_plus(Decimal('-1.00000003')) Expecting: Decimal('-1.00000002') ok Trying: c.next_plus(Decimal('-Infinity')) Expecting: Decimal('-9.99999999E+999') ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.next_toward(Decimal('1'), Decimal('2')) Expecting: Decimal('1.00000001') ok Trying: c.next_toward(Decimal('-1E-1007'), Decimal('1')) Expecting: Decimal('-0E-1007') ok Trying: c.next_toward(Decimal('-1.00000003'), Decimal('0')) Expecting: Decimal('-1.00000002') ok Trying: c.next_toward(Decimal('1'), Decimal('0')) Expecting: Decimal('0.999999999') ok Trying: c.next_toward(Decimal('1E-1007'), Decimal('-100')) Expecting: Decimal('0E-1007') ok Trying: c.next_toward(Decimal('-1.00000003'), Decimal('-10')) Expecting: Decimal('-1.00000004') ok Trying: c.next_toward(Decimal('0.00'), Decimal('-0.0000')) Expecting: Decimal('-0.00') ok Trying: ExtendedContext.normalize(Decimal('2.1')) Expecting: Decimal('2.1') ok Trying: ExtendedContext.normalize(Decimal('-2.0')) Expecting: Decimal('-2') ok Trying: ExtendedContext.normalize(Decimal('1.200')) Expecting: Decimal('1.2') ok Trying: ExtendedContext.normalize(Decimal('-120')) Expecting: Decimal('-1.2E+2') ok Trying: ExtendedContext.normalize(Decimal('120.00')) Expecting: Decimal('1.2E+2') ok Trying: ExtendedContext.normalize(Decimal('0.00')) Expecting: Decimal('0') ok Trying: c = Context(ExtendedContext) Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.number_class(Decimal('Infinity')) Expecting: '+Infinity' ok Trying: c.number_class(Decimal('1E-10')) Expecting: '+Normal' ok Trying: c.number_class(Decimal('2.50')) Expecting: '+Normal' ok Trying: c.number_class(Decimal('0.1E-999')) Expecting: '+Subnormal' ok Trying: c.number_class(Decimal('0')) Expecting: '+Zero' ok Trying: c.number_class(Decimal('-0')) Expecting: '-Zero' ok Trying: c.number_class(Decimal('-0.1E-999')) Expecting: '-Subnormal' ok Trying: c.number_class(Decimal('-1E-10')) Expecting: '-Normal' ok Trying: c.number_class(Decimal('-2.50')) Expecting: '-Normal' ok Trying: c.number_class(Decimal('-Infinity')) Expecting: '-Infinity' ok Trying: c.number_class(Decimal('NaN')) Expecting: 'NaN' ok Trying: c.number_class(Decimal('-NaN')) Expecting: 'NaN' ok Trying: c.number_class(Decimal('sNaN')) Expecting: 'sNaN' ok Trying: ExtendedContext.plus(Decimal('1.3')) Expecting: Decimal('1.3') ok Trying: ExtendedContext.plus(Decimal('-1.3')) Expecting: Decimal('-1.3') ok Trying: c = ExtendedContext.copy() Expecting nothing ok Trying: c.Emin = -999 Expecting nothing ok Trying: c.Emax = 999 Expecting nothing ok Trying: c.power(Decimal('2'), Decimal('3')) Expecting: Decimal('8') ok Trying: c.power(Decimal('-2'), Decimal('3')) Expecting: Decimal('-8') ok Trying: c.power(Decimal('2'), Decimal('-3')) Expecting: Decimal('0.125') ok Trying: c.power(Decimal('1.7'), Decimal('8')) Expecting: Decimal('69.7575744') ok Trying: c.power(Decimal('10'), Decimal('0.301029996')) Expecting: Decimal('2.00000000') ok Trying: c.power(Decimal('Infinity'), Decimal('-1')) Expecting: Decimal('0') ok Trying: c.power(Decimal('Infinity'), Decimal('0')) Expecting: Decimal('1') ok Trying: c.power(Decimal('Infinity'), Decimal('1')) Expecting: Decimal('Infinity') ok Trying: c.power(Decimal('-Infinity'), Decimal('-1')) Expecting: Decimal('-0') ok Trying: c.power(Decimal('-Infinity'), Decimal('0')) Expecting: Decimal('1') ok Trying: c.power(Decimal('-Infinity'), Decimal('1')) Expecting: Decimal('-Infinity') ok Trying: c.power(Decimal('-Infinity'), Decimal('2')) Expecting: Decimal('Infinity') ok Trying: c.power(Decimal('0'), Decimal('0')) Expecting: Decimal('NaN') ok Trying: c.power(Decimal('3'), Decimal('7'), Decimal('16')) Expecting: Decimal('11') ok Trying: c.power(Decimal('-3'), Decimal('7'), Decimal('16')) Expecting: Decimal('-11') ok Trying: c.power(Decimal('-3'), Decimal('8'), Decimal('16')) Expecting: Decimal('1') ok Trying: c.power(Decimal('3'), Decimal('7'), Decimal('-16')) Expecting: Decimal('11') ok Trying: c.power(Decimal('23E12345'), Decimal('67E189'), Decimal('123456789')) Expecting: Decimal('11729830') ok Trying: c.power(Decimal('-0'), Decimal('17'), Decimal('1729')) Expecting: Decimal('-0') ok Trying: c.power(Decimal('-23'), Decimal('0'), Decimal('65537')) Expecting: Decimal('1') ok Trying: ExtendedContext.quantize(Decimal('2.17'), Decimal('0.001')) Expecting: Decimal('2.170') ok Trying: ExtendedContext.quantize(Decimal('2.17'), Decimal('0.01')) Expecting: Decimal('2.17') ok Trying: ExtendedContext.quantize(Decimal('2.17'), Decimal('0.1')) Expecting: Decimal('2.2') ok Trying: ExtendedContext.quantize(Decimal('2.17'), Decimal('1e+0')) Expecting: Decimal('2') ok Trying: ExtendedContext.quantize(Decimal('2.17'), Decimal('1e+1')) Expecting: Decimal('0E+1') ok Trying: ExtendedContext.quantize(Decimal('-Inf'), Decimal('Infinity')) Expecting: Decimal('-Infinity') ok Trying: ExtendedContext.quantize(Decimal('2'), Decimal('Infinity')) Expecting: Decimal('NaN') ok Trying: ExtendedContext.quantize(Decimal('-0.1'), Decimal('1')) Expecting: Decimal('-0') ok Trying: ExtendedContext.quantize(Decimal('-0'), Decimal('1e+5')) Expecting: Decimal('-0E+5') ok Trying: ExtendedContext.quantize(Decimal('+35236450.6'), Decimal('1e-2')) Expecting: Decimal('NaN') ok Trying: ExtendedContext.quantize(Decimal('-35236450.6'), Decimal('1e-2')) Expecting: Decimal('NaN') ok Trying: ExtendedContext.quantize(Decimal('217'), Decimal('1e-1')) Expecting: Decimal('217.0') ok Trying: ExtendedContext.quantize(Decimal('217'), Decimal('1e-0')) Expecting: Decimal('217') ok Trying: ExtendedContext.quantize(Decimal('217'), Decimal('1e+1')) Expecting: Decimal('2.2E+2') ok Trying: ExtendedContext.quantize(Decimal('217'), Decimal('1e+2')) Expecting: Decimal('2E+2') ok Trying: ExtendedContext.radix() Expecting: Decimal('10') ok Trying: ExtendedContext.remainder(Decimal('2.1'), Decimal('3')) Expecting: Decimal('2.1') ok Trying: ExtendedContext.remainder(Decimal('10'), Decimal('3')) Expecting: Decimal('1') ok Trying: ExtendedContext.remainder(Decimal('-10'), Decimal('3')) Expecting: Decimal('-1') ok Trying: ExtendedContext.remainder(Decimal('10.2'), Decimal('1')) Expecting: Decimal('0.2') ok Trying: ExtendedContext.remainder(Decimal('10'), Decimal('0.3')) Expecting: Decimal('0.1') ok Trying: ExtendedContext.remainder(Decimal('3.6'), Decimal('1.3')) Expecting: Decimal('1.0') ok Trying: ExtendedContext.remainder_near(Decimal('2.1'), Decimal('3')) Expecting: Decimal('-0.9') ok Trying: ExtendedContext.remainder_near(Decimal('10'), Decimal('6')) Expecting: Decimal('-2') ok Trying: ExtendedContext.remainder_near(Decimal('10'), Decimal('3')) Expecting: Decimal('1') ok Trying: ExtendedContext.remainder_near(Decimal('-10'), Decimal('3')) Expecting: Decimal('-1') ok Trying: ExtendedContext.remainder_near(Decimal('10.2'), Decimal('1')) Expecting: Decimal('0.2') ok Trying: ExtendedContext.remainder_near(Decimal('10'), Decimal('0.3')) Expecting: Decimal('0.1') ok Trying: ExtendedContext.remainder_near(Decimal('3.6'), Decimal('1.3')) Expecting: Decimal('-0.3') ok Trying: ExtendedContext.rotate(Decimal('34'), Decimal('8')) Expecting: Decimal('400000003') ok Trying: ExtendedContext.rotate(Decimal('12'), Decimal('9')) Expecting: Decimal('12') ok Trying: ExtendedContext.rotate(Decimal('123456789'), Decimal('-2')) Expecting: Decimal('891234567') ok Trying: ExtendedContext.rotate(Decimal('123456789'), Decimal('0')) Expecting: Decimal('123456789') ok Trying: ExtendedContext.rotate(Decimal('123456789'), Decimal('+2')) Expecting: Decimal('345678912') ok Trying: ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.001')) Expecting: False ok Trying: ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.01')) Expecting: True ok Trying: ExtendedContext.same_quantum(Decimal('2.17'), Decimal('1')) Expecting: False ok Trying: ExtendedContext.same_quantum(Decimal('Inf'), Decimal('-Inf')) Expecting: True ok Trying: ExtendedContext.scaleb(Decimal('7.50'), Decimal('-2')) Expecting: Decimal('0.0750') ok Trying: ExtendedContext.scaleb(Decimal('7.50'), Decimal('0')) Expecting: Decimal('7.50') ok Trying: ExtendedContext.scaleb(Decimal('7.50'), Decimal('3')) Expecting: Decimal('7.50E+3') ok Trying: ExtendedContext.shift(Decimal('34'), Decimal('8')) Expecting: Decimal('400000000') ok Trying: ExtendedContext.shift(Decimal('12'), Decimal('9')) Expecting: Decimal('0') ok Trying: ExtendedContext.shift(Decimal('123456789'), Decimal('-2')) Expecting: Decimal('1234567') ok Trying: ExtendedContext.shift(Decimal('123456789'), Decimal('0')) Expecting: Decimal('123456789') ok Trying: ExtendedContext.shift(Decimal('123456789'), Decimal('+2')) Expecting: Decimal('345678900') ok Trying: ExtendedContext.sqrt(Decimal('0')) Expecting: Decimal('0') ok Trying: ExtendedContext.sqrt(Decimal('-0')) Expecting: Decimal('-0') ok Trying: ExtendedContext.sqrt(Decimal('0.39')) Expecting: Decimal('0.624499800') ok Trying: ExtendedContext.sqrt(Decimal('100')) Expecting: Decimal('10') ok Trying: ExtendedContext.sqrt(Decimal('1')) Expecting: Decimal('1') ok Trying: ExtendedContext.sqrt(Decimal('1.0')) Expecting: Decimal('1.0') ok Trying: ExtendedContext.sqrt(Decimal('1.00')) Expecting: Decimal('1.0') ok Trying: ExtendedContext.sqrt(Decimal('7')) Expecting: Decimal('2.64575131') ok Trying: ExtendedContext.sqrt(Decimal('10')) Expecting: Decimal('3.16227766') ok Trying: ExtendedContext.prec Expecting: 9 ok Trying: ExtendedContext.subtract(Decimal('1.3'), Decimal('1.07')) Expecting: Decimal('0.23') ok Trying: ExtendedContext.subtract(Decimal('1.3'), Decimal('1.30')) Expecting: Decimal('0.00') ok Trying: ExtendedContext.subtract(Decimal('1.3'), Decimal('2.07')) Expecting: Decimal('-0.77') ok Trying: ExtendedContext.to_integral_value(Decimal('2.1')) Expecting: Decimal('2') ok Trying: ExtendedContext.to_integral_value(Decimal('100')) Expecting: Decimal('100') ok Trying: ExtendedContext.to_integral_value(Decimal('100.0')) Expecting: Decimal('100') ok Trying: ExtendedContext.to_integral_value(Decimal('101.5')) Expecting: Decimal('102') ok Trying: ExtendedContext.to_integral_value(Decimal('-101.5')) Expecting: Decimal('-102') ok Trying: ExtendedContext.to_integral_value(Decimal('10E+5')) Expecting: Decimal('1.0E+6') ok Trying: ExtendedContext.to_integral_value(Decimal('7.89E+77')) Expecting: Decimal('7.89E+77') ok Trying: ExtendedContext.to_integral_value(Decimal('-Inf')) Expecting: Decimal('-Infinity') ok Trying: ExtendedContext.to_integral_exact(Decimal('2.1')) Expecting: Decimal('2') ok Trying: ExtendedContext.to_integral_exact(Decimal('100')) Expecting: Decimal('100') ok Trying: ExtendedContext.to_integral_exact(Decimal('100.0')) Expecting: Decimal('100') ok Trying: ExtendedContext.to_integral_exact(Decimal('101.5')) Expecting: Decimal('102') ok Trying: ExtendedContext.to_integral_exact(Decimal('-101.5')) Expecting: Decimal('-102') ok Trying: ExtendedContext.to_integral_exact(Decimal('10E+5')) Expecting: Decimal('1.0E+6') ok Trying: ExtendedContext.to_integral_exact(Decimal('7.89E+77')) Expecting: Decimal('7.89E+77') ok Trying: ExtendedContext.to_integral_exact(Decimal('-Inf')) Expecting: Decimal('-Infinity') ok Trying: Decimal('3.14') # string input Expecting: Decimal('3.14') ok Trying: Decimal((0, (3, 1, 4), -2)) # tuple (sign, digit_tuple, exponent) Expecting: Decimal('3.14') ok Trying: Decimal(314) # int or long Expecting: Decimal('314') ok Trying: Decimal(Decimal(314)) # another decimal instance Expecting: Decimal('314') ok Trying: Decimal(' 3.14 \n') # leading and trailing whitespace okay Expecting: Decimal('3.14') ok Trying: Decimal.from_float(0.1) Expecting: Decimal('0.1000000000000000055511151231257827021181583404541015625') ok Trying: Decimal.from_float(float('nan')) Expecting: Decimal('NaN') ok Trying: Decimal.from_float(float('inf')) Expecting: Decimal('Infinity') ok Trying: Decimal.from_float(-float('inf')) Expecting: Decimal('-Infinity') ok Trying: Decimal.from_float(-0.0) Expecting: Decimal('-0') ok Trying: setcontext(DefaultContext) Expecting nothing ok Trying: print getcontext().prec Expecting: 28 ok Trying: with localcontext(): ctx = getcontext() ctx.prec += 2 print ctx.prec Expecting: 30 ok Trying: with localcontext(ExtendedContext): print getcontext().prec Expecting: 9 ok Trying: print getcontext().prec Expecting: 28 ok 192 items had no tests: decimal.Clamped decimal.Context decimal.Context.Etiny decimal.Context.Etop decimal.Context.__init__ decimal.Context.__repr__ decimal.Context._apply decimal.Context._ignore_all_flags decimal.Context._ignore_flags decimal.Context._raise_error decimal.Context._regard_flags decimal.Context._set_rounding decimal.Context._shallow_copy decimal.Context.clear_flags decimal.Context.compare_total_mag decimal.Context.copy decimal.Context.create_decimal decimal.Context.divmod decimal.Context.max_mag decimal.Context.min_mag decimal.Context.to_eng_string decimal.Context.to_sci_string decimal.ConversionSyntax decimal.ConversionSyntax.handle decimal.Decimal decimal.Decimal.__abs__ decimal.Decimal.__complex__ decimal.Decimal.__copy__ decimal.Decimal.__deepcopy__ decimal.Decimal.__div__ decimal.Decimal.__divmod__ decimal.Decimal.__eq__ decimal.Decimal.__float__ decimal.Decimal.__floordiv__ decimal.Decimal.__format__ decimal.Decimal.__ge__ decimal.Decimal.__gt__ decimal.Decimal.__hash__ decimal.Decimal.__int__ decimal.Decimal.__le__ decimal.Decimal.__long__ decimal.Decimal.__lt__ decimal.Decimal.__mod__ decimal.Decimal.__ne__ decimal.Decimal.__neg__ decimal.Decimal.__nonzero__ decimal.Decimal.__pos__ decimal.Decimal.__pow__ decimal.Decimal.__radd__ decimal.Decimal.__rdivmod__ decimal.Decimal.__reduce__ decimal.Decimal.__repr__ decimal.Decimal.__rfloordiv__ decimal.Decimal.__rmod__ decimal.Decimal.__rmul__ decimal.Decimal.__rpow__ decimal.Decimal.__rsub__ decimal.Decimal.__rtruediv__ decimal.Decimal.__str__ decimal.Decimal.__sub__ decimal.Decimal._check_nans decimal.Decimal._cmp decimal.Decimal._compare_check_nans decimal.Decimal._divide decimal.Decimal._fill_logical decimal.Decimal._fix decimal.Decimal._fix_nan decimal.Decimal._iseven decimal.Decimal._isinfinity decimal.Decimal._isinteger decimal.Decimal._islogical decimal.Decimal._isnan decimal.Decimal._ln_exp_bound decimal.Decimal._log10_exp_bound decimal.Decimal._power_exact decimal.Decimal._power_modulo decimal.Decimal._rescale decimal.Decimal._round decimal.Decimal._round_05up decimal.Decimal._round_ceiling decimal.Decimal._round_down decimal.Decimal._round_floor decimal.Decimal._round_half_down decimal.Decimal._round_half_even decimal.Decimal._round_half_up decimal.Decimal._round_up decimal.Decimal.adjusted decimal.Decimal.as_tuple decimal.Decimal.canonical decimal.Decimal.compare decimal.Decimal.compare_signal decimal.Decimal.compare_total decimal.Decimal.compare_total_mag decimal.Decimal.conjugate decimal.Decimal.copy_abs decimal.Decimal.copy_negate decimal.Decimal.copy_sign decimal.Decimal.exp decimal.Decimal.fma decimal.Decimal.imag decimal.Decimal.is_canonical decimal.Decimal.is_finite decimal.Decimal.is_infinite decimal.Decimal.is_nan decimal.Decimal.is_normal decimal.Decimal.is_qnan decimal.Decimal.is_signed decimal.Decimal.is_snan decimal.Decimal.is_subnormal decimal.Decimal.is_zero decimal.Decimal.ln decimal.Decimal.log10 decimal.Decimal.logb decimal.Decimal.logical_and decimal.Decimal.logical_invert decimal.Decimal.logical_or decimal.Decimal.logical_xor decimal.Decimal.max decimal.Decimal.max_mag decimal.Decimal.min decimal.Decimal.min_mag decimal.Decimal.next_minus decimal.Decimal.next_plus decimal.Decimal.next_toward decimal.Decimal.normalize decimal.Decimal.number_class decimal.Decimal.quantize decimal.Decimal.radix decimal.Decimal.real decimal.Decimal.remainder_near decimal.Decimal.rotate decimal.Decimal.same_quantum decimal.Decimal.scaleb decimal.Decimal.shift decimal.Decimal.sqrt decimal.Decimal.to_eng_string decimal.Decimal.to_integral decimal.Decimal.to_integral_exact decimal.DecimalException decimal.DecimalException.handle decimal.DecimalTuple decimal.DecimalTuple.digits decimal.DecimalTuple.exponent decimal.DecimalTuple.sign decimal.DivisionByZero decimal.DivisionByZero.handle decimal.DivisionImpossible decimal.DivisionImpossible.handle decimal.DivisionUndefined decimal.DivisionUndefined.handle decimal.Inexact decimal.InvalidContext decimal.InvalidContext.handle decimal.InvalidOperation decimal.InvalidOperation.handle decimal.Overflow decimal.Overflow.handle decimal.Rounded decimal.Subnormal decimal.Underflow decimal._ContextManager decimal._ContextManager.__enter__ decimal._ContextManager.__exit__ decimal._ContextManager.__init__ decimal._Log10Memoize decimal._Log10Memoize.__init__ decimal._Log10Memoize.getdigits decimal._WorkRep decimal._WorkRep.__init__ decimal._WorkRep.__str__ decimal._convert_other decimal._dec_from_triple decimal._dexp decimal._div_nearest decimal._dlog decimal._dlog10 decimal._dpower decimal._format_align decimal._format_number decimal._format_sign decimal._group_lengths decimal._iexp decimal._ilog decimal._insert_thousands_sep decimal._log10_lb decimal._nbits decimal._normalize decimal._parse_format_specifier decimal._rshift_nearest decimal._sqrt_nearest decimal.getcontext decimal.setcontext 59 items passed all tests: 39 tests in decimal 4 tests in decimal.Context.abs 2 tests in decimal.Context.add 1 tests in decimal.Context.canonical 6 tests in decimal.Context.compare 11 tests in decimal.Context.compare_signal 6 tests in decimal.Context.compare_total 2 tests in decimal.Context.copy_abs 2 tests in decimal.Context.copy_decimal 2 tests in decimal.Context.copy_negate 4 tests in decimal.Context.copy_sign 4 tests in decimal.Context.create_decimal_from_float 10 tests in decimal.Context.divide 3 tests in decimal.Context.divide_int 9 tests in decimal.Context.exp 3 tests in decimal.Context.fma 1 tests in decimal.Context.is_canonical 5 tests in decimal.Context.is_finite 3 tests in decimal.Context.is_infinite 3 tests in decimal.Context.is_nan 8 tests in decimal.Context.is_normal 3 tests in decimal.Context.is_qnan 3 tests in decimal.Context.is_signed 3 tests in decimal.Context.is_snan 8 tests in decimal.Context.is_subnormal 3 tests in decimal.Context.is_zero 8 tests in decimal.Context.ln 10 tests in decimal.Context.log10 4 tests in decimal.Context.logb 6 tests in decimal.Context.logical_and 4 tests in decimal.Context.logical_invert 6 tests in decimal.Context.logical_or 6 tests in decimal.Context.logical_xor 4 tests in decimal.Context.max 4 tests in decimal.Context.min 2 tests in decimal.Context.minus 5 tests in decimal.Context.multiply 7 tests in decimal.Context.next_minus 7 tests in decimal.Context.next_plus 10 tests in decimal.Context.next_toward 6 tests in decimal.Context.normalize 16 tests in decimal.Context.number_class 2 tests in decimal.Context.plus 23 tests in decimal.Context.power 15 tests in decimal.Context.quantize 1 tests in decimal.Context.radix 6 tests in decimal.Context.remainder 7 tests in decimal.Context.remainder_near 5 tests in decimal.Context.rotate 4 tests in decimal.Context.same_quantum 3 tests in decimal.Context.scaleb 5 tests in decimal.Context.shift 10 tests in decimal.Context.sqrt 3 tests in decimal.Context.subtract 8 tests in decimal.Context.to_integral 8 tests in decimal.Context.to_integral_exact 5 tests in decimal.Decimal.__new__ 5 tests in decimal.Decimal.from_float 5 tests in decimal.localcontext 368 tests in 251 items. 368 passed and 0 failed. Test passed. doctest (decimal) ... 368 tests with zero failures test_decorators test_argforms (test.test_decorators.TestDecorators) ... ok test_dbcheck (test.test_decorators.TestDecorators) ... ok test_dotted (test.test_decorators.TestDecorators) ... ok test_double (test.test_decorators.TestDecorators) ... ok test_errors (test.test_decorators.TestDecorators) ... ok test_eval_order (test.test_decorators.TestDecorators) ... ok test_memoize (test.test_decorators.TestDecorators) ... ok test_order (test.test_decorators.TestDecorators) ... ok test_single (test.test_decorators.TestDecorators) ... ok test_staticmethod_function (test.test_decorators.TestDecorators) ... ok ---------------------------------------------------------------------- Ran 10 tests in 0.001s OK test_double (test.test_decorators.TestClassDecorators) ... ok test_order (test.test_decorators.TestClassDecorators) ... ok test_simple (test.test_decorators.TestClassDecorators) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_defaultdict test_basic (test.test_defaultdict.TestDefaultDict) ... ok test_copy (test.test_defaultdict.TestDefaultDict) ... ok test_deep_copy (test.test_defaultdict.TestDefaultDict) ... ok test_keyerror_without_factory (test.test_defaultdict.TestDefaultDict) ... ok test_missing (test.test_defaultdict.TestDefaultDict) ... ok test_print (test.test_defaultdict.TestDefaultDict) ... ok test_recursive_repr (test.test_defaultdict.TestDefaultDict) ... ok test_repr (test.test_defaultdict.TestDefaultDict) ... ok test_shallow_copy (test.test_defaultdict.TestDefaultDict) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.001s OK test_deque test_basics (test.test_deque.TestBasic) ... ok test_big_queue_popleft (test.test_deque.TestBasic) ... ok test_big_queue_popright (test.test_deque.TestBasic) ... ok test_big_stack_left (test.test_deque.TestBasic) ... ok test_big_stack_right (test.test_deque.TestBasic) ... ok test_clear (test.test_deque.TestBasic) ... ok test_comparisons (test.test_deque.TestBasic) ... ok test_container_iterator (test.test_deque.TestBasic) ... ok test_copy (test.test_deque.TestBasic) ... ok test_deepcopy (test.test_deque.TestBasic) ... ok test_delitem (test.test_deque.TestBasic) ... ok test_extend (test.test_deque.TestBasic) ... ok test_extendleft (test.test_deque.TestBasic) ... ok test_gc_doesnt_blowup (test.test_deque.TestBasic) ... ok test_getitem (test.test_deque.TestBasic) ... ok test_hash (test.test_deque.TestBasic) ... ok test_init (test.test_deque.TestBasic) ... ok test_len (test.test_deque.TestBasic) ... ok test_long_steadystate_queue_popleft (test.test_deque.TestBasic) ... ok test_long_steadystate_queue_popright (test.test_deque.TestBasic) ... ok test_maxlen (test.test_deque.TestBasic) ... ok test_maxlen_attribute (test.test_deque.TestBasic) ... ok test_maxlen_zero (test.test_deque.TestBasic) ... ok test_pickle (test.test_deque.TestBasic) ... ok test_print (test.test_deque.TestBasic) ... ok test_remove (test.test_deque.TestBasic) ... ok test_repr (test.test_deque.TestBasic) ... ok test_reversed (test.test_deque.TestBasic) ... ok test_rotate (test.test_deque.TestBasic) ... ok test_roundtrip_iter_init (test.test_deque.TestBasic) ... ok test_setitem (test.test_deque.TestBasic) ... ok test_underflow (test.test_deque.TestBasic) ... ok test_constructor (test.test_deque.TestVariousIteratorArgs) ... ok test_iter_with_altered_data (test.test_deque.TestVariousIteratorArgs) ... ok test_runtime_error_on_empty_deque (test.test_deque.TestVariousIteratorArgs) ... ok test_basics (test.test_deque.TestSubclass) ... ok test_copy_pickle (test.test_deque.TestSubclass) ... ok test_strange_subclass (test.test_deque.TestSubclass) ... ok test_weakref (test.test_deque.TestSubclass) ... ok test_subclass_with_kwargs (test.test_deque.TestSubclassWithKwargs) ... ok ---------------------------------------------------------------------- Ran 40 tests in 2.186s OK Trying: from collections import deque Expecting nothing ok Trying: d = deque('ghi') # make a new deque with three items Expecting nothing ok Trying: for elem in d: # iterate over the deque's elements print elem.upper() Expecting: G H I ok Trying: d.append('j') # add a new entry to the right side Expecting nothing ok Trying: d.appendleft('f') # add a new entry to the left side Expecting nothing ok Trying: d # show the representation of the deque Expecting: deque(['f', 'g', 'h', 'i', 'j']) ok Trying: d.pop() # return and remove the rightmost item Expecting: 'j' ok Trying: d.popleft() # return and remove the leftmost item Expecting: 'f' ok Trying: list(d) # list the contents of the deque Expecting: ['g', 'h', 'i'] ok Trying: d[0] # peek at leftmost item Expecting: 'g' ok Trying: d[-1] # peek at rightmost item Expecting: 'i' ok Trying: list(reversed(d)) # list the contents of a deque in reverse Expecting: ['i', 'h', 'g'] ok Trying: 'h' in d # search the deque Expecting: True ok Trying: d.extend('jkl') # add multiple elements at once Expecting nothing ok Trying: d Expecting: deque(['g', 'h', 'i', 'j', 'k', 'l']) ok Trying: d.rotate(1) # right rotation Expecting nothing ok Trying: d Expecting: deque(['l', 'g', 'h', 'i', 'j', 'k']) ok Trying: d.rotate(-1) # left rotation Expecting nothing ok Trying: d Expecting: deque(['g', 'h', 'i', 'j', 'k', 'l']) ok Trying: deque(reversed(d)) # make a new deque in reverse order Expecting: deque(['l', 'k', 'j', 'i', 'h', 'g']) ok Trying: d.clear() # empty the deque Expecting nothing ok Trying: d.pop() # cannot pop from an empty deque Expecting: Traceback (most recent call last): File "", line 1, in -toplevel- d.pop() IndexError: pop from an empty deque ok Trying: d.extendleft('abc') # extendleft() reverses the input order Expecting nothing ok Trying: d Expecting: deque(['c', 'b', 'a']) ok Trying: def delete_nth(d, n): d.rotate(-n) d.popleft() d.rotate(n) Expecting nothing ok Trying: d = deque('abcdef') Expecting nothing ok Trying: delete_nth(d, 2) # remove the entry at d[2] Expecting nothing ok Trying: d Expecting: deque(['a', 'b', 'd', 'e', 'f']) ok Trying: def roundrobin(*iterables): pending = deque(iter(i) for i in iterables) while pending: task = pending.popleft() try: yield task.next() except StopIteration: continue pending.append(task) Expecting nothing ok Trying: for value in roundrobin('abc', 'd', 'efgh'): print value Expecting: a d e b f c g h ok Trying: def maketree(iterable): d = deque(iterable) while len(d) > 1: pair = [d.popleft(), d.popleft()] d.append(pair) return list(d) Expecting nothing ok Trying: print maketree('abcdefgh') Expecting: [[[['a', 'b'], ['c', 'd']], [['e', 'f'], ['g', 'h']]]] ok 57 items had no tests: test.test_deque test.test_deque.BadCmp test.test_deque.BadCmp.__eq__ test.test_deque.Deque test.test_deque.DequeWithBadIter test.test_deque.DequeWithBadIter.__iter__ test.test_deque.MutateCmp test.test_deque.MutateCmp.__eq__ test.test_deque.MutateCmp.__init__ test.test_deque.SubclassWithKwargs test.test_deque.SubclassWithKwargs.__init__ test.test_deque.TestBasic test.test_deque.TestBasic.test_basics test.test_deque.TestBasic.test_big_queue_popleft test.test_deque.TestBasic.test_big_queue_popright test.test_deque.TestBasic.test_big_stack_left test.test_deque.TestBasic.test_big_stack_right test.test_deque.TestBasic.test_clear test.test_deque.TestBasic.test_comparisons test.test_deque.TestBasic.test_container_iterator test.test_deque.TestBasic.test_copy test.test_deque.TestBasic.test_deepcopy test.test_deque.TestBasic.test_delitem test.test_deque.TestBasic.test_extend test.test_deque.TestBasic.test_extendleft test.test_deque.TestBasic.test_gc_doesnt_blowup test.test_deque.TestBasic.test_getitem test.test_deque.TestBasic.test_hash test.test_deque.TestBasic.test_init test.test_deque.TestBasic.test_len test.test_deque.TestBasic.test_long_steadystate_queue_popleft test.test_deque.TestBasic.test_long_steadystate_queue_popright test.test_deque.TestBasic.test_maxlen test.test_deque.TestBasic.test_maxlen_attribute test.test_deque.TestBasic.test_maxlen_zero test.test_deque.TestBasic.test_pickle test.test_deque.TestBasic.test_print test.test_deque.TestBasic.test_remove test.test_deque.TestBasic.test_repr test.test_deque.TestBasic.test_reversed test.test_deque.TestBasic.test_rotate test.test_deque.TestBasic.test_roundtrip_iter_init test.test_deque.TestBasic.test_setitem test.test_deque.TestBasic.test_underflow test.test_deque.TestSubclass test.test_deque.TestSubclass.test_basics test.test_deque.TestSubclass.test_copy_pickle test.test_deque.TestSubclass.test_strange_subclass test.test_deque.TestSubclass.test_weakref test.test_deque.TestSubclassWithKwargs test.test_deque.TestSubclassWithKwargs.test_subclass_with_kwargs test.test_deque.TestVariousIteratorArgs test.test_deque.TestVariousIteratorArgs.test_constructor test.test_deque.TestVariousIteratorArgs.test_iter_with_altered_data test.test_deque.TestVariousIteratorArgs.test_runtime_error_on_empty_deque test.test_deque.fail test.test_deque.test_main 1 items passed all tests: 32 tests in test.test_deque.__test__.libreftest 32 tests in 58 items. 32 passed and 0 failed. Test passed. doctest (test.test_deque) ... 32 tests with zero failures test_descr test_pytype_long_ready (test.test_descr.PTypesLongInitTest) ... ok test_complexes (test.test_descr.OperatorsTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:91: DeprecationWarning: classic int division if meth == "__div__" and 1/2 == 0.5: ok test_dicts (test.test_descr.OperatorsTest) ... ok test_floats (test.test_descr.OperatorsTest) ... ok test_ints (test.test_descr.OperatorsTest) ... :1: DeprecationWarning: classic int division :1: DeprecationWarning: classic int division /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:104: DeprecationWarning: classic int division self.assertEqual(m(a, b), res) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:106: DeprecationWarning: classic int division self.assertEqual(bm(b), res) ok test_lists (test.test_descr.OperatorsTest) ... ok test_longs (test.test_descr.OperatorsTest) ... :1: DeprecationWarning: classic long division :1: DeprecationWarning: classic long division /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:104: DeprecationWarning: classic long division self.assertEqual(m(a, b), res) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:106: DeprecationWarning: classic long division self.assertEqual(bm(b), res) ok test_spam_dicts (test.test_descr.OperatorsTest) ... ok test_spam_lists (test.test_descr.OperatorsTest) ... ok test_altmro (test.test_descr.ClassPropertiesAndMethods) ... ok test_assign_slice (test.test_descr.ClassPropertiesAndMethods) ... /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:4476: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ c[1:2] = 3 ok test_basic_inheritance (test.test_descr.ClassPropertiesAndMethods) ... ok test_binary_operator_override (test.test_descr.ClassPropertiesAndMethods) ... ok test_buffer_inheritance (test.test_descr.ClassPropertiesAndMethods) ... ok test_builtin_bases (test.test_descr.ClassPropertiesAndMethods) ... ok test_carloverre (test.test_descr.ClassPropertiesAndMethods) ... ok test_classic (test.test_descr.ClassPropertiesAndMethods) ... ok test_classic_comparisons (test.test_descr.ClassPropertiesAndMethods) ... ok test_classmethods (test.test_descr.ClassPropertiesAndMethods) ... ok test_classmethods_in_c (test.test_descr.ClassPropertiesAndMethods) ... ok test_coercions (test.test_descr.ClassPropertiesAndMethods) ... /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2965: DeprecationWarning: coerce() not supported in 3.x coerce(I(0), 0) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2966: DeprecationWarning: coerce() not supported in 3.x coerce(0, I(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2968: DeprecationWarning: coerce() not supported in 3.x coerce(L(0), 0) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2969: DeprecationWarning: coerce() not supported in 3.x coerce(L(0), 0L) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2970: DeprecationWarning: coerce() not supported in 3.x coerce(0, L(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2971: DeprecationWarning: coerce() not supported in 3.x coerce(0L, L(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2973: DeprecationWarning: coerce() not supported in 3.x coerce(F(0), 0) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2974: DeprecationWarning: coerce() not supported in 3.x coerce(F(0), 0L) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2975: DeprecationWarning: coerce() not supported in 3.x coerce(F(0), 0.) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2976: DeprecationWarning: coerce() not supported in 3.x coerce(0, F(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2977: DeprecationWarning: coerce() not supported in 3.x coerce(0L, F(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2978: DeprecationWarning: coerce() not supported in 3.x coerce(0., F(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2980: DeprecationWarning: coerce() not supported in 3.x coerce(C(0), 0) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2981: DeprecationWarning: coerce() not supported in 3.x coerce(C(0), 0L) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2982: DeprecationWarning: coerce() not supported in 3.x coerce(C(0), 0.) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2983: DeprecationWarning: coerce() not supported in 3.x coerce(C(0), 0j) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2984: DeprecationWarning: coerce() not supported in 3.x coerce(0, C(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2985: DeprecationWarning: coerce() not supported in 3.x coerce(0L, C(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2986: DeprecationWarning: coerce() not supported in 3.x coerce(0., C(0)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2987: DeprecationWarning: coerce() not supported in 3.x coerce(0j, C(0)) ok test_compattr (test.test_descr.ClassPropertiesAndMethods) ... ok test_consistency_with_epg (test.test_descr.ClassPropertiesAndMethods) ... ok test_copy_setstate (test.test_descr.ClassPropertiesAndMethods) ... ok test_deepcopy_recursive (test.test_descr.ClassPropertiesAndMethods) ... ok test_delete_hook (test.test_descr.ClassPropertiesAndMethods) ... ok test_descrdoc (test.test_descr.ClassPropertiesAndMethods) ... ok test_diamond_inheritence (test.test_descr.ClassPropertiesAndMethods) ... ok test_dict_constructors (test.test_descr.ClassPropertiesAndMethods) ... ok test_dir (test.test_descr.ClassPropertiesAndMethods) ... ok test_doc_descriptor (test.test_descr.ClassPropertiesAndMethods) ... ok test_dynamics (test.test_descr.ClassPropertiesAndMethods) ... ok test_errors (test.test_descr.ClassPropertiesAndMethods) ... ok test_ex5_from_c3_switch (test.test_descr.ClassPropertiesAndMethods) ... ok test_file_fault (test.test_descr.ClassPropertiesAndMethods) ... ok test_funny_new (test.test_descr.ClassPropertiesAndMethods) ... ok test_getattr_hooks (test.test_descr.ClassPropertiesAndMethods) ... ok test_hash_inheritance (test.test_descr.ClassPropertiesAndMethods) ... ok test_imul_bug (test.test_descr.ClassPropertiesAndMethods) ... ok test_init (test.test_descr.ClassPropertiesAndMethods) ... ok test_ipow (test.test_descr.ClassPropertiesAndMethods) ... ok test_isinst_isclass (test.test_descr.ClassPropertiesAndMethods) ... ok test_keyword_arguments (test.test_descr.ClassPropertiesAndMethods) ... ok test_keywords (test.test_descr.ClassPropertiesAndMethods) ... ok test_metaclass (test.test_descr.ClassPropertiesAndMethods) ... ok test_meth_class_get (test.test_descr.ClassPropertiesAndMethods) ... ok test_method_wrapper (test.test_descr.ClassPropertiesAndMethods) ... ok test_methods (test.test_descr.ClassPropertiesAndMethods) ... ok test_module_subclasses (test.test_descr.ClassPropertiesAndMethods) ... ok test_monotonicity (test.test_descr.ClassPropertiesAndMethods) ... ok test_mro_disagreement (test.test_descr.ClassPropertiesAndMethods) ... ok test_multiple_inheritence (test.test_descr.ClassPropertiesAndMethods) ... ok test_mutable_bases (test.test_descr.ClassPropertiesAndMethods) ... ok test_mutable_bases_catch_mro_conflict (test.test_descr.ClassPropertiesAndMethods) ... ok test_mutable_bases_with_failing_mro (test.test_descr.ClassPropertiesAndMethods) ... ok test_mutable_names (test.test_descr.ClassPropertiesAndMethods) ... ok test_newslots (test.test_descr.ClassPropertiesAndMethods) ... ok test_not_implemented (test.test_descr.ClassPropertiesAndMethods) ... :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x :1: DeprecationWarning: coerce() not supported in 3.x ok test_object_class (test.test_descr.ClassPropertiesAndMethods) ... ok test_overloading (test.test_descr.ClassPropertiesAndMethods) ... /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:1638: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(a[0:10], ("getslice", 0, 10)) /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:1639: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[0:10] = "foo" /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:1641: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[0:10] ok test_pickle_slots (test.test_descr.ClassPropertiesAndMethods) ... ok test_pickles (test.test_descr.ClassPropertiesAndMethods) ... ok test_properties (test.test_descr.ClassPropertiesAndMethods) ... /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:2036: DeprecationWarning: classic int division __getitem__ = property(lambda s: 1/0) ok test_properties_plus (test.test_descr.ClassPropertiesAndMethods) ... ok test_proxy_super (test.test_descr.ClassPropertiesAndMethods) ... ok test_python_dicts (test.test_descr.ClassPropertiesAndMethods) ... ok test_python_lists (test.test_descr.ClassPropertiesAndMethods) ... /home/exarkun/Projects/python/trunk/Lib/test/test_descr.py:474: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(a[100:200], (100,200)) ok test_recursions_1 (test.test_descr.ClassPropertiesAndMethods) ... ok test_recursions_2 (test.test_descr.ClassPropertiesAndMethods) ... ok test_recursive_call (test.test_descr.ClassPropertiesAndMethods) ... ok test_rich_comparisons (test.test_descr.ClassPropertiesAndMethods) ... ok test_rmul (test.test_descr.ClassPropertiesAndMethods) ... ok test_set_class (test.test_descr.ClassPropertiesAndMethods) ... ok test_set_dict (test.test_descr.ClassPropertiesAndMethods) ... ok test_slices (test.test_descr.ClassPropertiesAndMethods) ... ok test_slots (test.test_descr.ClassPropertiesAndMethods) ... ok test_slots_descriptor (test.test_descr.ClassPropertiesAndMethods) ... ok test_slots_multiple_inheritance (test.test_descr.ClassPropertiesAndMethods) ... ok test_slots_special (test.test_descr.ClassPropertiesAndMethods) ... ok test_slots_trash (test.test_descr.ClassPropertiesAndMethods) ... ok test_special_method_lookup (test.test_descr.ClassPropertiesAndMethods) ... ok test_specials (test.test_descr.ClassPropertiesAndMethods) ... ok test_staticmethods (test.test_descr.ClassPropertiesAndMethods) ... ok test_staticmethods_in_c (test.test_descr.ClassPropertiesAndMethods) ... ok test_str_of_str_subclass (test.test_descr.ClassPropertiesAndMethods) ... ok test_str_operations (test.test_descr.ClassPropertiesAndMethods) ... ok test_str_subclass_as_dict_key (test.test_descr.ClassPropertiesAndMethods) ... ok test_subclass_propagation (test.test_descr.ClassPropertiesAndMethods) ... ok test_subclass_right_op (test.test_descr.ClassPropertiesAndMethods) ... ok test_subtype_resurrection (test.test_descr.ClassPropertiesAndMethods) ... ok test_supers (test.test_descr.ClassPropertiesAndMethods) ... ok test_unintialized_modules (test.test_descr.ClassPropertiesAndMethods) ... ok test_vicious_descriptor_nonsense (test.test_descr.ClassPropertiesAndMethods) ... ok test_weakref_segfault (test.test_descr.ClassPropertiesAndMethods) ... ok test_weakrefs (test.test_descr.ClassPropertiesAndMethods) ... ok test_wrapper_segfault (test.test_descr.ClassPropertiesAndMethods) ... ok test_dict_type_with_metaclass (test.test_descr.DictProxyTests) ... ok test_iter_items (test.test_descr.DictProxyTests) ... ok test_iter_keys (test.test_descr.DictProxyTests) ... ok test_iter_values (test.test_descr.DictProxyTests) ... ok ---------------------------------------------------------------------- Ran 100 tests in 1.633s OK test_descrtut /home/exarkun/Projects/python/trunk/Lib/test/test_descrtut.py:2: DeprecationWarning: comparing unequal types not supported in 3.x # tutorial, once at Trying: print defaultdict # show our type Expecting: ok Trying: print type(defaultdict) # its metatype Expecting: ok Trying: a = defaultdict(default=0.0) # create an instance Expecting nothing ok Trying: print a # show the instance Expecting: {} ok Trying: print type(a) # show its type Expecting: ok Trying: print a.__class__ # show its class Expecting: ok Trying: print type(a) is a.__class__ # its type is its class Expecting: True ok Trying: a[1] = 3.25 # modify the instance Expecting nothing ok Trying: print a # show the new value Expecting: {1: 3.25} ok Trying: print a[1] # show the new item Expecting: 3.25 ok Trying: print a[0] # a non-existent item Expecting: 0.0 ok Trying: a.merge({1:100, 2:200}) # use a dict method Expecting nothing ok Trying: print sortdict(a) # show the result Expecting: {1: 3.25, 2: 200} ok Trying: def sorted(seq): seq.sort() return seq Expecting nothing ok Trying: print sorted(a.keys()) Expecting: [1, 2] ok Trying: exec "x = 3; print x" in a Expecting: 3 ok Trying: print sorted(a.keys()) Expecting: [1, 2, '__builtins__', 'x'] ok Trying: print a['x'] Expecting: 3 ok Trying: a.default = -1 Expecting nothing ok Trying: print a["noway"] Expecting: -1 ok Trying: a.default = -1000 Expecting nothing ok Trying: print a["noway"] Expecting: -1000 ok Trying: 'default' in dir(a) Expecting: True ok Trying: a.x1 = 100 Expecting nothing ok Trying: a.x2 = 200 Expecting nothing ok Trying: print a.x1 Expecting: 100 ok Trying: d = dir(a) Expecting nothing ok Trying: 'default' in d and 'x1' in d and 'x2' in d Expecting: True ok Trying: print sortdict(a.__dict__) Expecting: {'default': -1000, 'x1': 100, 'x2': 200} ok Trying: a = defaultdict2(default=0.0) Expecting nothing ok Trying: a[1] Expecting: 0.0 ok Trying: a.default = -1 Expecting nothing ok Trying: a[1] Expecting: -1 ok Trying: a.x1 = 1 Expecting: Traceback (most recent call last): File "", line 1, in ? AttributeError: 'defaultdict2' object has no attribute 'x1' ok Trying: type([]) Expecting: ok Trying: [].__class__ Expecting: ok Trying: list Expecting: ok Trying: isinstance([], list) Expecting: True ok Trying: isinstance([], dict) Expecting: False ok Trying: isinstance([], object) Expecting: True ok Trying: [].__methods__ Expecting: Traceback (most recent call last): File "", line 1, in ? AttributeError: 'list' object has no attribute '__methods__' ok Trying: pprint.pprint(dir(list)) # like list.__dict__.keys(), but sorted Expecting: ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__delslice__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getslice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__setslice__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'] ok Trying: a = ['tic', 'tac'] Expecting nothing ok Trying: list.__len__(a) # same as len(a) Expecting: 2 ok Trying: a.__len__() # ditto Expecting: 2 ok Trying: list.append(a, 'toe') # same as a.append('toe') Expecting nothing ok Trying: a Expecting: ['tic', 'tac', 'toe'] ok Trying: class C: @staticmethod def foo(x, y): print "staticmethod", x, y Expecting nothing ok Trying: C.foo(1, 2) Expecting: staticmethod 1 2 ok Trying: c = C() Expecting nothing ok Trying: c.foo(1, 2) Expecting: staticmethod 1 2 ok Trying: class C: @classmethod def foo(cls, y): print "classmethod", cls, y Expecting nothing ok Trying: C.foo(1) Expecting: classmethod test.test_descrtut.C 1 ok Trying: c = C() Expecting nothing ok Trying: c.foo(1) Expecting: classmethod test.test_descrtut.C 1 ok Trying: class D(C): pass Expecting nothing ok Trying: D.foo(1) Expecting: classmethod test.test_descrtut.D 1 ok Trying: d = D() Expecting nothing ok Trying: d.foo(1) Expecting: classmethod test.test_descrtut.D 1 ok Trying: class E(C): @classmethod def foo(cls, y): # override C.foo print "E.foo() called" C.foo(y) Expecting nothing ok Trying: E.foo(1) Expecting: E.foo() called classmethod test.test_descrtut.C 1 ok Trying: e = E() Expecting nothing ok Trying: e.foo(1) Expecting: E.foo() called classmethod test.test_descrtut.C 1 ok Trying: class property(object): def __init__(self, get, set=None): self.__get = get self.__set = set def __get__(self, inst, type=None): return self.__get(inst) def __set__(self, inst, value): if self.__set is None: raise AttributeError, "this attribute is read-only" return self.__set(inst, value) Expecting nothing ok Trying: class C(object): def __init__(self): self.__x = 0 def getx(self): return self.__x def setx(self, x): if x < 0: x = 0 self.__x = x x = property(getx, setx) Expecting nothing ok Trying: a = C() Expecting nothing ok Trying: a.x = 10 Expecting nothing ok Trying: print a.x Expecting: 10 ok Trying: a.x = -10 Expecting nothing ok Trying: print a.x Expecting: 0 ok Trying: del property # unmask the builtin Expecting nothing ok Trying: property Expecting: ok Trying: class C(object): def __init__(self): self.__x = 0 def getx(self): return self.__x def setx(self, x): if x < 0: x = 0 self.__x = x x = property(getx, setx) Expecting nothing ok Trying: a = C() Expecting nothing ok Trying: a.x = 10 Expecting nothing ok Trying: print a.x Expecting: 10 ok Trying: a.x = -10 Expecting nothing ok Trying: print a.x Expecting: 0 ok Trying: class A: # classic class def save(self): print "called A.save()" Expecting nothing ok Trying: class B(A): pass Expecting nothing ok Trying: class C(A): def save(self): print "called C.save()" Expecting nothing ok Trying: class D(B, C): pass Expecting nothing ok Trying: D().save() Expecting: called A.save() ok Trying: class A(object): # new class def save(self): print "called A.save()" Expecting nothing ok Trying: class B(A): pass Expecting nothing ok Trying: class C(A): def save(self): print "called C.save()" Expecting nothing ok Trying: class D(B, C): pass Expecting nothing ok Trying: D().save() Expecting: called C.save() ok Trying: print D().m() # "DCBA" Expecting: DCBA ok Trying: class A: def foo(self): print "called A.foo()" Expecting nothing ok Trying: class B(A): pass Expecting nothing ok Trying: class C(A): def foo(self): B.foo(self) Expecting nothing ok Trying: C().foo() Expecting: Traceback (most recent call last): ... TypeError: unbound method foo() must be called with B instance as first argument (got C instance instead) ok Trying: class C(A): def foo(self): A.foo(self) Expecting nothing ok Trying: C().foo() Expecting: called A.foo() ok 20 items had no tests: test.test_descrtut test.test_descrtut.A test.test_descrtut.A.m test.test_descrtut.B test.test_descrtut.B.m test.test_descrtut.C test.test_descrtut.C.m test.test_descrtut.D test.test_descrtut.D.m test.test_descrtut.defaultdict test.test_descrtut.defaultdict.__getitem__ test.test_descrtut.defaultdict.__init__ test.test_descrtut.defaultdict.get test.test_descrtut.defaultdict.merge test.test_descrtut.defaultdict2 test.test_descrtut.defaultdict2.__getitem__ test.test_descrtut.defaultdict2.__init__ test.test_descrtut.defaultdict2.get test.test_descrtut.defaultdict2.merge test.test_descrtut.test_main 8 items passed all tests: 29 tests in test.test_descrtut.__test__.tut1 5 tests in test.test_descrtut.__test__.tut2 13 tests in test.test_descrtut.__test__.tut3 16 tests in test.test_descrtut.__test__.tut4 15 tests in test.test_descrtut.__test__.tut5 10 tests in test.test_descrtut.__test__.tut6 1 tests in test.test_descrtut.__test__.tut7 6 tests in test.test_descrtut.__test__.tut8 95 tests in 28 items. 95 passed and 0 failed. Test passed. doctest (test.test_descrtut) ... 95 tests with zero failures test_difflib test_html_diff (test.test_difflib.TestSFpatches) ... ok test_recursion_limit (test.test_difflib.TestSFpatches) ... ok test_comparing_empty_lists (test.test_difflib.TestSFbugs) ... ok test_ratio_for_null_seqn (test.test_difflib.TestSFbugs) ... ok Doctest: difflib.Differ ... ok Doctest: difflib.Differ._fancy_replace ... ok Doctest: difflib.Differ._qformat ... ok Doctest: difflib.Differ.compare ... ok Doctest: difflib.IS_CHARACTER_JUNK ... ok Doctest: difflib.IS_LINE_JUNK ... ok Doctest: difflib.SequenceMatcher ... ok Doctest: difflib.SequenceMatcher.find_longest_match ... ok Doctest: difflib.SequenceMatcher.get_grouped_opcodes ... ok Doctest: difflib.SequenceMatcher.get_matching_blocks ... ok Doctest: difflib.SequenceMatcher.get_opcodes ... ok Doctest: difflib.SequenceMatcher.ratio ... ok Doctest: difflib.SequenceMatcher.set_seq1 ... ok Doctest: difflib.SequenceMatcher.set_seq2 ... ok Doctest: difflib.SequenceMatcher.set_seqs ... ok Doctest: difflib._count_leading ... ok Doctest: difflib.context_diff ... ok Doctest: difflib.get_close_matches ... ok Doctest: difflib.ndiff ... ok Doctest: difflib.restore ... ok Doctest: difflib.unified_diff ... ok ---------------------------------------------------------------------- Ran 25 tests in 1.074s OK test_dircache test_annotate (test.test_dircache.DircacheTests) ... ok test_listdir (test.test_dircache.DircacheTests) ... ok ---------------------------------------------------------------------- Ran 2 tests in 1.001s OK test_dis test_big_linenos (test.test_dis.DisTests) ... ok test_boundaries (test.test_dis.DisTests) ... ok test_bug_1333982 (test.test_dis.DisTests) ... ok test_bug_708901 (test.test_dis.DisTests) ... ok test_dis (test.test_dis.DisTests) ... ok test_opmap (test.test_dis.DisTests) ... ok test_opname (test.test_dis.DisTests) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.356s OK test_distutils test_debug_mode (distutils.tests.test_install.InstallTestCase) ... ok test_finalize_options (distutils.tests.test_install.InstallTestCase) ... ok test_handle_extra_path (distutils.tests.test_install.InstallTestCase) ... ok test_home_installation_scheme (distutils.tests.test_install.InstallTestCase) ... ok test_record (distutils.tests.test_install.InstallTestCase) ... ok test_user_site (distutils.tests.test_install.InstallTestCase) ... ok test_default_settings (distutils.tests.test_install_scripts.InstallScriptsTestCase) ... ok test_installation (distutils.tests.test_install_scripts.InstallScriptsTestCase) ... ok test_announce (distutils.tests.test_dist.DistributionTestCase) ... ok test_command_packages_cmdline (distutils.tests.test_dist.DistributionTestCase) ... ok test_command_packages_configfile (distutils.tests.test_dist.DistributionTestCase) ... ok test_command_packages_unspecified (distutils.tests.test_dist.DistributionTestCase) ... ok test_debug_mode (distutils.tests.test_dist.DistributionTestCase) ... ok test_empty_options (distutils.tests.test_dist.DistributionTestCase) ... ok test_finalize_options (distutils.tests.test_dist.DistributionTestCase) ... ok test_get_command_packages (distutils.tests.test_dist.DistributionTestCase) ... ok test_write_pkg_file (distutils.tests.test_dist.DistributionTestCase) ... ok test_custom_pydistutils (distutils.tests.test_dist.MetadataTestCase) ... ok test_fix_help_options (distutils.tests.test_dist.MetadataTestCase) ... ok test_obsoletes (distutils.tests.test_dist.MetadataTestCase) ... ok test_obsoletes_illegal (distutils.tests.test_dist.MetadataTestCase) ... ok test_provides (distutils.tests.test_dist.MetadataTestCase) ... ok test_provides_illegal (distutils.tests.test_dist.MetadataTestCase) ... ok test_requires (distutils.tests.test_dist.MetadataTestCase) ... ok test_requires_illegal (distutils.tests.test_dist.MetadataTestCase) ... ok test_show_help (distutils.tests.test_dist.MetadataTestCase) ... ok test_simple_metadata (distutils.tests.test_dist.MetadataTestCase) ... ok test_debug_mode (distutils.tests.test_core.CoreTestCase) ... ok test_run_setup_provides_file (distutils.tests.test_core.CoreTestCase) ... ok test_run_setup_uses_current_dir (distutils.tests.test_core.CoreTestCase) ... ok test_build (distutils.tests.test_build_scripts.BuildScriptsTestCase) ... ok test_default_settings (distutils.tests.test_build_scripts.BuildScriptsTestCase) ... ok test_version_int (distutils.tests.test_build_scripts.BuildScriptsTestCase) ... ok Doctest: distutils.versionpredicate.VersionPredicate ... ok Doctest: distutils.versionpredicate.split_provision ... ok test_empty_package_dir (distutils.tests.test_build_py.BuildPyTestCase) ... ok test_package_data (distutils.tests.test_build_py.BuildPyTestCase) ... ok test_customize_compiler (distutils.tests.test_sysconfig.SysconfigTestCase) ... ok test_get_config_h_filename (distutils.tests.test_sysconfig.SysconfigTestCase) ... ok test_get_config_vars (distutils.tests.test_sysconfig.SysconfigTestCase) ... ok test_get_python_inc (distutils.tests.test_sysconfig.SysconfigTestCase) ... ok test_get_python_lib (distutils.tests.test_sysconfig.SysconfigTestCase) ... ok test_parse_makefile_base (distutils.tests.test_sysconfig.SysconfigTestCase) ... ok test_parse_makefile_literal_dollar (distutils.tests.test_sysconfig.SysconfigTestCase) ... ok test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_check_extensions_list (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_compiler_deprecation_warning (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_compiler_option (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_ext_fullpath (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_finalize_options (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_get_source_files (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_optional_extension (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_solaris_enable_shared (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_user_site (distutils.tests.test_build_ext.BuildExtTestCase) ... ok test_finalize_options (distutils.tests.test_upload.uploadTestCase) ... ok test_saved_password (distutils.tests.test_upload.uploadTestCase) ... ok test_server_empty_registration (distutils.tests.test_upload.uploadTestCase) ... ok test_server_registration (distutils.tests.test_upload.uploadTestCase) ... ok test_upload (distutils.tests.test_upload.uploadTestCase) ... ok test_server_empty_registration (distutils.tests.test_config.PyPIRCCommandTestCase) ... ok test_server_registration (distutils.tests.test_config.PyPIRCCommandTestCase) ... ok test_no_compiler (distutils.tests.test_msvc9compiler.msvc9compilerTestCase) ... ok test_reg_class (distutils.tests.test_msvc9compiler.msvc9compilerTestCase) ... ok test_check_metadata_deprecated (distutils.tests.test_register.RegisterTestCase) ... ok test_create_pypirc (distutils.tests.test_register.RegisterTestCase) ... ok test_password_not_in_file (distutils.tests.test_register.RegisterTestCase) ... ok test_password_reset (distutils.tests.test_register.RegisterTestCase) ... ok test_registering (distutils.tests.test_register.RegisterTestCase) ... ok test_server_empty_registration (distutils.tests.test_register.RegisterTestCase) ... ok test_server_registration (distutils.tests.test_register.RegisterTestCase) ... ok test_strict (distutils.tests.test_register.RegisterTestCase) ... ok test_debug_print (distutils.tests.test_cmd.CommandTestCase) ... ok test_dump_options (distutils.tests.test_cmd.CommandTestCase) ... ok test_ensure_dirname (distutils.tests.test_cmd.CommandTestCase) ... ok test_ensure_filename (distutils.tests.test_cmd.CommandTestCase) ... ok test_ensure_string (distutils.tests.test_cmd.CommandTestCase) ... ok test_ensure_string_list (distutils.tests.test_cmd.CommandTestCase) ... ok test_make_file (distutils.tests.test_cmd.CommandTestCase) ... ok test_copy_tree_verbosity (distutils.tests.test_dir_util.DirUtilTestCase) ... ok test_create_tree_verbosity (distutils.tests.test_dir_util.DirUtilTestCase) ... ok test_ensure_relative (distutils.tests.test_dir_util.DirUtilTestCase) ... ok test_mkpath_remove_tree_verbosity (distutils.tests.test_dir_util.DirUtilTestCase) ... ok test_finalize_options (distutils.tests.test_bdist_dumb.BuildDumbTestCase) ... ok test_simple_built (distutils.tests.test_bdist_dumb.BuildDumbTestCase) ... ok test_copy_file (distutils.tests.test_file_util.FileUtilTestCase) ... ok test_move_file_verbosity (distutils.tests.test_file_util.FileUtilTestCase) ... ok test_write_file (distutils.tests.test_file_util.FileUtilTestCase) ... ok test_change_root (distutils.tests.test_util.UtilTestCase) ... ok test_check_environ (distutils.tests.test_util.UtilTestCase) ... ok test_convert_path (distutils.tests.test_util.UtilTestCase) ... ok test_find_exe_version (distutils.tests.test_util.UtilTestCase) ... ok test_get_compiler_versions (distutils.tests.test_util.UtilTestCase) ... ok test_get_platform (distutils.tests.test_util.UtilTestCase) ... ok test_rfc822_escape (distutils.tests.test_util.UtilTestCase) ... ok test_split_quoted (distutils.tests.test_util.UtilTestCase) ... ok test_strtobool (distutils.tests.test_util.UtilTestCase) ... ok test_no_optimize_flag (distutils.tests.test_bdist_rpm.BuildRpmTestCase) ... Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29699 + umask 022 + cd /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/BUILD + cd /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/BUILD + rm -rf foo-0.1 + /bin/gzip -dc /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/SOURCES/foo-0.1.tar.gz + tar -xvvf - drwxr-xr-x exarkun/exarkun 0 2009-10-09 10:10 foo-0.1/ -rw-r--r-- exarkun/exarkun 0 2009-10-09 10:10 foo-0.1/README -rw-r--r-- exarkun/exarkun 1 2009-10-09 10:10 foo-0.1/foo.py -rw-r--r-- exarkun/exarkun 150 2009-10-09 10:10 foo-0.1/setup.py -rw-r--r-- exarkun/exarkun 163 2009-10-09 10:10 foo-0.1/PKG-INFO + STATUS=0 + [ 0 -ne 0 ] + cd foo-0.1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.29699 + umask 022 + cd /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/BUILD + cd foo-0.1 + /home/exarkun/Projects/python/trunk/python setup.py build running build running build_py creating build creating build/lib copying foo.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.29699 + umask 022 + cd /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/BUILD + cd foo-0.1 + /home/exarkun/Projects/python/trunk/python setup.py install -O1 --root=/var/tmp/foo-0.1-1-buildroot --record=INSTALLED_FILES running install running build running build_py running install_lib creating /var/tmp/foo-0.1-1-buildroot creating /var/tmp/foo-0.1-1-buildroot/usr creating /var/tmp/foo-0.1-1-buildroot/usr/local creating /var/tmp/foo-0.1-1-buildroot/usr/local/lib creating /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7 creating /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages copying build/lib/foo.py -> /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages byte-compiling /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages/foo.py to foo.pyc writing byte-compilation script '/tmp/tmp8PpI6q.py' /home/exarkun/Projects/python/trunk/python -O /tmp/tmp8PpI6q.py removing /tmp/tmp8PpI6q.py running install_egg_info Writing /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages/foo-0.1-py2.7.egg-info writing list of installed files to 'INSTALLED_FILES' + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip + /usr/lib/rpm/brp-strip-static-archive + /usr/lib/rpm/brp-strip-comment-note Processing files: foo-0.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/foo-0.1-1-buildroot Wrote: /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/SRPMS/foo-0.1-1.src.rpm Wrote: /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/RPMS/noarch/foo-0.1-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.29699 + umask 022 + cd /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/BUILD + cd foo-0.1 + rm -rf /var/tmp/foo-0.1-1-buildroot + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.29699 + umask 022 + cd /tmp/tmpigBSTV/foo/build/bdist.linux-i686/rpm/BUILD + rm -rf foo-0.1 + exit 0 ok test_quiet (distutils.tests.test_bdist_rpm.BuildRpmTestCase) ... Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29699 + umask 022 + cd /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/BUILD + cd /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/BUILD + rm -rf foo-0.1 + /bin/gzip -dc /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/SOURCES/foo-0.1.tar.gz + tar -xvvf - drwxr-xr-x exarkun/exarkun 0 2009-10-09 10:10 foo-0.1/ -rw-r--r-- exarkun/exarkun 0 2009-10-09 10:10 foo-0.1/README -rw-r--r-- exarkun/exarkun 1 2009-10-09 10:10 foo-0.1/foo.py -rw-r--r-- exarkun/exarkun 150 2009-10-09 10:10 foo-0.1/setup.py -rw-r--r-- exarkun/exarkun 163 2009-10-09 10:10 foo-0.1/PKG-INFO + STATUS=0 + [ 0 -ne 0 ] + cd foo-0.1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.29699 + umask 022 + cd /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/BUILD + cd foo-0.1 + /home/exarkun/Projects/python/trunk/python setup.py build running build running build_py creating build creating build/lib copying foo.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.87367 + umask 022 + cd /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/BUILD + cd foo-0.1 + /home/exarkun/Projects/python/trunk/python setup.py install -O1 --root=/var/tmp/foo-0.1-1-buildroot --record=INSTALLED_FILES running install running build running build_py running install_lib creating /var/tmp/foo-0.1-1-buildroot creating /var/tmp/foo-0.1-1-buildroot/usr creating /var/tmp/foo-0.1-1-buildroot/usr/local creating /var/tmp/foo-0.1-1-buildroot/usr/local/lib creating /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7 creating /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages copying build/lib/foo.py -> /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages byte-compiling /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages/foo.py to foo.pyc writing byte-compilation script '/tmp/tmpDl6247.py' /home/exarkun/Projects/python/trunk/python -O /tmp/tmpDl6247.py removing /tmp/tmpDl6247.py running install_egg_info Writing /var/tmp/foo-0.1-1-buildroot/usr/local/lib/python2.7/site-packages/foo-0.1-py2.7.egg-info writing list of installed files to 'INSTALLED_FILES' + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip + /usr/lib/rpm/brp-strip-static-archive + /usr/lib/rpm/brp-strip-comment-note Processing files: foo-0.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/foo-0.1-1-buildroot Wrote: /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/SRPMS/foo-0.1-1.src.rpm Wrote: /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/RPMS/noarch/foo-0.1-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.87367 + umask 022 + cd /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/BUILD + cd foo-0.1 + rm -rf /var/tmp/foo-0.1-1-buildroot + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.87367 + umask 022 + cd /tmp/tmpg1emoZ/foo/build/bdist.linux-i686/rpm/BUILD + rm -rf foo-0.1 + exit 0 ok test_class (distutils.tests.test_text_file.TextFileTestCase) ... ok test_cmp (distutils.tests.test_version.VersionTestCase) ... ok test_cmp_strict (distutils.tests.test_version.VersionTestCase) ... ok test_prerelease (distutils.tests.test_version.VersionTestCase) ... ok test_add_defaults (distutils.tests.test_sdist.SDistTestCase) ... ok test_check_metadata_deprecated (distutils.tests.test_sdist.SDistTestCase) ... ok test_finalize_options (distutils.tests.test_sdist.SDistTestCase) ... ok test_make_distribution (distutils.tests.test_sdist.SDistTestCase) ... ok test_make_distribution_owner_group (distutils.tests.test_sdist.SDistTestCase) ... ok test_metadata_check_option (distutils.tests.test_sdist.SDistTestCase) ... ok test_prune_file_list (distutils.tests.test_sdist.SDistTestCase) ... ok test_server_empty_registration (distutils.tests.test_sdist.SDistTestCase) ... ok test_server_registration (distutils.tests.test_sdist.SDistTestCase) ... ok test_show_formats (distutils.tests.test_sdist.SDistTestCase) ... ok test_byte_compile (distutils.tests.test_install_lib.InstallLibTestCase) ... ok test_finalize_options (distutils.tests.test_install_lib.InstallLibTestCase) ... ok test_get_inputs (distutils.tests.test_install_lib.InstallLibTestCase) ... ok test_get_outputs (distutils.tests.test_install_lib.InstallLibTestCase) ... ok test_check_config_h (distutils.tests.test_cygwinccompiler.CygwinCCompilerTestCase) ... ok test_get_msvcr (distutils.tests.test_cygwinccompiler.CygwinCCompilerTestCase) ... ok test_get_version_deprecated (distutils.tests.test_cygwinccompiler.CygwinCCompilerTestCase) ... ok test_simple_run (distutils.tests.test_install_data.InstallDataTestCase) ... ok test_simple_run (distutils.tests.test_install_headers.InstallHeadersTestCase) ... ok test_formats (distutils.tests.test_bdist.BuildTestCase) ... ok test_check_archive_formats (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... ok test_compress_deprecated (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... skipped 'The compress program is required' test_make_archive (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... ok test_make_archive_owner_group (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... ok test_make_tarball (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... ok test_make_zipfile (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... ok test_tarfile_root_owner (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... ok test_tarfile_vs_tar (distutils.tests.test_archive_util.ArchiveUtilTestCase) ... ok test_get_exe_bytes (distutils.tests.test_bdist_wininst.BuildWinInstTestCase) ... ok test_runtime_libdir_option (distutils.tests.test_unixccompiler.UnixCCompilerTestCase) ... ok test_simple_run (distutils.tests.test_clean.cleanTestCase) ... ok test_clean (distutils.tests.test_config_cmd.ConfigTestCase) ... ok test_dump_file (distutils.tests.test_config_cmd.ConfigTestCase) ... ok test_finalize_options (distutils.tests.test_config_cmd.ConfigTestCase) ... ok test_search_cpp (distutils.tests.test_config_cmd.ConfigTestCase) ... ok test_debug_print (distutils.tests.test_filelist.FileListTestCase) ... ok test_glob_to_re (distutils.tests.test_filelist.FileListTestCase) ... ok test_process_template_line (distutils.tests.test_filelist.FileListTestCase) ... ok test_extension_init (distutils.tests.test_extension.ExtensionTestCase) ... ok test_read_setup_file (distutils.tests.test_extension.ExtensionTestCase) ... ok test_check_all (distutils.tests.test_check.CheckTestCase) ... ok test_check_document (distutils.tests.test_check.CheckTestCase) ... ok test_check_metadata (distutils.tests.test_check.CheckTestCase) ... ok test_check_restructuredtext (distutils.tests.test_check.CheckTestCase) ... ok test_build_libraries (distutils.tests.test_build_clib.BuildCLibTestCase) ... ok test_check_library_dist (distutils.tests.test_build_clib.BuildCLibTestCase) ... ok test_finalize_options (distutils.tests.test_build_clib.BuildCLibTestCase) ... ok test_get_source_files (distutils.tests.test_build_clib.BuildCLibTestCase) ... ok test_run (distutils.tests.test_build_clib.BuildCLibTestCase) ... ok test_nt_quote_args (distutils.tests.test_spawn.SpawnTestCase) ... ok test_spawn (distutils.tests.test_spawn.SpawnTestCase) ... ok test_debug_print (distutils.tests.test_ccompiler.CCompilerTestCase) ... ok test_gen_lib_options (distutils.tests.test_ccompiler.CCompilerTestCase) ... ok test_finalize_options (distutils.tests.test_build.BuildTestCase) ... ok test_get_version_deprecated (distutils.tests.test_emxccompiler.EmxCCompilerTestCase) ... ok ---------------------------------------------------------------------- Ran 158 tests in 1.368s OK (skipped=1) Warning: os.environ was modified by test_distutils test_dl trying to open: /usr/lib/libc.so failed '/usr/lib/libc.so: invalid ELF header' trying to open: /lib/libc.so.6 succeeded... worked! test_docxmlrpc test_autolink_dotted_methods (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) Test that selfdot values are made strong automatically in the ... /home/exarkun/Projects/python/trunk/Lib/socket.py:299: DeprecationWarning: buffer() not supported in 3.x self._sock.sendall(buffer(data, write_offset, buffer_size)) ok test_autolinking (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) Test that the server correctly automatically wraps references to PEPS ... ok test_invalid_get_response (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) ... ok test_lambda (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) Test that lambda functionality stays the same. The output produced ... ok test_system_methods (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) Test the precense of three consecutive system.* methods. ... ok test_valid_get_response (test.test_docxmlrpc.DocXMLRPCHTTPGETServer) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.042s OK test_dumbdbm test_close_twice (test.test_dumbdbm.DumbDBMTestCase) ... ok test_dumbdbm_creation (test.test_dumbdbm.DumbDBMTestCase) ... ok test_dumbdbm_creation_mode (test.test_dumbdbm.DumbDBMTestCase) ... ok test_dumbdbm_keys (test.test_dumbdbm.DumbDBMTestCase) ... ok test_dumbdbm_modification (test.test_dumbdbm.DumbDBMTestCase) ... ok test_dumbdbm_read (test.test_dumbdbm.DumbDBMTestCase) ... ok test_line_endings (test.test_dumbdbm.DumbDBMTestCase) ... ok test_random (test.test_dumbdbm.DumbDBMTestCase) ... ok test_write_write_read (test.test_dumbdbm.DumbDBMTestCase) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.059s OK test_dummy_thread *** Using as _thread module *** test_cond_acquire_fail (test.test_dummy_thread.LockTests) ... ok test_cond_acquire_success (test.test_dummy_thread.LockTests) ... ok test_improper_release (test.test_dummy_thread.LockTests) ... ok test_initlock (test.test_dummy_thread.LockTests) ... ok test_release (test.test_dummy_thread.LockTests) ... ok test_uncond_acquire_blocking (test.test_dummy_thread.LockTests) ... *** Waiting for thread to release the lock (approx. 0 sec.) *** done ok test_uncond_acquire_return_val (test.test_dummy_thread.LockTests) ... ok test_uncond_acquire_success (test.test_dummy_thread.LockTests) ... ok test_LockType (test.test_dummy_thread.MiscTests) ... ok test_exit (test.test_dummy_thread.MiscTests) ... ok test_ident (test.test_dummy_thread.MiscTests) ... ok test_interrupt_in_main (test.test_dummy_thread.MiscTests) ... ok test_interrupt_main (test.test_dummy_thread.MiscTests) ... ok test_arg_passing (test.test_dummy_thread.ThreadTests) ... ok test_multi_creation (test.test_dummy_thread.ThreadTests) ... *** Testing multiple thread creation (will take approx. 0 to 5 sec.) *** done ok ---------------------------------------------------------------------- Ran 15 tests in 0.001s OK test_dummy_threading test_tasks (test.test_dummy_threading.DummyThreadingTestCase) ... task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running task will run for 0 sec 1 tasks are running task done is finished. 0 tasks are running waiting for all tasks to complete all tasks done ok ---------------------------------------------------------------------- Ran 1 test in 0.002s OK test_email test_decode (email.test.test_email.TestBase64) ... ok test_encode (email.test.test_email.TestBase64) ... ok test_header_encode (email.test.test_email.TestBase64) ... ok test_len (email.test.test_email.TestBase64) ... ok test_body_encode (email.test.test_email.TestCharset) ... ok test_idempotent (email.test.test_email.TestCharset) ... ok test_unicode_charset_name (email.test.test_email.TestCharset) ... ok test_default_cte (email.test.test_email.TestEncoders) ... ok test_encode_empty_payload (email.test.test_email.TestEncoders) ... ok test_dont_mangle_from (email.test.test_email.TestFromMangling) ... ok test_mangled_from (email.test.test_email.TestFromMangling) ... ok test_bad_8bit_header (email.test.test_email.TestHeader) ... ok test_broken_base64_header (email.test.test_email.TestHeader) ... ok test_encoded_adjacent_nonencoded (email.test.test_email.TestHeader) ... ok test_explicit_maxlinelen (email.test.test_email.TestHeader) ... ok test_header_ctor_default_args (email.test.test_email.TestHeader) ... ok test_header_needs_no_decoding (email.test.test_email.TestHeader) ... ok test_long (email.test.test_email.TestHeader) ... ok test_multilingual (email.test.test_email.TestHeader) ... ok test_simple (email.test.test_email.TestHeader) ... ok test_simple_surprise (email.test.test_email.TestHeader) ... ok test_string_charset (email.test.test_email.TestHeader) ... ok test_us_ascii_header (email.test.test_email.TestHeader) ... ok test_utf8_shortest (email.test.test_email.TestHeader) ... ok test_whitespace_eater (email.test.test_email.TestHeader) ... ok test_MIME_digest (email.test.test_email.TestIdempotent) ... ok test_MIME_digest_with_part_headers (email.test.test_email.TestIdempotent) ... ok test_content_type (email.test.test_email.TestIdempotent) ... ok test_dsn (email.test.test_email.TestIdempotent) ... ok test_long_header (email.test.test_email.TestIdempotent) ... ok test_message_external_body_idempotent (email.test.test_email.TestIdempotent) ... ok test_mixed_with_image (email.test.test_email.TestIdempotent) ... ok test_more_rfc2231_parameters (email.test.test_email.TestIdempotent) ... ok test_multipart_no_parts (email.test.test_email.TestIdempotent) ... ok test_multipart_one_part (email.test.test_email.TestIdempotent) ... ok test_multipart_report (email.test.test_email.TestIdempotent) ... ok test_nested_multipart_mixeds (email.test.test_email.TestIdempotent) ... ok test_no_start_boundary (email.test.test_email.TestIdempotent) ... ok test_parse_text_message (email.test.test_email.TestIdempotent) ... ok test_parse_untyped_message (email.test.test_email.TestIdempotent) ... ok test_parser (email.test.test_email.TestIdempotent) ... ok test_preamble_epilogue (email.test.test_email.TestIdempotent) ... ok test_rfc2231_charset (email.test.test_email.TestIdempotent) ... ok test_simple_multipart (email.test.test_email.TestIdempotent) ... ok test_text_plain_in_a_multipart_digest (email.test.test_email.TestIdempotent) ... ok test_body_line_iterator (email.test.test_email.TestIterators) ... ok test_typed_subpart_iterator (email.test.test_email.TestIterators) ... ok test_typed_subpart_iterator_default_type (email.test.test_email.TestIterators) ... ok test_another_long_almost_unsplittable_header (email.test.test_email.TestLongHeaders) ... ok test_another_long_multiline_header (email.test.test_email.TestLongHeaders) ... ok test_header_splitter (email.test.test_email.TestLongHeaders) ... ok test_long_8bit_header (email.test.test_email.TestLongHeaders) ... ok test_long_8bit_header_no_charset (email.test.test_email.TestLongHeaders) ... ok test_long_field_name (email.test.test_email.TestLongHeaders) ... ok test_long_header_encode (email.test.test_email.TestLongHeaders) ... ok test_long_header_encode_with_tab_continuation (email.test.test_email.TestLongHeaders) ... ok test_long_line_after_append (email.test.test_email.TestLongHeaders) ... ok test_long_lines_with_different_header (email.test.test_email.TestLongHeaders) ... ok test_long_nonstring (email.test.test_email.TestLongHeaders) ... ok test_long_received_header (email.test.test_email.TestLongHeaders) ... ok test_long_to_header (email.test.test_email.TestLongHeaders) ... ok test_long_unbreakable_lines_with_continuation (email.test.test_email.TestLongHeaders) ... ok test_no_semis_header_splitter (email.test.test_email.TestLongHeaders) ... ok test_no_split_long_header (email.test.test_email.TestLongHeaders) ... ok test_shorter_line_with_append (email.test.test_email.TestLongHeaders) ... ok test_split_long_continuation (email.test.test_email.TestLongHeaders) ... ok test_splitting_first_line_only_is_long (email.test.test_email.TestLongHeaders) ... ok test_splitting_multiple_long_lines (email.test.test_email.TestLongHeaders) ... ok test_string_headerinst_eq (email.test.test_email.TestLongHeaders) ... ok test_add_header (email.test.test_email.TestMIMEAudio) ... /home/exarkun/Projects/python/trunk/Lib/sndhdr.py:103: DeprecationWarning: classic int division return type, rate, nchannels, data_size/frame_size, sample_bits ok test_checkSetMinor (email.test.test_email.TestMIMEAudio) ... ok test_encoding (email.test.test_email.TestMIMEAudio) ... ok test_guess_minor_type (email.test.test_email.TestMIMEAudio) ... ok test_add_header (email.test.test_email.TestMIMEImage) ... ok test_checkSetMinor (email.test.test_email.TestMIMEImage) ... ok test_encoding (email.test.test_email.TestMIMEImage) ... ok test_guess_minor_type (email.test.test_email.TestMIMEImage) ... ok test_bad_multipart (email.test.test_email.TestMIMEMessage) ... ok test_default_multipart_constructor (email.test.test_email.TestMIMEMessage) ... ok test_default_type (email.test.test_email.TestMIMEMessage) ... ok test_default_type_non_parsed (email.test.test_email.TestMIMEMessage) ... ok test_default_type_with_explicit_container_type (email.test.test_email.TestMIMEMessage) ... ok test_dsn (email.test.test_email.TestMIMEMessage) ... ok test_epilogue (email.test.test_email.TestMIMEMessage) ... ok test_generate (email.test.test_email.TestMIMEMessage) ... ok test_mime_attachments_in_constructor (email.test.test_email.TestMIMEMessage) ... ok test_no_nl_preamble (email.test.test_email.TestMIMEMessage) ... ok test_parse_message_rfc822 (email.test.test_email.TestMIMEMessage) ... ok test_type_error (email.test.test_email.TestMIMEMessage) ... ok test_valid_argument (email.test.test_email.TestMIMEMessage) ... ok test_charset (email.test.test_email.TestMIMEText) ... ok test_payload (email.test.test_email.TestMIMEText) ... ok test_types (email.test.test_email.TestMIMEText) ... ok test__contains__ (email.test.test_email.TestMessageAPI) ... ok test_as_string (email.test.test_email.TestMessageAPI) ... ok test_bad_param (email.test.test_email.TestMessageAPI) ... ok test_bogus_filename (email.test.test_email.TestMessageAPI) ... ok test_broken_base64_payload (email.test.test_email.TestMessageAPI) ... ok test_decode_bogus_uu_payload_quietly (email.test.test_email.TestMessageAPI) ... ok test_decoded_generator (email.test.test_email.TestMessageAPI) ... ok test_del_param (email.test.test_email.TestMessageAPI) ... ok test_del_param_on_other_header (email.test.test_email.TestMessageAPI) ... ok test_get_all (email.test.test_email.TestMessageAPI) ... ok test_get_boundary (email.test.test_email.TestMessageAPI) ... ok test_get_charsets (email.test.test_email.TestMessageAPI) ... ok test_get_content_charset (email.test.test_email.TestMessageAPI) ... ok test_get_content_maintype_error (email.test.test_email.TestMessageAPI) ... ok test_get_content_maintype_from_message_explicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_maintype_from_message_implicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_maintype_from_message_text_plain_explicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_maintype_from_message_text_plain_implicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_maintype_missing (email.test.test_email.TestMessageAPI) ... ok test_get_content_maintype_missing_with_default_type (email.test.test_email.TestMessageAPI) ... ok test_get_content_subtype_error (email.test.test_email.TestMessageAPI) ... ok test_get_content_subtype_from_message_explicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_subtype_from_message_implicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_subtype_from_message_text_plain_explicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_subtype_from_message_text_plain_implicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_subtype_missing (email.test.test_email.TestMessageAPI) ... ok test_get_content_subtype_missing_with_default_type (email.test.test_email.TestMessageAPI) ... ok test_get_content_type_from_message_explicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_type_from_message_implicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_type_from_message_text_plain_explicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_type_from_message_text_plain_implicit (email.test.test_email.TestMessageAPI) ... ok test_get_content_type_missing (email.test.test_email.TestMessageAPI) ... ok test_get_content_type_missing_with_default_type (email.test.test_email.TestMessageAPI) ... ok test_get_decoded_payload (email.test.test_email.TestMessageAPI) ... ok test_get_decoded_uu_payload (email.test.test_email.TestMessageAPI) ... ok test_get_filename (email.test.test_email.TestMessageAPI) ... ok test_get_filename_with_name_parameter (email.test.test_email.TestMessageAPI) ... ok test_get_param (email.test.test_email.TestMessageAPI) ... ok test_get_param_funky_continuation_lines (email.test.test_email.TestMessageAPI) ... ok test_get_param_liberal (email.test.test_email.TestMessageAPI) ... ok test_get_param_with_semis_in_quotes (email.test.test_email.TestMessageAPI) ... ok test_get_params (email.test.test_email.TestMessageAPI) ... ok test_getset_charset (email.test.test_email.TestMessageAPI) ... ok test_has_key (email.test.test_email.TestMessageAPI) ... ok test_missing_boundary (email.test.test_email.TestMessageAPI) ... ok test_missing_filename (email.test.test_email.TestMessageAPI) ... ok test_replace_header (email.test.test_email.TestMessageAPI) ... ok test_set_boundary (email.test.test_email.TestMessageAPI) ... ok test_set_charset_from_string (email.test.test_email.TestMessageAPI) ... ok test_set_param (email.test.test_email.TestMessageAPI) ... ok test_set_payload_with_charset (email.test.test_email.TestMessageAPI) ... ok test_set_type (email.test.test_email.TestMessageAPI) ... ok test_set_type_on_other_header (email.test.test_email.TestMessageAPI) ... ok test__all__ (email.test.test_email.TestMiscellaneous) ... ok test_charset_richcomparisons (email.test.test_email.TestMiscellaneous) ... ok test_charsets_case_insensitive (email.test.test_email.TestMiscellaneous) ... ok test_escape_backslashes (email.test.test_email.TestMiscellaneous) ... ok test_escape_dump (email.test.test_email.TestMiscellaneous) ... ok test_fix_eols (email.test.test_email.TestMiscellaneous) ... ok test_formatdate (email.test.test_email.TestMiscellaneous) ... ok test_formatdate_localtime (email.test.test_email.TestMiscellaneous) ... ok test_formatdate_usegmt (email.test.test_email.TestMiscellaneous) ... ok test_get_body_encoding_with_bogus_charset (email.test.test_email.TestMiscellaneous) ... ok test_get_body_encoding_with_uppercase_charset (email.test.test_email.TestMiscellaneous) ... ok test_getaddresses (email.test.test_email.TestMiscellaneous) ... ok test_getaddresses_embedded_comment (email.test.test_email.TestMiscellaneous) Test proper handling of a nested comment ... ok test_getaddresses_nasty (email.test.test_email.TestMiscellaneous) ... ok test_message_from_file (email.test.test_email.TestMiscellaneous) ... ok test_message_from_file_with_class (email.test.test_email.TestMiscellaneous) ... ok test_message_from_string (email.test.test_email.TestMiscellaneous) ... ok test_message_from_string_with_class (email.test.test_email.TestMiscellaneous) ... ok test_multiline_from_comment (email.test.test_email.TestMiscellaneous) ... ok test_name_with_dot (email.test.test_email.TestMiscellaneous) ... ok test_noquote_dump (email.test.test_email.TestMiscellaneous) ... ok test_parseaddr_empty (email.test.test_email.TestMiscellaneous) ... ok test_parsedate_acceptable_to_time_functions (email.test.test_email.TestMiscellaneous) ... ok test_parsedate_compact (email.test.test_email.TestMiscellaneous) ... ok test_parsedate_compact_no_dayofweek (email.test.test_email.TestMiscellaneous) ... ok test_parsedate_no_dayofweek (email.test.test_email.TestMiscellaneous) ... ok test_parsedate_none (email.test.test_email.TestMiscellaneous) ... ok test_partial_falls_inside_message_delivery_status (email.test.test_email.TestMiscellaneous) ... ok test_quote_dump (email.test.test_email.TestMiscellaneous) ... ok test_utils_quote_unquote (email.test.test_email.TestMiscellaneous) ... ok test_boundary_in_non_multipart (email.test.test_email.TestMultipart) ... /home/exarkun/Projects/python/trunk/Lib/email/test/test_email.py:1058: DeprecationWarning: classic int division tzoffset = ' %s%04d' % (sign, tzsecs / 36) ok test_boundary_with_leading_space (email.test.test_email.TestMultipart) ... ok test_boundary_without_trailing_newline (email.test.test_email.TestMultipart) ... ok test_double_boundary (email.test.test_email.TestMultipart) ... ok test_empty_multipart_idempotent (email.test.test_email.TestMultipart) ... ok test_hierarchy (email.test.test_email.TestMultipart) ... ok test_message_external_body (email.test.test_email.TestMultipart) ... ok test_nested_inner_contains_outer_boundary (email.test.test_email.TestMultipart) ... ok test_nested_with_same_boundary (email.test.test_email.TestMultipart) ... ok test_no_parts_in_a_multipart_with_empty_epilogue (email.test.test_email.TestMultipart) ... ok test_no_parts_in_a_multipart_with_none_epilogue (email.test.test_email.TestMultipart) ... ok test_one_part_in_a_multipart (email.test.test_email.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_empty_epilogue (email.test.test_email.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_empty_preamble (email.test.test_email.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_nl_epilogue (email.test.test_email.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_none_epilogue (email.test.test_email.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_none_preamble (email.test.test_email.TestMultipart) ... ok test_first_line_is_continuation_header (email.test.test_email.TestNonConformant) ... ok test_invalid_content_type (email.test.test_email.TestNonConformant) ... ok test_lying_multipart (email.test.test_email.TestNonConformant) ... ok test_missing_start_boundary (email.test.test_email.TestNonConformant) ... ok test_multipart_no_boundary (email.test.test_email.TestNonConformant) ... ok test_no_separating_blank_line (email.test.test_email.TestNonConformant) ... ok test_no_start_boundary (email.test.test_email.TestNonConformant) ... ok test_parse_missing_minor_type (email.test.test_email.TestNonConformant) ... ok test_same_boundary_inner_outer (email.test.test_email.TestNonConformant) ... ok test_crlf_separation (email.test.test_email.TestParsers) ... ok test_header_parser (email.test.test_email.TestParsers) ... ok test_multipart_digest_with_extra_mime_headers (email.test.test_email.TestParsers) ... ok test_rfc2822_header_syntax (email.test.test_email.TestParsers) ... ok test_rfc2822_one_character_header (email.test.test_email.TestParsers) ... ok test_rfc2822_space_not_allowed_in_header (email.test.test_email.TestParsers) ... ok test_strip_line_feed_and_carriage_return_in_headers (email.test.test_email.TestParsers) ... ok test_three_lines (email.test.test_email.TestParsers) ... ok test_whitespace_continuation (email.test.test_email.TestParsers) ... ok test_whitespace_continuation_last_header (email.test.test_email.TestParsers) ... ok test_body_quopri_check (email.test.test_email.TestQuopri) ... ok test_body_quopri_len (email.test.test_email.TestQuopri) ... ok test_decode (email.test.test_email.TestQuopri) ... ok test_encode (email.test.test_email.TestQuopri) ... ok test_header_encode (email.test.test_email.TestQuopri) ... ok test_header_quopri_check (email.test.test_email.TestQuopri) ... ok test_header_quopri_len (email.test.test_email.TestQuopri) ... ok test_quote_unquote_idempotent (email.test.test_email.TestQuopri) ... ok test_rfc2047_multiline (email.test.test_email.TestRFC2047) ... ok test_rfc2047_with_whitespace (email.test.test_email.TestRFC2047) ... ok test_rfc2047_without_whitespace (email.test.test_email.TestRFC2047) ... ok test_whitespace_eater_unicode (email.test.test_email.TestRFC2047) ... ok test_whitespace_eater_unicode_2 (email.test.test_email.TestRFC2047) ... ok test_del_param (email.test.test_email.TestRFC2231) ... ok test_get_param (email.test.test_email.TestRFC2231) ... ok test_rfc2231_bad_character_in_charset (email.test.test_email.TestRFC2231) ... ok test_rfc2231_bad_character_in_filename (email.test.test_email.TestRFC2231) ... ok test_rfc2231_bad_encoding_in_charset (email.test.test_email.TestRFC2231) ... ok test_rfc2231_bad_encoding_in_filename (email.test.test_email.TestRFC2231) ... ok test_rfc2231_encoded_then_unencoded_segments (email.test.test_email.TestRFC2231) ... ok test_rfc2231_get_content_charset (email.test.test_email.TestRFC2231) ... ok test_rfc2231_no_extended_values (email.test.test_email.TestRFC2231) ... ok test_rfc2231_no_language_or_charset (email.test.test_email.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_boundary (email.test.test_email.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_charset (email.test.test_email.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_filename (email.test.test_email.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_filename_encoded (email.test.test_email.TestRFC2231) ... ok test_rfc2231_partly_encoded (email.test.test_email.TestRFC2231) ... ok test_rfc2231_partly_nonencoded (email.test.test_email.TestRFC2231) ... ok test_rfc2231_single_tick_in_filename (email.test.test_email.TestRFC2231) ... ok test_rfc2231_single_tick_in_filename_extended (email.test.test_email.TestRFC2231) ... ok test_rfc2231_tick_attack (email.test.test_email.TestRFC2231) ... ok test_rfc2231_tick_attack_extended (email.test.test_email.TestRFC2231) ... ok test_rfc2231_unencoded_then_encoded_segments (email.test.test_email.TestRFC2231) ... ok test_rfc2231_unknown_encoding (email.test.test_email.TestRFC2231) ... ok test_set_param (email.test.test_email.TestRFC2231) ... ok ---------------------------------------------------------------------- Ran 248 tests in 0.193s OK test_email_codecs test_japanese_codecs (email.test.test_email_codecs.TestEmailAsianCodecs) ... ok test_payload_encoding (email.test.test_email_codecs.TestEmailAsianCodecs) ... ok test_japanese_codecs (email.test.test_email_codecs_renamed.TestEmailAsianCodecs) ... ok test_payload_encoding (email.test.test_email_codecs_renamed.TestEmailAsianCodecs) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.002s OK test_email_renamed test_decode (email.test.test_email_renamed.TestBase64) ... ok test_encode (email.test.test_email_renamed.TestBase64) ... ok test_header_encode (email.test.test_email_renamed.TestBase64) ... ok test_len (email.test.test_email_renamed.TestBase64) ... ok test_body_encode (email.test.test_email_renamed.TestCharset) ... ok test_idempotent (email.test.test_email_renamed.TestCharset) ... ok test_unicode_charset_name (email.test.test_email_renamed.TestCharset) ... ok test_default_cte (email.test.test_email_renamed.TestEncoders) ... ok test_encode_empty_payload (email.test.test_email_renamed.TestEncoders) ... ok test_dont_mangle_from (email.test.test_email_renamed.TestFromMangling) ... ok test_mangled_from (email.test.test_email_renamed.TestFromMangling) ... ok test_bad_8bit_header (email.test.test_email_renamed.TestHeader) ... ok test_broken_base64_header (email.test.test_email_renamed.TestHeader) ... ok test_encoded_adjacent_nonencoded (email.test.test_email_renamed.TestHeader) ... ok test_explicit_maxlinelen (email.test.test_email_renamed.TestHeader) ... ok test_header_ctor_default_args (email.test.test_email_renamed.TestHeader) ... ok test_header_needs_no_decoding (email.test.test_email_renamed.TestHeader) ... ok test_long (email.test.test_email_renamed.TestHeader) ... ok test_multilingual (email.test.test_email_renamed.TestHeader) ... ok test_simple (email.test.test_email_renamed.TestHeader) ... ok test_simple_surprise (email.test.test_email_renamed.TestHeader) ... ok test_string_charset (email.test.test_email_renamed.TestHeader) ... ok test_us_ascii_header (email.test.test_email_renamed.TestHeader) ... ok test_utf8_shortest (email.test.test_email_renamed.TestHeader) ... ok test_whitespace_eater (email.test.test_email_renamed.TestHeader) ... ok test_MIME_digest (email.test.test_email_renamed.TestIdempotent) ... ok test_MIME_digest_with_part_headers (email.test.test_email_renamed.TestIdempotent) ... ok test_content_type (email.test.test_email_renamed.TestIdempotent) ... ok test_dsn (email.test.test_email_renamed.TestIdempotent) ... ok test_long_header (email.test.test_email_renamed.TestIdempotent) ... ok test_message_external_body_idempotent (email.test.test_email_renamed.TestIdempotent) ... ok test_mixed_with_image (email.test.test_email_renamed.TestIdempotent) ... ok test_more_rfc2231_parameters (email.test.test_email_renamed.TestIdempotent) ... ok test_multipart_no_parts (email.test.test_email_renamed.TestIdempotent) ... ok test_multipart_one_part (email.test.test_email_renamed.TestIdempotent) ... ok test_multipart_report (email.test.test_email_renamed.TestIdempotent) ... ok test_nested_multipart_mixeds (email.test.test_email_renamed.TestIdempotent) ... ok test_no_start_boundary (email.test.test_email_renamed.TestIdempotent) ... ok test_parse_text_message (email.test.test_email_renamed.TestIdempotent) ... ok test_parse_untyped_message (email.test.test_email_renamed.TestIdempotent) ... ok test_parser (email.test.test_email_renamed.TestIdempotent) ... ok test_preamble_epilogue (email.test.test_email_renamed.TestIdempotent) ... ok test_rfc2231_charset (email.test.test_email_renamed.TestIdempotent) ... ok test_simple_multipart (email.test.test_email_renamed.TestIdempotent) ... ok test_text_plain_in_a_multipart_digest (email.test.test_email_renamed.TestIdempotent) ... ok test_body_line_iterator (email.test.test_email_renamed.TestIterators) ... ok test_typed_subpart_iterator (email.test.test_email_renamed.TestIterators) ... ok test_typed_subpart_iterator_default_type (email.test.test_email_renamed.TestIterators) ... ok test_another_long_almost_unsplittable_header (email.test.test_email_renamed.TestLongHeaders) ... ok test_another_long_multiline_header (email.test.test_email_renamed.TestLongHeaders) ... ok test_header_splitter (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_8bit_header (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_8bit_header_no_charset (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_field_name (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_header_encode (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_header_encode_with_tab_continuation (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_line_after_append (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_lines_with_different_header (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_nonstring (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_received_header (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_to_header (email.test.test_email_renamed.TestLongHeaders) ... ok test_long_unbreakable_lines_with_continuation (email.test.test_email_renamed.TestLongHeaders) ... ok test_no_semis_header_splitter (email.test.test_email_renamed.TestLongHeaders) ... ok test_no_split_long_header (email.test.test_email_renamed.TestLongHeaders) ... ok test_shorter_line_with_append (email.test.test_email_renamed.TestLongHeaders) ... ok test_split_long_continuation (email.test.test_email_renamed.TestLongHeaders) ... ok test_splitting_first_line_only_is_long (email.test.test_email_renamed.TestLongHeaders) ... ok test_splitting_multiple_long_lines (email.test.test_email_renamed.TestLongHeaders) ... ok test_string_headerinst_eq (email.test.test_email_renamed.TestLongHeaders) ... ok test_body (email.test.test_email_renamed.TestMIMEApplication) ... ok test_headers (email.test.test_email_renamed.TestMIMEApplication) ... ok test_add_header (email.test.test_email_renamed.TestMIMEAudio) ... ok test_checkSetMinor (email.test.test_email_renamed.TestMIMEAudio) ... ok test_encoding (email.test.test_email_renamed.TestMIMEAudio) ... ok test_guess_minor_type (email.test.test_email_renamed.TestMIMEAudio) ... ok test_add_header (email.test.test_email_renamed.TestMIMEImage) ... ok test_checkSetMinor (email.test.test_email_renamed.TestMIMEImage) ... ok test_encoding (email.test.test_email_renamed.TestMIMEImage) ... ok test_guess_minor_type (email.test.test_email_renamed.TestMIMEImage) ... ok test_bad_multipart (email.test.test_email_renamed.TestMIMEMessage) ... ok test_default_type (email.test.test_email_renamed.TestMIMEMessage) ... ok test_default_type_non_parsed (email.test.test_email_renamed.TestMIMEMessage) ... ok test_default_type_with_explicit_container_type (email.test.test_email_renamed.TestMIMEMessage) ... ok test_dsn (email.test.test_email_renamed.TestMIMEMessage) ... ok test_epilogue (email.test.test_email_renamed.TestMIMEMessage) ... ok test_generate (email.test.test_email_renamed.TestMIMEMessage) ... ok test_mime_attachments_in_constructor (email.test.test_email_renamed.TestMIMEMessage) ... ok test_no_nl_preamble (email.test.test_email_renamed.TestMIMEMessage) ... ok test_parse_message_rfc822 (email.test.test_email_renamed.TestMIMEMessage) ... ok test_type_error (email.test.test_email_renamed.TestMIMEMessage) ... ok test_valid_argument (email.test.test_email_renamed.TestMIMEMessage) ... ok test_charset (email.test.test_email_renamed.TestMIMEText) ... ok test_payload (email.test.test_email_renamed.TestMIMEText) ... ok test_types (email.test.test_email_renamed.TestMIMEText) ... ok test__contains__ (email.test.test_email_renamed.TestMessageAPI) ... ok test_as_string (email.test.test_email_renamed.TestMessageAPI) ... ok test_bad_param (email.test.test_email_renamed.TestMessageAPI) ... ok test_bogus_filename (email.test.test_email_renamed.TestMessageAPI) ... ok test_broken_base64_payload (email.test.test_email_renamed.TestMessageAPI) ... ok test_decoded_generator (email.test.test_email_renamed.TestMessageAPI) ... ok test_del_param (email.test.test_email_renamed.TestMessageAPI) ... ok test_del_param_on_other_header (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_all (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_boundary (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_charsets (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_maintype_error (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_maintype_from_message_explicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_maintype_from_message_implicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_maintype_from_message_text_plain_explicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_maintype_from_message_text_plain_implicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_maintype_missing (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_maintype_missing_with_default_type (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_subtype_error (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_subtype_from_message_explicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_subtype_from_message_implicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_subtype_from_message_text_plain_explicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_subtype_from_message_text_plain_implicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_subtype_missing (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_subtype_missing_with_default_type (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_type_from_message_explicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_type_from_message_implicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_type_from_message_text_plain_explicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_type_from_message_text_plain_implicit (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_type_missing (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_content_type_missing_with_default_type (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_decoded_payload (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_decoded_uu_payload (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_filename (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_filename_with_name_parameter (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_param (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_param_funky_continuation_lines (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_param_liberal (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_param_with_semis_in_quotes (email.test.test_email_renamed.TestMessageAPI) ... ok test_get_params (email.test.test_email_renamed.TestMessageAPI) ... ok test_getset_charset (email.test.test_email_renamed.TestMessageAPI) ... ok test_has_key (email.test.test_email_renamed.TestMessageAPI) ... ok test_missing_boundary (email.test.test_email_renamed.TestMessageAPI) ... ok test_missing_filename (email.test.test_email_renamed.TestMessageAPI) ... ok test_replace_header (email.test.test_email_renamed.TestMessageAPI) ... ok test_set_boundary (email.test.test_email_renamed.TestMessageAPI) ... ok test_set_charset_from_string (email.test.test_email_renamed.TestMessageAPI) ... ok test_set_param (email.test.test_email_renamed.TestMessageAPI) ... ok test_set_payload_with_charset (email.test.test_email_renamed.TestMessageAPI) ... ok test_set_type (email.test.test_email_renamed.TestMessageAPI) ... ok test_set_type_on_other_header (email.test.test_email_renamed.TestMessageAPI) ... ok test__all__ (email.test.test_email_renamed.TestMiscellaneous) ... ok test_charset_richcomparisons (email.test.test_email_renamed.TestMiscellaneous) ... ok test_charsets_case_insensitive (email.test.test_email_renamed.TestMiscellaneous) ... ok test_escape_backslashes (email.test.test_email_renamed.TestMiscellaneous) ... ok test_escape_dump (email.test.test_email_renamed.TestMiscellaneous) ... ok test_fix_eols (email.test.test_email_renamed.TestMiscellaneous) ... ok test_formatdate (email.test.test_email_renamed.TestMiscellaneous) ... ok test_formatdate_localtime (email.test.test_email_renamed.TestMiscellaneous) ... ok test_formatdate_usegmt (email.test.test_email_renamed.TestMiscellaneous) ... ok test_get_body_encoding_with_bogus_charset (email.test.test_email_renamed.TestMiscellaneous) ... ok test_get_body_encoding_with_uppercase_charset (email.test.test_email_renamed.TestMiscellaneous) ... ok test_getaddresses (email.test.test_email_renamed.TestMiscellaneous) ... ok test_getaddresses_embedded_comment (email.test.test_email_renamed.TestMiscellaneous) Test proper handling of a nested comment ... ok test_getaddresses_nasty (email.test.test_email_renamed.TestMiscellaneous) ... ok test_message_from_file (email.test.test_email_renamed.TestMiscellaneous) ... ok test_message_from_file_with_class (email.test.test_email_renamed.TestMiscellaneous) ... ok test_message_from_string (email.test.test_email_renamed.TestMiscellaneous) ... ok test_message_from_string_with_class (email.test.test_email_renamed.TestMiscellaneous) ... ok test_multiline_from_comment (email.test.test_email_renamed.TestMiscellaneous) ... ok test_name_with_dot (email.test.test_email_renamed.TestMiscellaneous) ... ok test_noquote_dump (email.test.test_email_renamed.TestMiscellaneous) ... ok test_parseaddr_empty (email.test.test_email_renamed.TestMiscellaneous) ... ok test_parsedate_acceptable_to_time_functions (email.test.test_email_renamed.TestMiscellaneous) ... ok test_parsedate_compact (email.test.test_email_renamed.TestMiscellaneous) ... ok test_parsedate_compact_no_dayofweek (email.test.test_email_renamed.TestMiscellaneous) ... ok test_parsedate_no_dayofweek (email.test.test_email_renamed.TestMiscellaneous) ... ok test_parsedate_none (email.test.test_email_renamed.TestMiscellaneous) ... ok test_partial_falls_inside_message_delivery_status (email.test.test_email_renamed.TestMiscellaneous) ... ok test_quote_dump (email.test.test_email_renamed.TestMiscellaneous) ... ok test_utils_quote_unquote (email.test.test_email_renamed.TestMiscellaneous) ... ok test_boundary_in_non_multipart (email.test.test_email_renamed.TestMultipart) ... /home/exarkun/Projects/python/trunk/Lib/email/test/test_email_renamed.py:1056: DeprecationWarning: classic int division tzoffset = ' %s%04d' % (sign, tzsecs / 36) ok test_boundary_with_leading_space (email.test.test_email_renamed.TestMultipart) ... ok test_boundary_without_trailing_newline (email.test.test_email_renamed.TestMultipart) ... ok test_double_boundary (email.test.test_email_renamed.TestMultipart) ... ok test_empty_multipart_idempotent (email.test.test_email_renamed.TestMultipart) ... ok test_hierarchy (email.test.test_email_renamed.TestMultipart) ... ok test_message_external_body (email.test.test_email_renamed.TestMultipart) ... ok test_nested_inner_contains_outer_boundary (email.test.test_email_renamed.TestMultipart) ... ok test_nested_with_same_boundary (email.test.test_email_renamed.TestMultipart) ... ok test_no_parts_in_a_multipart_with_empty_epilogue (email.test.test_email_renamed.TestMultipart) ... ok test_no_parts_in_a_multipart_with_none_epilogue (email.test.test_email_renamed.TestMultipart) ... ok test_one_part_in_a_multipart (email.test.test_email_renamed.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_empty_epilogue (email.test.test_email_renamed.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_empty_preamble (email.test.test_email_renamed.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_nl_epilogue (email.test.test_email_renamed.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_none_epilogue (email.test.test_email_renamed.TestMultipart) ... ok test_seq_parts_in_a_multipart_with_none_preamble (email.test.test_email_renamed.TestMultipart) ... ok test_first_line_is_continuation_header (email.test.test_email_renamed.TestNonConformant) ... ok test_invalid_content_type (email.test.test_email_renamed.TestNonConformant) ... ok test_lying_multipart (email.test.test_email_renamed.TestNonConformant) ... ok test_missing_start_boundary (email.test.test_email_renamed.TestNonConformant) ... ok test_multipart_no_boundary (email.test.test_email_renamed.TestNonConformant) ... ok test_no_separating_blank_line (email.test.test_email_renamed.TestNonConformant) ... ok test_no_start_boundary (email.test.test_email_renamed.TestNonConformant) ... ok test_parse_missing_minor_type (email.test.test_email_renamed.TestNonConformant) ... ok test_same_boundary_inner_outer (email.test.test_email_renamed.TestNonConformant) ... ok test_crlf_separation (email.test.test_email_renamed.TestParsers) ... ok test_header_parser (email.test.test_email_renamed.TestParsers) ... ok test_multipart_digest_with_extra_mime_headers (email.test.test_email_renamed.TestParsers) ... ok test_rfc2822_header_syntax (email.test.test_email_renamed.TestParsers) ... ok test_rfc2822_one_character_header (email.test.test_email_renamed.TestParsers) ... ok test_rfc2822_space_not_allowed_in_header (email.test.test_email_renamed.TestParsers) ... ok test_strip_line_feed_and_carriage_return_in_headers (email.test.test_email_renamed.TestParsers) ... ok test_three_lines (email.test.test_email_renamed.TestParsers) ... ok test_whitespace_continuation (email.test.test_email_renamed.TestParsers) ... ok test_whitespace_continuation_last_header (email.test.test_email_renamed.TestParsers) ... ok test_body_quopri_check (email.test.test_email_renamed.TestQuopri) ... ok test_body_quopri_len (email.test.test_email_renamed.TestQuopri) ... ok test_decode (email.test.test_email_renamed.TestQuopri) ... ok test_encode (email.test.test_email_renamed.TestQuopri) ... ok test_header_encode (email.test.test_email_renamed.TestQuopri) ... ok test_header_quopri_check (email.test.test_email_renamed.TestQuopri) ... ok test_header_quopri_len (email.test.test_email_renamed.TestQuopri) ... ok test_quote_unquote_idempotent (email.test.test_email_renamed.TestQuopri) ... ok test_rfc2047_missing_whitespace (email.test.test_email_renamed.TestRFC2047) ... ok test_rfc2047_multiline (email.test.test_email_renamed.TestRFC2047) ... ok test_rfc2047_with_whitespace (email.test.test_email_renamed.TestRFC2047) ... ok test_whitespace_eater_unicode (email.test.test_email_renamed.TestRFC2047) ... ok test_whitespace_eater_unicode_2 (email.test.test_email_renamed.TestRFC2047) ... ok test_del_param (email.test.test_email_renamed.TestRFC2231) ... ok test_get_param (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_bad_character_in_charset (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_bad_character_in_filename (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_bad_encoding_in_charset (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_bad_encoding_in_filename (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_encoded_then_unencoded_segments (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_get_content_charset (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_no_extended_values (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_no_language_or_charset (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_boundary (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_charset (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_filename (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_no_language_or_charset_in_filename_encoded (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_partly_encoded (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_partly_nonencoded (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_single_tick_in_filename (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_single_tick_in_filename_extended (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_tick_attack (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_tick_attack_extended (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_unencoded_then_encoded_segments (email.test.test_email_renamed.TestRFC2231) ... ok test_rfc2231_unknown_encoding (email.test.test_email_renamed.TestRFC2231) ... ok test_set_param (email.test.test_email_renamed.TestRFC2231) ... ok ---------------------------------------------------------------------- Ran 247 tests in 0.196s OK test_enumerate test_argumentcheck (test.test_enumerate.EnumerateTestCase) ... ok test_basicfunction (test.test_enumerate.EnumerateTestCase) ... ok test_exception_propagation (test.test_enumerate.EnumerateTestCase) ... ok test_getitemseqn (test.test_enumerate.EnumerateTestCase) ... ok test_illformediterable (test.test_enumerate.EnumerateTestCase) ... ok test_iteratorgenerator (test.test_enumerate.EnumerateTestCase) ... ok test_iteratorseqn (test.test_enumerate.EnumerateTestCase) ... ok test_noniterable (test.test_enumerate.EnumerateTestCase) ... ok test_tuple_reuse (test.test_enumerate.EnumerateTestCase) ... ok test_argumentcheck (test.test_enumerate.SubclassTestCase) ... ok test_basicfunction (test.test_enumerate.SubclassTestCase) ... ok test_exception_propagation (test.test_enumerate.SubclassTestCase) ... ok test_getitemseqn (test.test_enumerate.SubclassTestCase) ... ok test_illformediterable (test.test_enumerate.SubclassTestCase) ... ok test_iteratorgenerator (test.test_enumerate.SubclassTestCase) ... ok test_iteratorseqn (test.test_enumerate.SubclassTestCase) ... ok test_noniterable (test.test_enumerate.SubclassTestCase) ... ok test_tuple_reuse (test.test_enumerate.SubclassTestCase) ... ok test_argumentcheck (test.test_enumerate.TestEmpty) ... ok test_basicfunction (test.test_enumerate.TestEmpty) ... ok test_exception_propagation (test.test_enumerate.TestEmpty) ... ok test_getitemseqn (test.test_enumerate.TestEmpty) ... ok test_illformediterable (test.test_enumerate.TestEmpty) ... ok test_iteratorgenerator (test.test_enumerate.TestEmpty) ... ok test_iteratorseqn (test.test_enumerate.TestEmpty) ... ok test_noniterable (test.test_enumerate.TestEmpty) ... ok test_tuple_reuse (test.test_enumerate.TestEmpty) ... ok test_argumentcheck (test.test_enumerate.TestBig) ... ok test_basicfunction (test.test_enumerate.TestBig) ... ok test_exception_propagation (test.test_enumerate.TestBig) ... ok test_getitemseqn (test.test_enumerate.TestBig) ... ok test_illformediterable (test.test_enumerate.TestBig) ... ok test_iteratorgenerator (test.test_enumerate.TestBig) ... ok test_iteratorseqn (test.test_enumerate.TestBig) ... ok test_noniterable (test.test_enumerate.TestBig) ... ok test_tuple_reuse (test.test_enumerate.TestBig) ... ok test_args (test.test_enumerate.TestReversed) ... ok test_bug1229429 (test.test_enumerate.TestReversed) ... ok test_class_class (test.test_enumerate.TestReversed) ... ok test_gc (test.test_enumerate.TestReversed) ... ok test_len (test.test_enumerate.TestReversed) ... ok test_simple (test.test_enumerate.TestReversed) ... ok test_xrange_optimization (test.test_enumerate.TestReversed) ... ok ---------------------------------------------------------------------- Ran 43 tests in 0.033s OK test_eof test_EOFC (test.test_eof.EOFTestCase) ... ok test_EOFS (test.test_eof.EOFTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test_epoll test_add (test.test_epoll.TestEPoll) ... ok test_badcreate (test.test_epoll.TestEPoll) ... ok test_control_and_wait (test.test_epoll.TestEPoll) ... ok test_create (test.test_epoll.TestEPoll) ... ok test_errors (test.test_epoll.TestEPoll) ... ok test_fromfd (test.test_epoll.TestEPoll) ... ok test_unregister_closed (test.test_epoll.TestEPoll) ... ok ---------------------------------------------------------------------- Ran 7 tests in 2.102s OK test_errno test_for_improper_attributes (test.test_errno.ErrnoAttributeTests) ... ok test_using_errorcode (test.test_errno.ErrnoAttributeTests) ... ok test_attributes_in_errorcode (test.test_errno.ErrorcodeTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.001s OK test_exception_variations test_nested (test.test_exception_variations.ExceptionTestCase) ... ok test_nested_else (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except_else (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except_else_finally (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except_else_finally_no_exception (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except_else_no_exception (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except_finally (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except_finally_no_exception (test.test_exception_variations.ExceptionTestCase) ... ok test_try_except_no_exception (test.test_exception_variations.ExceptionTestCase) ... ok test_try_finally_no_exception (test.test_exception_variations.ExceptionTestCase) ... ok ---------------------------------------------------------------------- Ran 11 tests in 0.001s OK test_extcall Trying: from UserList import UserList Expecting nothing ok Trying: from UserDict import UserDict Expecting nothing ok Trying: def e(a,b): print a, b Expecting nothing ok Trying: def f(*a, **k): print a, test_support.sortdict(k) Expecting nothing ok Trying: def g(x, *y, **z): print x, y, test_support.sortdict(z) Expecting nothing ok Trying: def h(j=1, a=2, h=3): print j, a, h Expecting nothing ok Trying: f() Expecting: () {} ok Trying: f(1) Expecting: (1,) {} ok Trying: f(1, 2) Expecting: (1, 2) {} ok Trying: f(1, 2, 3) Expecting: (1, 2, 3) {} ok Trying: f(1, 2, 3, *(4, 5)) Expecting: (1, 2, 3, 4, 5) {} ok Trying: f(1, 2, 3, *[4, 5]) Expecting: (1, 2, 3, 4, 5) {} ok Trying: f(1, 2, 3, *UserList([4, 5])) Expecting: (1, 2, 3, 4, 5) {} ok Trying: f(1, 2, 3, **{'a':4, 'b':5}) Expecting: (1, 2, 3) {'a': 4, 'b': 5} ok Trying: f(1, 2, 3, *[4, 5], **{'a':6, 'b':7}) Expecting: (1, 2, 3, 4, 5) {'a': 6, 'b': 7} ok Trying: f(1, 2, 3, x=4, y=5, *(6, 7), **{'a':8, 'b': 9}) Expecting: (1, 2, 3, 6, 7) {'a': 8, 'b': 9, 'x': 4, 'y': 5} ok Trying: f(1, 2, 3, **UserDict(a=4, b=5)) Expecting: (1, 2, 3) {'a': 4, 'b': 5} ok Trying: f(1, 2, 3, *(4, 5), **UserDict(a=6, b=7)) Expecting: (1, 2, 3, 4, 5) {'a': 6, 'b': 7} ok Trying: f(1, 2, 3, x=4, y=5, *(6, 7), **UserDict(a=8, b=9)) Expecting: (1, 2, 3, 6, 7) {'a': 8, 'b': 9, 'x': 4, 'y': 5} ok Trying: e(c=4) Expecting: Traceback (most recent call last): ... TypeError: e() got an unexpected keyword argument 'c' ok Trying: g() Expecting: Traceback (most recent call last): ... TypeError: g() takes at least 1 argument (0 given) ok Trying: g(*()) Expecting: Traceback (most recent call last): ... TypeError: g() takes at least 1 argument (0 given) ok Trying: g(*(), **{}) Expecting: Traceback (most recent call last): ... TypeError: g() takes at least 1 argument (0 given) ok Trying: g(1) Expecting: 1 () {} ok Trying: g(1, 2) Expecting: 1 (2,) {} ok Trying: g(1, 2, 3) Expecting: 1 (2, 3) {} ok Trying: g(1, 2, 3, *(4, 5)) Expecting: 1 (2, 3, 4, 5) {} ok Trying: class Nothing: pass Expecting nothing ok Trying: g(*Nothing()) Expecting: Traceback (most recent call last): ... TypeError: g() argument after * must be a sequence, not instance ok Trying: class Nothing: def __len__(self): return 5 Expecting nothing ok Trying: g(*Nothing()) Expecting: Traceback (most recent call last): ... TypeError: g() argument after * must be a sequence, not instance ok Trying: class Nothing(): def __len__(self): return 5 def __getitem__(self, i): if i<3: return i else: raise IndexError(i) Expecting nothing ok Trying: g(*Nothing()) Expecting: 0 (1, 2) {} ok Trying: class Nothing: def __init__(self): self.c = 0 def __iter__(self): return self def next(self): if self.c == 4: raise StopIteration c = self.c self.c += 1 return c Expecting nothing ok Trying: g(*Nothing()) Expecting: 0 (1, 2, 3) {} ok Trying: d = {'a': 1, 'b': 2, 'c': 3} Expecting nothing ok Trying: d2 = d.copy() Expecting nothing ok Trying: g(1, d=4, **d) Expecting: 1 () {'a': 1, 'b': 2, 'c': 3, 'd': 4} ok Trying: d == d2 Expecting: True ok Trying: def saboteur(**kw): kw['x'] = 'm' return kw Expecting nothing ok Trying: d = {} Expecting nothing ok Trying: kw = saboteur(a=1, **d) Expecting nothing ok Trying: d Expecting: {} ok Trying: g(1, 2, 3, **{'x': 4, 'y': 5}) Expecting: Traceback (most recent call last): ... TypeError: g() got multiple values for keyword argument 'x' ok Trying: f(**{1:2}) Expecting: Traceback (most recent call last): ... TypeError: f() keywords must be strings ok Trying: h(**{'e': 2}) Expecting: Traceback (most recent call last): ... TypeError: h() got an unexpected keyword argument 'e' ok Trying: h(*h) Expecting: Traceback (most recent call last): ... TypeError: h() argument after * must be a sequence, not function ok Trying: dir(*h) Expecting: Traceback (most recent call last): ... TypeError: dir() argument after * must be a sequence, not function ok Trying: None(*h) Expecting: Traceback (most recent call last): ... TypeError: NoneType object argument after * must be a sequence, not function ok Trying: h(**h) Expecting: Traceback (most recent call last): ... TypeError: h() argument after ** must be a mapping, not function ok Trying: dir(**h) Expecting: Traceback (most recent call last): ... TypeError: dir() argument after ** must be a mapping, not function ok Trying: None(**h) Expecting: Traceback (most recent call last): ... TypeError: NoneType object argument after ** must be a mapping, not function ok Trying: dir(b=1, **{'b': 1}) Expecting: Traceback (most recent call last): ... TypeError: dir() got multiple values for keyword argument 'b' ok Trying: def f2(*a, **b): return a, b Expecting nothing ok Trying: d = {} Expecting nothing ok Trying: for i in xrange(512): key = 'k%d' % i d[key] = i Expecting nothing ok Trying: a, b = f2(1, *(2,3), **d) Expecting nothing ok Trying: len(a), len(b), b == d Expecting: (3, 512, True) ok Trying: class Foo: def method(self, arg1, arg2): return arg1+arg2 Expecting nothing ok Trying: x = Foo() Expecting nothing ok Trying: Foo.method(*(x, 1, 2)) Expecting: 3 ok Trying: Foo.method(x, *(1, 2)) Expecting: 3 ok Trying: Foo.method(*(1, 2, 3)) Expecting: Traceback (most recent call last): ... TypeError: unbound method method() must be called with Foo instance as first argument (got int instance instead) ok Trying: Foo.method(1, *[2, 3]) Expecting: Traceback (most recent call last): ... TypeError: unbound method method() must be called with Foo instance as first argument (got int instance instead) ok Trying: try: silence = id(1, *{}) True except: False Expecting: True ok Trying: id(1, **{'foo': 1}) Expecting: Traceback (most recent call last): ... TypeError: id() takes no keyword arguments ok Trying: class Name(str): def __eq__(self, other): try: del x[self] except KeyError: pass return str.__eq__(self, other) def __hash__(self): return str.__hash__(self) Expecting nothing ok Trying: x = {Name("a"):1, Name("b"):2} Expecting nothing ok Trying: def f(a, b): print a,b Expecting nothing ok Trying: f(**x) Expecting: 1 2 ok 3 items had no tests: test.test_extcall.UnicodeKeywordArgsTest test.test_extcall.UnicodeKeywordArgsTest.test_unicode_keywords test.test_extcall.test_main 1 items passed all tests: 70 tests in test.test_extcall 70 tests in 4 items. 70 passed and 0 failed. Test passed. doctest (test.test_extcall) ... 70 tests with zero failures test_unicode_keywords (test.test_extcall.UnicodeKeywordArgsTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_fcntl struct.pack: '\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' test_fcntl_64_bit (test.test_fcntl.TestFcntl) ... ok test_fcntl_file_descriptor (test.test_fcntl.TestFcntl) ... ok test_fcntl_fileno (test.test_fcntl.TestFcntl) ... Status from fcntl with O_NONBLOCK: 0 String from fcntl with F_SETLKW: '\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_file testAttributes (test.test_file.CAutoFileTests) ... ok testErrors (test.test_file.CAutoFileTests) ... ok testMethods (test.test_file.CAutoFileTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_file.py:130: DeprecationWarning: classic int division 1/0 ok testReadWhenWriting (test.test_file.CAutoFileTests) ... ok testReadinto (test.test_file.CAutoFileTests) ... ok testReadinto_text (test.test_file.CAutoFileTests) ... ok testWeakRefs (test.test_file.CAutoFileTests) ... ok testWritelinesIntegers (test.test_file.CAutoFileTests) ... ok testWritelinesIntegersUserList (test.test_file.CAutoFileTests) ... ok testWritelinesNonString (test.test_file.CAutoFileTests) ... ok testWritelinesUserList (test.test_file.CAutoFileTests) ... ok testAttributes (test.test_file.PyAutoFileTests) ... ok testErrors (test.test_file.PyAutoFileTests) ... ok testMethods (test.test_file.PyAutoFileTests) ... ok testReadWhenWriting (test.test_file.PyAutoFileTests) ... ok testReadinto (test.test_file.PyAutoFileTests) ... ok testReadinto_text (test.test_file.PyAutoFileTests) ... ok testWeakRefs (test.test_file.PyAutoFileTests) ... ok testWritelinesIntegers (test.test_file.PyAutoFileTests) ... ok testWritelinesIntegersUserList (test.test_file.PyAutoFileTests) ... ok testWritelinesNonString (test.test_file.PyAutoFileTests) ... ok testWritelinesUserList (test.test_file.PyAutoFileTests) ... ok testBadModeArgument (test.test_file.COtherFileTests) ... ok testIteration (test.test_file.COtherFileTests) ... ok testModeStrings (test.test_file.COtherFileTests) ... ok testSetBufferSize (test.test_file.COtherFileTests) ... ok testStdin (test.test_file.COtherFileTests) ... ok testTruncateOnWindows (test.test_file.COtherFileTests) ... ok testBadModeArgument (test.test_file.PyOtherFileTests) ... ok testIteration (test.test_file.PyOtherFileTests) ... ok testModeStrings (test.test_file.PyOtherFileTests) ... ok testSetBufferSize (test.test_file.PyOtherFileTests) ... ok testStdin (test.test_file.PyOtherFileTests) ... ok testTruncateOnWindows (test.test_file.PyOtherFileTests) ... ok ---------------------------------------------------------------------- Ran 34 tests in 0.165s OK test_file2k testAttributes (test.test_file2k.AutoFileTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_file2k.py:37: DeprecationWarning: file.softspace not supported in 3.x softspace = f.softspace /home/exarkun/Projects/python/trunk/Lib/test/test_file2k.py:43: DeprecationWarning: file.softspace not supported in 3.x f.softspace = softspace # merely shouldn't blow up ok testErrors (test.test_file2k.AutoFileTests) ... ok testMethods (test.test_file2k.AutoFileTests) ... /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: f.xreadlines() not supported in 3.x, try 'for line in f' instead callableObj(*args, **kwargs) /home/exarkun/Projects/python/trunk/Lib/test/test_file2k.py:119: DeprecationWarning: classic int division 1/0 ok testReadWhenWriting (test.test_file2k.AutoFileTests) ... ok testReadinto (test.test_file2k.AutoFileTests) ... ok testRepr (test.test_file2k.AutoFileTests) ... ok testWeakRefs (test.test_file2k.AutoFileTests) ... ok testWritelinesIntegers (test.test_file2k.AutoFileTests) ... ok testWritelinesIntegersUserList (test.test_file2k.AutoFileTests) ... ok testWritelinesNonString (test.test_file2k.AutoFileTests) ... ok testWritelinesUserList (test.test_file2k.AutoFileTests) ... ok testBadModeArgument (test.test_file2k.OtherFileTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_file2k.py:185: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if msg[0] != 0: ok testIteration (test.test_file2k.OtherFileTests) ... ok testModeStrings (test.test_file2k.OtherFileTests) ... ok testOpenDir (test.test_file2k.OtherFileTests) ... ok testSetBufferSize (test.test_file2k.OtherFileTests) ... ok testStdin (test.test_file2k.OtherFileTests) ... ok testTruncateOnWindows (test.test_file2k.OtherFileTests) ... ok testUnicodeOpen (test.test_file2k.OtherFileTests) ... ok testExit (test.test_file2k.FileSubclassTests) ... ok test_close_open (test.test_file2k.FileThreadingTests) ... 25129 0.0000 ok test_close_open_flush (test.test_file2k.FileThreadingTests) ... Q 4774 6.0117 ok test_close_open_isatty (test.test_file2k.FileThreadingTests) ... Q 8185 5.6811 ok test_close_open_iter (test.test_file2k.FileThreadingTests) ... Q 3873 25.6390 ok test_close_open_print (test.test_file2k.FileThreadingTests) ... Q 4260 45.7277 ok test_close_open_read (test.test_file2k.FileThreadingTests) ... Q 6492 5.8688 ok test_close_open_readinto (test.test_file2k.FileThreadingTests) ... Q 7625 27.3311 ok test_close_open_readline (test.test_file2k.FileThreadingTests) ... Q 4806 38.3895 ok test_close_open_readlines (test.test_file2k.FileThreadingTests) ... Q 7793 20.9290 ok test_close_open_seek (test.test_file2k.FileThreadingTests) ... Q 5393 27.9251 ok test_close_open_tell (test.test_file2k.FileThreadingTests) ... Q 7050 25.9574 ok test_close_open_truncate (test.test_file2k.FileThreadingTests) ... Q 5824 88.1868 ok test_close_open_write (test.test_file2k.FileThreadingTests) ... Q 3909 2.9419 ok test_close_open_writelines (test.test_file2k.FileThreadingTests) ... 13625 0.0000 ok test_del_stdout_before_print (test.test_file2k.StdoutTests) ... ok test_move_stdout_on_write (test.test_file2k.StdoutTests) ... ok ---------------------------------------------------------------------- Ran 36 tests in 3.689s OK test_filecmp test_different (test.test_filecmp.FileCompareTestCase) ... ok test_matching (test.test_filecmp.FileCompareTestCase) ... ok test_cmpfiles (test.test_filecmp.DirCompareTestCase) ... ok test_dircmp (test.test_filecmp.DirCompareTestCase) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.003s OK test_fileinput test_buffer_sizes (test.test_fileinput.BufferSizesTests) ... 1. Simple iteration (bs=0) 2. Status variables (bs=0) 3. Nextfile (bs=0) 4. Stdin (bs=0) 5. Boundary conditions (bs=0) 6. Inplace (bs=0) 7. Simple iteration (bs=30) 8. Status variables (bs=30) 9. Nextfile (bs=30) 10. Stdin (bs=30) 11. Boundary conditions (bs=30) 12. Inplace (bs=30) ok test_file_opening_hook (test.test_fileinput.FileInputTests) ... ok test_fileno (test.test_fileinput.FileInputTests) ... ok test_files_that_dont_end_with_newline (test.test_fileinput.FileInputTests) ... ok test_opening_mode (test.test_fileinput.FileInputTests) ... ok test_unicode_filenames (test.test_fileinput.FileInputTests) ... ok test_zero_byte_files (test.test_fileinput.FileInputTests) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.006s OK test_fileio testAttributes (test.test_fileio.AutoFileTests) ... ok testErrnoOnClose (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedFileno (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedIsatty (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedRead (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedReadable (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedReadall (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedReadinto (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedSeek (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedSeekable (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedTell (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedTruncate (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedWritable (test.test_fileio.AutoFileTests) ... ok testErrnoOnClosedWrite (test.test_fileio.AutoFileTests) ... ok testErrors (test.test_fileio.AutoFileTests) ... ok testMethods (test.test_fileio.AutoFileTests) ... ok testOpendir (test.test_fileio.AutoFileTests) ... ok testReadinto (test.test_fileio.AutoFileTests) ... ok testRepr (test.test_fileio.AutoFileTests) ... ok testSeekTell (test.test_fileio.AutoFileTests) ... ok testWeakRefs (test.test_fileio.AutoFileTests) ... ok testAbles (test.test_fileio.OtherFileTests) ... ok testAppend (test.test_fileio.OtherFileTests) ... ok testBadModeArgument (test.test_fileio.OtherFileTests) ... ok testBytesOpen (test.test_fileio.OtherFileTests) ... ok testInvalidFd (test.test_fileio.OtherFileTests) ... ok testInvalidInit (test.test_fileio.OtherFileTests) ... ok testModeStrings (test.test_fileio.OtherFileTests) ... ok testTruncateOnWindows (test.test_fileio.OtherFileTests) ... ok testUnicodeOpen (test.test_fileio.OtherFileTests) ... ok testWarnings (test.test_fileio.OtherFileTests) ... ok ---------------------------------------------------------------------- Ran 31 tests in 0.003s OK test_float test_float (test.test_float.GeneralFloatCases) ... ok test_float_with_comma (test.test_float.GeneralFloatCases) ... ok test_floatasratio (test.test_float.GeneralFloatCases) ... ok test_floatconversion (test.test_float.GeneralFloatCases) ... ok test_getformat (test.test_float.FormatFunctionsTestCase) ... ok test_setformat (test.test_float.FormatFunctionsTestCase) ... ok test_double_specials_dont_unpack (test.test_float.UnknownFormatTestCase) ... ok test_float_specials_dont_unpack (test.test_float.UnknownFormatTestCase) ... ok test_double_specials_do_unpack (test.test_float.IEEEFormatTestCase) ... ok test_float_specials_do_unpack (test.test_float.IEEEFormatTestCase) ... ok test_format (test.test_float.IEEEFormatTestCase) ... ok test_format_testfile (test.test_float.IEEEFormatTestCase) ... ok test_issue5864 (test.test_float.IEEEFormatTestCase) ... ok test_negative_zero (test.test_float.IEEEFormatTestCase) ... ok test_underflow_sign (test.test_float.IEEEFormatTestCase) ... ok test_repr (test.test_float.ReprTestCase) ... ok test_inf_as_str (test.test_float.InfNanTest) ... ok test_inf_from_str (test.test_float.InfNanTest) ... ok test_nan_as_str (test.test_float.InfNanTest) ... ok test_nan_from_str (test.test_float.InfNanTest) ... ok test_ends (test.test_float.HexFloatTestCase) ... ok test_from_hex (test.test_float.HexFloatTestCase) ... ok test_invalid_inputs (test.test_float.HexFloatTestCase) ... ok test_roundtrip (test.test_float.HexFloatTestCase) ... ok test_whitespace (test.test_float.HexFloatTestCase) ... ok ---------------------------------------------------------------------- Ran 25 tests in 0.268s OK test_fnmatch test_fnmatch (test.test_fnmatch.FnmatchTestCase) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.002s OK test_fork1 test_import_lock_fork (test.test_fork1.ForkTest) ... ok test_wait (test.test_fork1.ForkTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 6.020s OK test_format test_format (test.test_format.FormatTest) ... '%.1d' % (1,) =? '1' ... yes u'%.1d' % (1,) =? '1' ... yes '%.*d' % (2147483647, 1) works? ... overflow (this is fine) u'%.*d' % (2147483647, 1) works? ... overflow (this is fine) '%.100d' % (1,) =? '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes u'%.100d' % (1,) =? '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes '%#.117x' % (1,) =? '0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... overflow (this is fine) u'%#.117x' % (1,) =? '0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... overflow (this is fine) '%#.118x' % (1,) =? '0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... overflow (this is fine) u'%#.118x' % (1,) =? '0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... overflow (this is fine) '%f' % (1.0,) =? '1.000000' ... yes u'%f' % (1.0,) =? '1.000000' ... yes '%#.*g' % (109, -3.3333333333333334e+48) works? ... yes u'%#.*g' % (109, -3.3333333333333334e+48) works? ... yes '%#.*g' % (110, -3.3333333333333334e+48) works? ... overflow (this is fine) u'%#.*g' % (110, -3.3333333333333334e+48) works? ... overflow (this is fine) '%#.*g' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) u'%#.*g' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) '%12.*f' % (123456, 1.0) works? ... overflow (this is fine) u'%12.*f' % (123456, 1.0) works? ... overflow (this is fine) '%#.*g' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) u'%#.*g' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) '%#.*G' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) u'%#.*G' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) '%#.*f' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) u'%#.*f' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) '%#.*F' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) u'%#.*F' % (110, -3.3333333333333332e+99) works? ... overflow (this is fine) '%x' % 10L =? 'a' ... yes u'%x' % 10L =? 'a' ... yes '%x' % 100000000000L =? '174876e800' ... yes u'%x' % 100000000000L =? '174876e800' ... yes '%o' % 10L =? '12' ... yes u'%o' % 10L =? '12' ... yes '%o' % 100000000000L =? '1351035564000' ... yes u'%o' % 100000000000L =? '1351035564000' ... yes '%d' % 10L =? '10' ... yes u'%d' % 10L =? '10' ... yes '%d' % 100000000000L =? '100000000000' ... yes u'%d' % 100000000000L =? '100000000000' ... yes '%d' % 123456789012345678901234567890L =? '123456789012345678901234567890' ... yes u'%d' % 123456789012345678901234567890L =? '123456789012345678901234567890' ... yes '%d' % -123456789012345678901234567890L =? '-123456789012345678901234567890' ... yes u'%d' % -123456789012345678901234567890L =? '-123456789012345678901234567890' ... yes '%5d' % -123456789012345678901234567890L =? '-123456789012345678901234567890' ... yes u'%5d' % -123456789012345678901234567890L =? '-123456789012345678901234567890' ... yes '%31d' % -123456789012345678901234567890L =? '-123456789012345678901234567890' ... yes u'%31d' % -123456789012345678901234567890L =? '-123456789012345678901234567890' ... yes '%32d' % -123456789012345678901234567890L =? ' -123456789012345678901234567890' ... yes u'%32d' % -123456789012345678901234567890L =? ' -123456789012345678901234567890' ... yes '%-32d' % -123456789012345678901234567890L =? '-123456789012345678901234567890 ' ... yes u'%-32d' % -123456789012345678901234567890L =? '-123456789012345678901234567890 ' ... yes '%032d' % -123456789012345678901234567890L =? '-0123456789012345678901234567890' ... yes u'%032d' % -123456789012345678901234567890L =? '-0123456789012345678901234567890' ... yes '%-032d' % -123456789012345678901234567890L =? '-123456789012345678901234567890 ' ... yes u'%-032d' % -123456789012345678901234567890L =? '-123456789012345678901234567890 ' ... yes '%034d' % -123456789012345678901234567890L =? '-000123456789012345678901234567890' ... yes u'%034d' % -123456789012345678901234567890L =? '-000123456789012345678901234567890' ... yes '%034d' % 123456789012345678901234567890L =? '0000123456789012345678901234567890' ... yes u'%034d' % 123456789012345678901234567890L =? '0000123456789012345678901234567890' ... yes '%0+34d' % 123456789012345678901234567890L =? '+000123456789012345678901234567890' ... yes u'%0+34d' % 123456789012345678901234567890L =? '+000123456789012345678901234567890' ... yes '%+34d' % 123456789012345678901234567890L =? ' +123456789012345678901234567890' ... yes u'%+34d' % 123456789012345678901234567890L =? ' +123456789012345678901234567890' ... yes '%34d' % 123456789012345678901234567890L =? ' 123456789012345678901234567890' ... yes u'%34d' % 123456789012345678901234567890L =? ' 123456789012345678901234567890' ... yes '%.2d' % 123456789012345678901234567890L =? '123456789012345678901234567890' ... yes u'%.2d' % 123456789012345678901234567890L =? '123456789012345678901234567890' ... yes '%.30d' % 123456789012345678901234567890L =? '123456789012345678901234567890' ... yes u'%.30d' % 123456789012345678901234567890L =? '123456789012345678901234567890' ... yes '%.31d' % 123456789012345678901234567890L =? '0123456789012345678901234567890' ... yes u'%.31d' % 123456789012345678901234567890L =? '0123456789012345678901234567890' ... yes '%32.31d' % 123456789012345678901234567890L =? ' 0123456789012345678901234567890' ... yes u'%32.31d' % 123456789012345678901234567890L =? ' 0123456789012345678901234567890' ... yes '%d' % 1.2345678901234568e+29 =? '123456________________________' ... yes u'%d' % 1.2345678901234568e+29 =? '123456________________________' ... yes '%x' % 1375488932362216742658885L =? '1234567890abcdef12345' ... yes u'%x' % 1375488932362216742658885L =? '1234567890abcdef12345' ... yes '%x' % -1375488932362216742658885L =? '-1234567890abcdef12345' ... yes u'%x' % -1375488932362216742658885L =? '-1234567890abcdef12345' ... yes '%5x' % -1375488932362216742658885L =? '-1234567890abcdef12345' ... yes u'%5x' % -1375488932362216742658885L =? '-1234567890abcdef12345' ... yes '%22x' % -1375488932362216742658885L =? '-1234567890abcdef12345' ... yes u'%22x' % -1375488932362216742658885L =? '-1234567890abcdef12345' ... yes '%23x' % -1375488932362216742658885L =? ' -1234567890abcdef12345' ... yes u'%23x' % -1375488932362216742658885L =? ' -1234567890abcdef12345' ... yes '%-23x' % -1375488932362216742658885L =? '-1234567890abcdef12345 ' ... yes u'%-23x' % -1375488932362216742658885L =? '-1234567890abcdef12345 ' ... yes '%023x' % -1375488932362216742658885L =? '-01234567890abcdef12345' ... yes u'%023x' % -1375488932362216742658885L =? '-01234567890abcdef12345' ... yes '%-023x' % -1375488932362216742658885L =? '-1234567890abcdef12345 ' ... yes u'%-023x' % -1375488932362216742658885L =? '-1234567890abcdef12345 ' ... yes '%025x' % -1375488932362216742658885L =? '-0001234567890abcdef12345' ... yes u'%025x' % -1375488932362216742658885L =? '-0001234567890abcdef12345' ... yes '%025x' % 1375488932362216742658885L =? '00001234567890abcdef12345' ... yes u'%025x' % 1375488932362216742658885L =? '00001234567890abcdef12345' ... yes '%0+25x' % 1375488932362216742658885L =? '+0001234567890abcdef12345' ... yes u'%0+25x' % 1375488932362216742658885L =? '+0001234567890abcdef12345' ... yes '%+25x' % 1375488932362216742658885L =? ' +1234567890abcdef12345' ... yes u'%+25x' % 1375488932362216742658885L =? ' +1234567890abcdef12345' ... yes '%25x' % 1375488932362216742658885L =? ' 1234567890abcdef12345' ... yes u'%25x' % 1375488932362216742658885L =? ' 1234567890abcdef12345' ... yes '%.2x' % 1375488932362216742658885L =? '1234567890abcdef12345' ... yes u'%.2x' % 1375488932362216742658885L =? '1234567890abcdef12345' ... yes '%.21x' % 1375488932362216742658885L =? '1234567890abcdef12345' ... yes u'%.21x' % 1375488932362216742658885L =? '1234567890abcdef12345' ... yes '%.22x' % 1375488932362216742658885L =? '01234567890abcdef12345' ... yes u'%.22x' % 1375488932362216742658885L =? '01234567890abcdef12345' ... yes '%23.22x' % 1375488932362216742658885L =? ' 01234567890abcdef12345' ... yes u'%23.22x' % 1375488932362216742658885L =? ' 01234567890abcdef12345' ... yes '%-23.22x' % 1375488932362216742658885L =? '01234567890abcdef12345 ' ... yes u'%-23.22x' % 1375488932362216742658885L =? '01234567890abcdef12345 ' ... yes '%X' % 1375488932362216742658885L =? '1234567890ABCDEF12345' ... yes u'%X' % 1375488932362216742658885L =? '1234567890ABCDEF12345' ... yes '%#X' % 1375488932362216742658885L =? '0X1234567890ABCDEF12345' ... yes u'%#X' % 1375488932362216742658885L =? '0X1234567890ABCDEF12345' ... yes '%#x' % 1375488932362216742658885L =? '0x1234567890abcdef12345' ... yes u'%#x' % 1375488932362216742658885L =? '0x1234567890abcdef12345' ... yes '%#x' % -1375488932362216742658885L =? '-0x1234567890abcdef12345' ... yes u'%#x' % -1375488932362216742658885L =? '-0x1234567890abcdef12345' ... yes '%#.23x' % -1375488932362216742658885L =? '-0x001234567890abcdef12345' ... yes u'%#.23x' % -1375488932362216742658885L =? '-0x001234567890abcdef12345' ... yes '%#+.23x' % 1375488932362216742658885L =? '+0x001234567890abcdef12345' ... yes u'%#+.23x' % 1375488932362216742658885L =? '+0x001234567890abcdef12345' ... yes '%# .23x' % 1375488932362216742658885L =? ' 0x001234567890abcdef12345' ... yes u'%# .23x' % 1375488932362216742658885L =? ' 0x001234567890abcdef12345' ... yes '%#+.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345' ... yes u'%#+.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345' ... yes '%#-+.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345' ... yes u'%#-+.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345' ... yes '%#-+26.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345' ... yes u'%#-+26.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345' ... yes '%#-+27.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345 ' ... yes u'%#-+27.23X' % 1375488932362216742658885L =? '+0X001234567890ABCDEF12345 ' ... yes '%#+27.23X' % 1375488932362216742658885L =? ' +0X001234567890ABCDEF12345' ... yes u'%#+27.23X' % 1375488932362216742658885L =? ' +0X001234567890ABCDEF12345' ... yes '%#+027.23X' % 1375488932362216742658885L =? '+0X0001234567890ABCDEF12345' ... yes u'%#+027.23X' % 1375488932362216742658885L =? '+0X0001234567890ABCDEF12345' ... yes '%#+27.23X' % 1375488932362216742658885L =? ' +0X001234567890ABCDEF12345' ... yes u'%#+27.23X' % 1375488932362216742658885L =? ' +0X001234567890ABCDEF12345' ... yes '%x' % 1.3754889323622168e+24 =? '123456_______________' ... yes u'%x' % 1.3754889323622168e+24 =? '123456_______________' ... yes '%o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes u'%o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes '%o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670' ... yes u'%o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670' ... yes '%5o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670' ... yes u'%5o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670' ... yes '%33o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670' ... yes u'%33o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670' ... yes '%34o' % -12935167030485801517351291832L =? ' -12345670123456701234567012345670' ... yes u'%34o' % -12935167030485801517351291832L =? ' -12345670123456701234567012345670' ... yes '%-34o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670 ' ... yes u'%-34o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670 ' ... yes '%034o' % -12935167030485801517351291832L =? '-012345670123456701234567012345670' ... yes u'%034o' % -12935167030485801517351291832L =? '-012345670123456701234567012345670' ... yes '%-034o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670 ' ... yes u'%-034o' % -12935167030485801517351291832L =? '-12345670123456701234567012345670 ' ... yes '%036o' % -12935167030485801517351291832L =? '-00012345670123456701234567012345670' ... yes u'%036o' % -12935167030485801517351291832L =? '-00012345670123456701234567012345670' ... yes '%036o' % 12935167030485801517351291832L =? '000012345670123456701234567012345670' ... yes u'%036o' % 12935167030485801517351291832L =? '000012345670123456701234567012345670' ... yes '%0+36o' % 12935167030485801517351291832L =? '+00012345670123456701234567012345670' ... yes u'%0+36o' % 12935167030485801517351291832L =? '+00012345670123456701234567012345670' ... yes '%+36o' % 12935167030485801517351291832L =? ' +12345670123456701234567012345670' ... yes u'%+36o' % 12935167030485801517351291832L =? ' +12345670123456701234567012345670' ... yes '%36o' % 12935167030485801517351291832L =? ' 12345670123456701234567012345670' ... yes u'%36o' % 12935167030485801517351291832L =? ' 12345670123456701234567012345670' ... yes '%.2o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes u'%.2o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes '%.32o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes u'%.32o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes '%.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes u'%.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes '%34.33o' % 12935167030485801517351291832L =? ' 012345670123456701234567012345670' ... yes u'%34.33o' % 12935167030485801517351291832L =? ' 012345670123456701234567012345670' ... yes '%-34.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670 ' ... yes u'%-34.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670 ' ... yes '%o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes u'%o' % 12935167030485801517351291832L =? '12345670123456701234567012345670' ... yes '%#o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes u'%#o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes '%#o' % -12935167030485801517351291832L =? '-012345670123456701234567012345670' ... yes u'%#o' % -12935167030485801517351291832L =? '-012345670123456701234567012345670' ... yes '%#.34o' % -12935167030485801517351291832L =? '-0012345670123456701234567012345670' ... yes u'%#.34o' % -12935167030485801517351291832L =? '-0012345670123456701234567012345670' ... yes '%#+.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670' ... yes u'%#+.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670' ... yes '%# .34o' % 12935167030485801517351291832L =? ' 0012345670123456701234567012345670' ... yes u'%# .34o' % 12935167030485801517351291832L =? ' 0012345670123456701234567012345670' ... yes '%#+.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670' ... yes u'%#+.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670' ... yes '%#-+.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670' ... yes u'%#-+.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670' ... yes '%#-+37.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670 ' ... yes u'%#-+37.34o' % 12935167030485801517351291832L =? '+0012345670123456701234567012345670 ' ... yes '%#+37.34o' % 12935167030485801517351291832L =? ' +0012345670123456701234567012345670' ... yes u'%#+37.34o' % 12935167030485801517351291832L =? ' +0012345670123456701234567012345670' ... yes '%.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes u'%.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes '%#.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes u'%#.33o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes '%#.32o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes u'%#.32o' % 12935167030485801517351291832L =? '012345670123456701234567012345670' ... yes '%034.33o' % 12935167030485801517351291832L =? '0012345670123456701234567012345670' ... yes u'%034.33o' % 12935167030485801517351291832L =? '0012345670123456701234567012345670' ... yes '%0#34.33o' % 12935167030485801517351291832L =? '0012345670123456701234567012345670' ... yes u'%0#34.33o' % 12935167030485801517351291832L =? '0012345670123456701234567012345670' ... yes '%o' % 1.2935167030485802e+28 =? '123456__________________________' ... yes u'%o' % 1.2935167030485802e+28 =? '123456__________________________' ... yes '%d' % 42 =? '42' ... yes u'%d' % 42 =? '42' ... yes '%d' % -42 =? '-42' ... yes u'%d' % -42 =? '-42' ... yes '%d' % 42L =? '42' ... yes u'%d' % 42L =? '42' ... yes '%d' % -42L =? '-42' ... yes u'%d' % -42L =? '-42' ... yes '%d' % 42.0 =? '42' ... yes u'%d' % 42.0 =? '42' ... yes '%#x' % 1 =? '0x1' ... yes u'%#x' % 1 =? '0x1' ... yes '%#x' % 1L =? '0x1' ... yes u'%#x' % 1L =? '0x1' ... yes '%#X' % 1 =? '0X1' ... yes u'%#X' % 1 =? '0X1' ... yes '%#X' % 1L =? '0X1' ... yes u'%#X' % 1L =? '0X1' ... yes '%#x' % 1.0 =? '0x1' ... yes u'%#x' % 1.0 =? '0x1' ... yes '%#o' % 1 =? '01' ... yes u'%#o' % 1 =? '01' ... yes '%#o' % 1L =? '01' ... yes u'%#o' % 1L =? '01' ... yes '%#o' % 0 =? '0' ... yes u'%#o' % 0 =? '0' ... yes '%#o' % 0L =? '0' ... yes u'%#o' % 0L =? '0' ... yes '%o' % 0 =? '0' ... yes u'%o' % 0 =? '0' ... yes '%o' % 0L =? '0' ... yes u'%o' % 0L =? '0' ... yes '%d' % 0 =? '0' ... yes u'%d' % 0 =? '0' ... yes '%d' % 0L =? '0' ... yes u'%d' % 0L =? '0' ... yes '%#x' % 0 =? '0x0' ... yes u'%#x' % 0 =? '0x0' ... yes '%#x' % 0L =? '0x0' ... yes u'%#x' % 0L =? '0x0' ... yes '%#X' % 0 =? '0X0' ... yes u'%#X' % 0 =? '0X0' ... yes '%#X' % 0L =? '0X0' ... yes u'%#X' % 0L =? '0X0' ... yes '%x' % 66 =? '42' ... yes u'%x' % 66 =? '42' ... yes '%x' % -66 =? '-42' ... yes u'%x' % -66 =? '-42' ... yes '%x' % 66L =? '42' ... yes u'%x' % 66L =? '42' ... yes '%x' % -66L =? '-42' ... yes u'%x' % -66L =? '-42' ... yes '%x' % 66.0 =? '42' ... yes u'%x' % 66.0 =? '42' ... yes '%o' % 34 =? '42' ... yes u'%o' % 34 =? '42' ... yes '%o' % -34 =? '-42' ... yes u'%o' % -34 =? '-42' ... yes '%o' % 34L =? '42' ... yes u'%o' % 34L =? '42' ... yes '%o' % -34L =? '-42' ... yes u'%o' % -34L =? '-42' ... yes '%o' % 34.0 =? '42' ... yes u'%o' % 34.0 =? '42' ... yes '%g' % 1.1000000000000001 =? '1.1' ... yes '%#g' % 1.1000000000000001 =? '1.10000' ... yes Testing exceptions 'abc %a' % 1 works? ... yes u'abc %\u3000' % 1 works? ... yes '%d' % '1' works? ... yes '%g' % '1' works? ... yes 'no format' % '1' works? ... yes 'no format' % u'1' works? ... yes u'no format' % '1' works? ... yes u'no format' % u'1' works? ... yes '%o' % 0L works? ... yes ok ---------------------------------------------------------------------- Ran 1 test in 0.002s OK test_fpformat test_basic_cases (test.test_fpformat.FpformatTest) ... ok test_failing_values (test.test_fpformat.FpformatTest) ... ok test_reasonable_values (test.test_fpformat.FpformatTest) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.007s OK test_fractions /home/exarkun/Projects/python/trunk/Lib/test/test_fractions.py:15: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class DummyFloat(object): /home/exarkun/Projects/python/trunk/Lib/test/test_fractions.py:47: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class DummyRational(object): testApproximateCos1 (test.test_fractions.FractionTest) ... ok testApproximatePi (test.test_fractions.FractionTest) ... ok testArithmetic (test.test_fractions.FractionTest) ... ok testBigComplexComparisons (test.test_fractions.FractionTest) ... ok testBigFloatComparisons (test.test_fractions.FractionTest) ... ok testComparisons (test.test_fractions.FractionTest) ... ok testComparisonsDummyFloat (test.test_fractions.FractionTest) ... ok testComparisonsDummyRational (test.test_fractions.FractionTest) ... ok testConversions (test.test_fractions.FractionTest) ... ok testFromDecimal (test.test_fractions.FractionTest) ... ok testFromFloat (test.test_fractions.FractionTest) ... ok testFromString (test.test_fractions.FractionTest) ... ok testHash (test.test_fractions.FractionTest) ... ok testImmutable (test.test_fractions.FractionTest) ... ok testInit (test.test_fractions.FractionTest) ... ok testLimitDenominator (test.test_fractions.FractionTest) ... ok testMixedArithmetic (test.test_fractions.FractionTest) ... ok testMixedEqual (test.test_fractions.FractionTest) ... ok testMixedLess (test.test_fractions.FractionTest) ... ok testMixedLessEqual (test.test_fractions.FractionTest) ... ok testMixingWithDecimal (test.test_fractions.FractionTest) ... ok testStringification (test.test_fractions.FractionTest) ... ok test_copy_deepcopy_pickle (test.test_fractions.FractionTest) ... ok test_slots (test.test_fractions.FractionTest) ... ok testMisc (test.test_fractions.GcdTest) ... ok ---------------------------------------------------------------------- Ran 25 tests in 0.009s OK test_frozen test_frozen (test.test_frozen.FrozenTests) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_ftplib test_acct (test.test_ftplib.TestFTPClass) ... ok test_all_errors (test.test_ftplib.TestFTPClass) ... ok test_delete (test.test_ftplib.TestFTPClass) ... ok test_dir (test.test_ftplib.TestFTPClass) ... /home/exarkun/Projects/python/trunk/Lib/test/test_ftplib.py:93: DeprecationWarning: classic int division ip = ip.replace('.', ','); p1 = port / 256; p2 = port % 256 ok test_exceptions (test.test_ftplib.TestFTPClass) ... ok test_getwelcome (test.test_ftplib.TestFTPClass) ... ok test_login (test.test_ftplib.TestFTPClass) ... ok test_makepasv (test.test_ftplib.TestFTPClass) ... ok test_makeport (test.test_ftplib.TestFTPClass) ... ok test_mkd (test.test_ftplib.TestFTPClass) ... ok test_nlst (test.test_ftplib.TestFTPClass) ... ok test_pwd (test.test_ftplib.TestFTPClass) ... ok test_quit (test.test_ftplib.TestFTPClass) ... ok test_rename (test.test_ftplib.TestFTPClass) ... ok test_retrbinary (test.test_ftplib.TestFTPClass) ... ok test_retrlines (test.test_ftplib.TestFTPClass) ... ok test_rmd (test.test_ftplib.TestFTPClass) ... ok test_sanitize (test.test_ftplib.TestFTPClass) ... ok test_set_pasv (test.test_ftplib.TestFTPClass) ... ok test_size (test.test_ftplib.TestFTPClass) ... ok test_storbinary (test.test_ftplib.TestFTPClass) ... ok test_storlines (test.test_ftplib.TestFTPClass) ... ok test_voidcmd (test.test_ftplib.TestFTPClass) ... ok testTimeoutConnect (test.test_ftplib.TestTimeouts) ... ok testTimeoutDefault (test.test_ftplib.TestTimeouts) ... ok testTimeoutDifferentOrder (test.test_ftplib.TestTimeouts) ... ok testTimeoutDirectAccess (test.test_ftplib.TestTimeouts) ... ok testTimeoutNone (test.test_ftplib.TestTimeouts) ... ok testTimeoutValue (test.test_ftplib.TestTimeouts) ... ok ---------------------------------------------------------------------- Ran 29 tests in 0.384s OK test_funcattrs test_blank_func_defaults (test.test_funcattrs.FunctionPropertiesTest) ... ok test_copying_func_code (test.test_funcattrs.FunctionPropertiesTest) ... ok test_dir_includes_correct_attrs (test.test_funcattrs.FunctionPropertiesTest) ... ok test_duplicate_function_equality (test.test_funcattrs.FunctionPropertiesTest) ... ok test_empty_cell (test.test_funcattrs.FunctionPropertiesTest) ... ok test_func_closure (test.test_funcattrs.FunctionPropertiesTest) ... ok test_func_code (test.test_funcattrs.FunctionPropertiesTest) ... ok test_func_default_args (test.test_funcattrs.FunctionPropertiesTest) ... ok test_func_globals (test.test_funcattrs.FunctionPropertiesTest) ... ok test_func_name (test.test_funcattrs.FunctionPropertiesTest) ... ok test_module (test.test_funcattrs.FunctionPropertiesTest) ... ok test_im_class (test.test_funcattrs.InstancemethodAttrTest) ... ok test_im_func (test.test_funcattrs.InstancemethodAttrTest) ... ok test_im_func_non_method (test.test_funcattrs.InstancemethodAttrTest) ... ok test_im_self (test.test_funcattrs.InstancemethodAttrTest) ... ok test_implicit_method_properties (test.test_funcattrs.InstancemethodAttrTest) ... ok test_delete_unknown_attr (test.test_funcattrs.ArbitraryFunctionAttrTest) ... ok test_set_attr (test.test_funcattrs.ArbitraryFunctionAttrTest) ... ok test_setting_attrs_duplicates (test.test_funcattrs.ArbitraryFunctionAttrTest) ... ok test_unset_attr (test.test_funcattrs.ArbitraryFunctionAttrTest) ... ok test_delete_func_dict (test.test_funcattrs.FunctionDictsTest) ... ok test_func_as_dict_key (test.test_funcattrs.FunctionDictsTest) ... ok test_setting_dict_to_invalid (test.test_funcattrs.FunctionDictsTest) ... ok test_setting_dict_to_valid (test.test_funcattrs.FunctionDictsTest) ... ok test_unassigned_dict (test.test_funcattrs.FunctionDictsTest) ... ok test_delete_docstring (test.test_funcattrs.FunctionDocstringTest) ... ok test_set_docstring_attr (test.test_funcattrs.FunctionDocstringTest) ... ok test_func_attribute (test.test_funcattrs.StaticMethodAttrsTest) ... ok ---------------------------------------------------------------------- Ran 28 tests in 0.002s OK test_functools test_arg_combinations (test.test_functools.TestPartial) ... ok test_argument_checking (test.test_functools.TestPartial) ... ok test_attributes (test.test_functools.TestPartial) ... ok test_basic_examples (test.test_functools.TestPartial) ... ok test_error_propagation (test.test_functools.TestPartial) ... /home/exarkun/Projects/python/trunk/Lib/test/test_functools.py:119: DeprecationWarning: classic int division x / y ok test_keyword (test.test_functools.TestPartial) ... ok test_kw_combinations (test.test_functools.TestPartial) ... ok test_no_side_effects (test.test_functools.TestPartial) ... ok test_pickle (test.test_functools.TestPartial) ... ok test_positional (test.test_functools.TestPartial) ... ok test_protection_of_callers_dict_argument (test.test_functools.TestPartial) ... ok test_weakref (test.test_functools.TestPartial) ... ok test_with_bound_and_unbound_methods (test.test_functools.TestPartial) ... ok test_arg_combinations (test.test_functools.TestPartialSubclass) ... ok test_argument_checking (test.test_functools.TestPartialSubclass) ... ok test_attributes (test.test_functools.TestPartialSubclass) ... ok test_basic_examples (test.test_functools.TestPartialSubclass) ... ok test_error_propagation (test.test_functools.TestPartialSubclass) ... ok test_keyword (test.test_functools.TestPartialSubclass) ... ok test_kw_combinations (test.test_functools.TestPartialSubclass) ... ok test_no_side_effects (test.test_functools.TestPartialSubclass) ... ok test_pickle (test.test_functools.TestPartialSubclass) ... ok test_positional (test.test_functools.TestPartialSubclass) ... ok test_protection_of_callers_dict_argument (test.test_functools.TestPartialSubclass) ... ok test_weakref (test.test_functools.TestPartialSubclass) ... ok test_with_bound_and_unbound_methods (test.test_functools.TestPartialSubclass) ... ok test_arg_combinations (test.test_functools.TestPythonPartial) ... ok test_argument_checking (test.test_functools.TestPythonPartial) ... ok test_attributes (test.test_functools.TestPythonPartial) ... ok test_basic_examples (test.test_functools.TestPythonPartial) ... ok test_error_propagation (test.test_functools.TestPythonPartial) ... ok test_keyword (test.test_functools.TestPythonPartial) ... ok test_kw_combinations (test.test_functools.TestPythonPartial) ... ok test_no_side_effects (test.test_functools.TestPythonPartial) ... ok test_pickle (test.test_functools.TestPythonPartial) ... ok test_positional (test.test_functools.TestPythonPartial) ... ok test_protection_of_callers_dict_argument (test.test_functools.TestPythonPartial) ... ok test_weakref (test.test_functools.TestPythonPartial) ... ok test_with_bound_and_unbound_methods (test.test_functools.TestPythonPartial) ... ok test_builtin_update (test.test_functools.TestUpdateWrapper) ... ok test_default_update (test.test_functools.TestUpdateWrapper) ... ok test_no_update (test.test_functools.TestUpdateWrapper) ... ok test_selective_update (test.test_functools.TestUpdateWrapper) ... ok test_builtin_update (test.test_functools.TestWraps) ... ok test_default_update (test.test_functools.TestWraps) ... ok test_no_update (test.test_functools.TestWraps) ... ok test_selective_update (test.test_functools.TestWraps) ... ok test_reduce (test.test_functools.TestReduce) ... ok ---------------------------------------------------------------------- Ran 48 tests in 0.003s OK test_future test_badfuture3 (test.test_future.FutureTest) ... ok test_badfuture4 (test.test_future.FutureTest) ... ok test_badfuture5 (test.test_future.FutureTest) ... ok test_badfuture6 (test.test_future.FutureTest) ... ok test_badfuture7 (test.test_future.FutureTest) ... ok test_badfuture8 (test.test_future.FutureTest) ... ok test_badfuture9 (test.test_future.FutureTest) ... ok test_future1 (test.test_future.FutureTest) ... ok test_future2 (test.test_future.FutureTest) ... ok test_future3 (test.test_future.FutureTest) ... ok test_multiple_features (test.test_future.FutureTest) ... ok test_parserhack (test.test_future.FutureTest) ... ok test_unicode_literals_exec (test.test_future.FutureTest) ... ok ---------------------------------------------------------------------- Ran 13 tests in 0.002s OK test_future3 test_floor_div_operator (test.test_future3.TestFuture) ... ok test_nested_scopes (test.test_future3.TestFuture) ... ok test_true_div_as_default (test.test_future3.TestFuture) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_future4 test_unicode_strings (test.test_future4.TestFuture) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_future5 test_print_function (test.test_future5.TestMultipleFeatures) ... ok test_unicode_literals (test.test_future5.TestMultipleFeatures) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test_future_builtins test_hex (test.test_future_builtins.BuiltinTest) ... ok test_itertools (test.test_future_builtins.BuiltinTest) ... ok test_oct (test.test_future_builtins.BuiltinTest) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_gc test_boom (test.test_gc.GCTests) ... ok test_boom2 (test.test_gc.GCTests) ... ok test_boom2_new (test.test_gc.GCTests) ... ok test_boom_new (test.test_gc.GCTests) ... ok test_bug1055820b (test.test_gc.GCTests) ... ok test_class (test.test_gc.GCTests) ... ok test_collect_generations (test.test_gc.GCTests) ... ok test_del (test.test_gc.GCTests) ... ok test_del_newclass (test.test_gc.GCTests) ... ok test_dict (test.test_gc.GCTests) ... ok test_finalizer (test.test_gc.GCTests) ... ok test_finalizer_newclass (test.test_gc.GCTests) ... ok test_frame (test.test_gc.GCTests) ... ok test_function (test.test_gc.GCTests) ... ok test_get_count (test.test_gc.GCTests) ... ok test_get_referents (test.test_gc.GCTests) ... ok test_instance (test.test_gc.GCTests) ... ok test_is_tracked (test.test_gc.GCTests) ... ok test_list (test.test_gc.GCTests) ... ok test_method (test.test_gc.GCTests) ... ok test_newinstance (test.test_gc.GCTests) ... ok test_newstyleclass (test.test_gc.GCTests) ... ok test_saveall (test.test_gc.GCTests) ... ok test_trashcan (test.test_gc.GCTests) ... ok test_tuple (test.test_gc.GCTests) ... ok test_bug1055820c (test.test_gc.GCTogglingTests) ... ok test_bug1055820d (test.test_gc.GCTogglingTests) ... ok ---------------------------------------------------------------------- Ran 27 tests in 2.287s OK restoring automatic collection test_gdbm test_error_conditions (test.test_gdbm.TestGdbm) ... ok test_flags (test.test_gdbm.TestGdbm) ... ok test_key_methods (test.test_gdbm.TestGdbm) ... ok test_reorganize (test.test_gdbm.TestGdbm) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.022s OK test_generators Trying: for c in conjoin([lambda: iter((0, 1))] * 3): print c Expecting: [0, 0, 0] [0, 0, 1] [0, 1, 0] [0, 1, 1] [1, 0, 0] [1, 0, 1] [1, 1, 0] [1, 1, 1] ok Trying: def gencopy(iterator): for x in iterator: yield x[:] Expecting nothing ok Trying: for n in range(10): all = list(gencopy(conjoin([lambda: iter((0, 1))] * n))) print n, len(all), all[0] == [0] * n, all[-1] == [1] * n Expecting: 0 1 True True 1 2 True True 2 4 True True 3 8 True True 4 16 True True 5 32 True True 6 64 True True 7 128 True True 8 256 True True 9 512 True True ok Trying: q = Queens(8) Expecting nothing ok Trying: LIMIT = 2 Expecting nothing ok Trying: count = 0 Expecting nothing ok Trying: for row2col in q.solve(): count += 1 if count <= LIMIT: print "Solution", count q.printsolution(row2col) Expecting: Solution 1 +-+-+-+-+-+-+-+-+ |Q| | | | | | | | +-+-+-+-+-+-+-+-+ | | | | |Q| | | | +-+-+-+-+-+-+-+-+ | | | | | | | |Q| +-+-+-+-+-+-+-+-+ | | | | | |Q| | | +-+-+-+-+-+-+-+-+ | | |Q| | | | | | +-+-+-+-+-+-+-+-+ | | | | | | |Q| | +-+-+-+-+-+-+-+-+ | |Q| | | | | | | +-+-+-+-+-+-+-+-+ | | | |Q| | | | | +-+-+-+-+-+-+-+-+ Solution 2 +-+-+-+-+-+-+-+-+ |Q| | | | | | | | +-+-+-+-+-+-+-+-+ | | | | | |Q| | | +-+-+-+-+-+-+-+-+ | | | | | | | |Q| +-+-+-+-+-+-+-+-+ | | |Q| | | | | | +-+-+-+-+-+-+-+-+ | | | | | | |Q| | +-+-+-+-+-+-+-+-+ | | | |Q| | | | | +-+-+-+-+-+-+-+-+ | |Q| | | | | | | +-+-+-+-+-+-+-+-+ | | | | |Q| | | | +-+-+-+-+-+-+-+-+ ok Trying: print count, "solutions in all." Expecting: 92 solutions in all. ok Trying: k = Knights(10, 10) Expecting nothing ok Trying: LIMIT = 2 Expecting nothing ok Trying: count = 0 Expecting nothing ok Trying: for x in k.solve(): count += 1 if count <= LIMIT: print "Solution", count k.printsolution(x) else: break Expecting: Solution 1 +---+---+---+---+---+---+---+---+---+---+ | 1| 58| 27| 34| 3| 40| 29| 10| 5| 8| +---+---+---+---+---+---+---+---+---+---+ | 26| 35| 2| 57| 28| 33| 4| 7| 30| 11| +---+---+---+---+---+---+---+---+---+---+ | 59|100| 73| 36| 41| 56| 39| 32| 9| 6| +---+---+---+---+---+---+---+---+---+---+ | 74| 25| 60| 55| 72| 37| 42| 49| 12| 31| +---+---+---+---+---+---+---+---+---+---+ | 61| 86| 99| 76| 63| 52| 47| 38| 43| 50| +---+---+---+---+---+---+---+---+---+---+ | 24| 75| 62| 85| 54| 71| 64| 51| 48| 13| +---+---+---+---+---+---+---+---+---+---+ | 87| 98| 91| 80| 77| 84| 53| 46| 65| 44| +---+---+---+---+---+---+---+---+---+---+ | 90| 23| 88| 95| 70| 79| 68| 83| 14| 17| +---+---+---+---+---+---+---+---+---+---+ | 97| 92| 21| 78| 81| 94| 19| 16| 45| 66| +---+---+---+---+---+---+---+---+---+---+ | 22| 89| 96| 93| 20| 69| 82| 67| 18| 15| +---+---+---+---+---+---+---+---+---+---+ Solution 2 +---+---+---+---+---+---+---+---+---+---+ | 1| 58| 27| 34| 3| 40| 29| 10| 5| 8| +---+---+---+---+---+---+---+---+---+---+ | 26| 35| 2| 57| 28| 33| 4| 7| 30| 11| +---+---+---+---+---+---+---+---+---+---+ | 59|100| 73| 36| 41| 56| 39| 32| 9| 6| +---+---+---+---+---+---+---+---+---+---+ | 74| 25| 60| 55| 72| 37| 42| 49| 12| 31| +---+---+---+---+---+---+---+---+---+---+ | 61| 86| 99| 76| 63| 52| 47| 38| 43| 50| +---+---+---+---+---+---+---+---+---+---+ | 24| 75| 62| 85| 54| 71| 64| 51| 48| 13| +---+---+---+---+---+---+---+---+---+---+ | 87| 98| 89| 80| 77| 84| 53| 46| 65| 44| +---+---+---+---+---+---+---+---+---+---+ | 90| 23| 92| 95| 70| 79| 68| 83| 14| 17| +---+---+---+---+---+---+---+---+---+---+ | 97| 88| 21| 78| 81| 94| 19| 16| 45| 66| +---+---+---+---+---+---+---+---+---+---+ | 22| 91| 96| 93| 20| 69| 82| 67| 18| 15| +---+---+---+---+---+---+---+---+---+---+ ok Trying: def f(): print (yield 1) yield 2 Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting: 1 ok Trying: g.send(42) Expecting: 42 2 ok Trying: f().send("foo") Expecting: Traceback (most recent call last): ... TypeError: can't send non-None value to a just-started generator ok Trying: def f(): yield Expecting nothing ok Trying: list(f()) Expecting: [None] ok Trying: list((yield 21) for i in range(4)) Expecting: [21, None, 21, None, 21, None, 21, None] ok Trying: def f(): list(i for i in [(yield 26)]) Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def coroutine(seq): count = 0 while count < 200: count += yield seq.append(count) Expecting nothing ok Trying: seq = [] Expecting nothing ok Trying: c = coroutine(seq) Expecting nothing ok Trying: c.next() Expecting nothing ok Trying: print seq Expecting: [] ok Trying: c.send(10) Expecting nothing ok Trying: print seq Expecting: [10] ok Trying: c.send(10) Expecting nothing ok Trying: print seq Expecting: [10, 20] ok Trying: c.send(10) Expecting nothing ok Trying: print seq Expecting: [10, 20, 30] ok Trying: f=lambda: (yield 1),(yield 2) Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: 'yield' outside function ok Trying: def f(): return lambda x=(yield): 1 Expecting: Traceback (most recent call last): ... SyntaxError: 'return' with argument inside generator (, line 1) ok Trying: def f(): x = yield = y Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: assignment to yield expression not possible ok Trying: def f(): (yield bar) = y Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: can't assign to yield expression ok Trying: def f(): (yield bar) += y Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: can't assign to yield expression ok Trying: def f(): while True: try: print (yield) except ValueError,v: print "caught ValueError (%s)" % (v), Expecting nothing ok Trying: import sys Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: g.throw(ValueError) # type only Expecting: caught ValueError () ok Trying: g.throw(ValueError("xyz")) # value only Expecting: caught ValueError (xyz) ok Trying: g.throw(ValueError, ValueError(1)) # value+matching type Expecting: caught ValueError (1) ok Trying: g.throw(ValueError, TypeError(1)) # mismatched type, rewrapped Expecting: caught ValueError (1) ok Trying: g.throw(ValueError, ValueError(1), None) # explicit None traceback Expecting: caught ValueError (1) ok Trying: g.throw(ValueError(1), "foo") # bad args Expecting: Traceback (most recent call last): ... TypeError: instance exception may not have a separate value ok Trying: g.throw(ValueError, "foo", 23) # bad args Expecting: Traceback (most recent call last): ... TypeError: throw() third argument must be a traceback object ok Trying: def throw(g,exc): try: raise exc except: g.throw(*sys.exc_info()) Expecting nothing ok Trying: throw(g,ValueError) # do it with traceback included Expecting: caught ValueError () ok Trying: g.send(1) Expecting: 1 ok Trying: throw(g,TypeError) # terminate the generator Expecting: Traceback (most recent call last): ... TypeError ok Trying: print g.gi_frame Expecting: None ok Trying: g.send(2) Expecting: Traceback (most recent call last): ... StopIteration ok Trying: g.throw(ValueError,6) # throw on closed generator Expecting: Traceback (most recent call last): ... ValueError: 6 ok Trying: f().throw(ValueError,7) # throw on just-opened generator Expecting: Traceback (most recent call last): ... ValueError: 7 ok Trying: f().throw("abc") # throw on just-opened generator Expecting: Traceback (most recent call last): ... TypeError: exceptions must be classes, or instances, not str ok Trying: def f(): try: yield except GeneratorExit: print "exiting" Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: g.close() Expecting: exiting ok Trying: g.close() # should be no-op now Expecting nothing ok Trying: f().close() # close on just-opened generator should be fine Expecting nothing ok Trying: def f(): yield # an even simpler generator Expecting nothing ok Trying: f().close() # close before opening Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: g.close() # close normally Expecting nothing ok Trying: def f(): try: yield finally: print "exiting" Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: del g Expecting: exiting ok Trying: def f(): try: yield except Exception: print 'except' finally: print 'finally' Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: del g Expecting: finally ok Trying: def f(): try: yield except GeneratorExit: yield "foo!" Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: g.close() Expecting: Traceback (most recent call last): ... RuntimeError: generator ignored GeneratorExit ok Trying: g.close() Expecting nothing ok Trying: import sys, StringIO Expecting nothing ok Trying: old, sys.stderr = sys.stderr, StringIO.StringIO() Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: del g Expecting nothing ok Trying: sys.stderr.getvalue().startswith( "Exception RuntimeError: 'generator ignored GeneratorExit' in " ) Expecting: True ok Trying: sys.stderr = old Expecting nothing ok Trying: def f(): try: yield except GeneratorExit: raise TypeError("fie!") Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting nothing ok Trying: g.close() Expecting: Traceback (most recent call last): ... TypeError: fie! ok Trying: def f(): x += yield Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): x = yield Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): lambda x=(yield): 1 Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): x=(i for i in (yield) if (yield)) Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(d): d[(yield "a")] = d[(yield "b")] = 27 Expecting nothing ok Trying: data = [1,2] Expecting nothing ok Trying: g = f(data) Expecting nothing ok Trying: type(g) Expecting: ok Trying: g.send(None) Expecting: 'a' ok Trying: data Expecting: [1, 2] ok Trying: g.send(0) Expecting: 'b' ok Trying: data Expecting: [27, 2] ok Trying: try: g.send(1) except StopIteration: pass Expecting nothing ok Trying: data Expecting: [27, 27] ok Trying: def g(): for i in range(3): yield None yield None return Expecting nothing ok Trying: list(g()) Expecting: [None, None, None, None] ok Trying: def g(): yield 1 try: raise StopIteration except: yield 2 yield 3 Expecting nothing ok Trying: list(g()) Expecting: [1, 2, 3] ok Trying: def gcomb(x, k): "Generate all combinations of k elements from list x." if k > len(x): return if k == 0: yield [] else: first, rest = x[0], x[1:] # A combination does or doesn't contain first. # If it does, the remainder is a k-1 comb of rest. for c in gcomb(rest, k-1): c.insert(0, first) yield c # If it doesn't contain first, it's a k comb of rest. for c in gcomb(rest, k): yield c Expecting nothing ok Trying: seq = range(1, 5) Expecting nothing ok Trying: for k in range(len(seq) + 2): print "%d-combs of %s:" % (k, seq) for c in gcomb(seq, k): print " ", c Expecting: 0-combs of [1, 2, 3, 4]: [] 1-combs of [1, 2, 3, 4]: [1] [2] [3] [4] 2-combs of [1, 2, 3, 4]: [1, 2] [1, 3] [1, 4] [2, 3] [2, 4] [3, 4] 3-combs of [1, 2, 3, 4]: [1, 2, 3] [1, 2, 4] [1, 3, 4] [2, 3, 4] 4-combs of [1, 2, 3, 4]: [1, 2, 3, 4] 5-combs of [1, 2, 3, 4]: ok Trying: def g(): yield 1 Expecting nothing ok Trying: type(g) Expecting: ok Trying: i = g() Expecting nothing ok Trying: type(i) Expecting: ok Trying: [s for s in dir(i) if not s.startswith('_')] Expecting: ['close', 'gi_code', 'gi_frame', 'gi_running', 'next', 'send', 'throw'] ok Trying: print i.next.__doc__ Expecting: x.next() -> the next value, or raise StopIteration ok Trying: iter(i) is i Expecting: True ok Trying: import types Expecting nothing ok Trying: isinstance(i, types.GeneratorType) Expecting: True ok Trying: i.gi_running Expecting: 0 ok Trying: type(i.gi_frame) Expecting: ok Trying: i.gi_running = 42 Expecting: Traceback (most recent call last): ... TypeError: readonly attribute ok Trying: def g(): yield me.gi_running Expecting nothing ok Trying: me = g() Expecting nothing ok Trying: me.gi_running Expecting: 0 ok Trying: me.next() Expecting: 1 ok Trying: me.gi_running Expecting: 0 ok Trying: class disjointSet: def __init__(self, name): self.name = name self.parent = None self.generator = self.generate() def generate(self): while not self.parent: yield self for x in self.parent.generator: yield x def find(self): return self.generator.next() def union(self, parent): if self.parent: raise ValueError("Sorry, I'm not a root!") self.parent = parent def __str__(self): return self.name Expecting nothing ok Trying: names = "ABCDEFGHIJKLM" Expecting nothing ok Trying: sets = [disjointSet(name) for name in names] Expecting nothing ok Trying: roots = sets[:] Expecting nothing ok Trying: import random Expecting nothing ok Trying: gen = random.WichmannHill(42) Expecting nothing ok Trying: while 1: for s in sets: print "%s->%s" % (s, s.find()), print if len(roots) > 1: s1 = gen.choice(roots) roots.remove(s1) s2 = gen.choice(roots) s1.union(s2) print "merged", s1, "into", s2 else: break Expecting: A->A B->B C->C D->D E->E F->F G->G H->H I->I J->J K->K L->L M->M merged D into G A->A B->B C->C D->G E->E F->F G->G H->H I->I J->J K->K L->L M->M merged C into F A->A B->B C->F D->G E->E F->F G->G H->H I->I J->J K->K L->L M->M merged L into A A->A B->B C->F D->G E->E F->F G->G H->H I->I J->J K->K L->A M->M merged H into E A->A B->B C->F D->G E->E F->F G->G H->E I->I J->J K->K L->A M->M merged B into E A->A B->E C->F D->G E->E F->F G->G H->E I->I J->J K->K L->A M->M merged J into G A->A B->E C->F D->G E->E F->F G->G H->E I->I J->G K->K L->A M->M merged E into G A->A B->G C->F D->G E->G F->F G->G H->G I->I J->G K->K L->A M->M merged M into G A->A B->G C->F D->G E->G F->F G->G H->G I->I J->G K->K L->A M->G merged I into K A->A B->G C->F D->G E->G F->F G->G H->G I->K J->G K->K L->A M->G merged K into A A->A B->G C->F D->G E->G F->F G->G H->G I->A J->G K->A L->A M->G merged F into A A->A B->G C->A D->G E->G F->A G->G H->G I->A J->G K->A L->A M->G merged A into G A->G B->G C->G D->G E->G F->G G->G H->G I->G J->G K->G L->G M->G ok Trying: def firstn(g, n): return [g.next() for i in range(n)] Expecting nothing ok Trying: def intsfrom(i): while 1: yield i i += 1 Expecting nothing ok Trying: firstn(intsfrom(5), 7) Expecting: [5, 6, 7, 8, 9, 10, 11] ok Trying: def exclude_multiples(n, ints): for i in ints: if i % n: yield i Expecting nothing ok Trying: firstn(exclude_multiples(3, intsfrom(1)), 6) Expecting: [1, 2, 4, 5, 7, 8] ok Trying: def sieve(ints): prime = ints.next() yield prime not_divisible_by_prime = exclude_multiples(prime, ints) for p in sieve(not_divisible_by_prime): yield p Expecting nothing ok Trying: primes = sieve(intsfrom(2)) Expecting nothing ok Trying: firstn(primes, 20) Expecting: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71] ok Trying: def times(n, g): for i in g: yield n * i Expecting nothing ok Trying: firstn(times(10, intsfrom(1)), 10) Expecting: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100] ok Trying: def merge(g, h): ng = g.next() nh = h.next() while 1: if ng < nh: yield ng ng = g.next() elif ng > nh: yield nh nh = h.next() else: yield ng ng = g.next() nh = h.next() Expecting nothing ok Trying: def m235(): yield 1 me_times2 = times(2, m235()) me_times3 = times(3, m235()) me_times5 = times(5, m235()) for i in merge(merge(me_times2, me_times3), me_times5): yield i Expecting nothing ok Trying: result = m235() Expecting nothing ok Trying: for i in range(3): print firstn(result, 15) Expecting: [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24] [25, 27, 30, 32, 36, 40, 45, 48, 50, 54, 60, 64, 72, 75, 80] [81, 90, 96, 100, 108, 120, 125, 128, 135, 144, 150, 160, 162, 180, 192] ok Trying: class LazyList: def __init__(self, g): self.sofar = [] self.fetch = g.next def __getitem__(self, i): sofar, fetch = self.sofar, self.fetch while i >= len(sofar): sofar.append(fetch()) return sofar[i] Expecting nothing ok Trying: def m235(): yield 1 # Gack: m235 below actually refers to a LazyList. me_times2 = times(2, m235) me_times3 = times(3, m235) me_times5 = times(5, m235) for i in merge(merge(me_times2, me_times3), me_times5): yield i Expecting nothing ok Trying: m235 = LazyList(m235()) Expecting nothing ok Trying: for i in range(5): print [m235[j] for j in range(15*i, 15*(i+1))] Expecting: [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24] [25, 27, 30, 32, 36, 40, 45, 48, 50, 54, 60, 64, 72, 75, 80] [81, 90, 96, 100, 108, 120, 125, 128, 135, 144, 150, 160, 162, 180, 192] [200, 216, 225, 240, 243, 250, 256, 270, 288, 300, 320, 324, 360, 375, 384] [400, 405, 432, 450, 480, 486, 500, 512, 540, 576, 600, 625, 640, 648, 675] ok Trying: def fibgen(a, b): def sum(g, h): while 1: yield g.next() + h.next() def tail(g): g.next() # throw first away for x in g: yield x yield a yield b for s in sum(iter(fib), tail(iter(fib))): yield s Expecting nothing ok Trying: fib = LazyList(fibgen(1, 2)) Expecting nothing ok Trying: firstn(iter(fib), 17) Expecting: [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584] ok Trying: from itertools import tee Expecting nothing ok Trying: def m235(): def _m235(): yield 1 for n in merge(times(2, m2), merge(times(3, m3), times(5, m5))): yield n m1 = _m235() m2, m3, m5, mRes = tee(m1, 4) return mRes Expecting nothing ok Trying: it = m235() Expecting nothing ok Trying: for i in range(5): print firstn(it, 15) Expecting: [1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24] [25, 27, 30, 32, 36, 40, 45, 48, 50, 54, 60, 64, 72, 75, 80] [81, 90, 96, 100, 108, 120, 125, 128, 135, 144, 150, 160, 162, 180, 192] [200, 216, 225, 240, 243, 250, 256, 270, 288, 300, 320, 324, 360, 375, 384] [400, 405, 432, 450, 480, 486, 500, 512, 540, 576, 600, 625, 640, 648, 675] ok Trying: def fib(): def _isum(g, h): while 1: yield g.next() + h.next() def _fib(): yield 1 yield 2 fibTail.next() # throw first away for res in _isum(fibHead, fibTail): yield res realfib = _fib() fibHead, fibTail, fibRes = tee(realfib, 3) return fibRes Expecting nothing ok Trying: firstn(fib(), 17) Expecting: [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584] ok Trying: def g(): i = me.next() yield i Expecting nothing ok Trying: me = g() Expecting nothing ok Trying: me.next() Expecting: Traceback (most recent call last): ... File "", line 2, in g ValueError: generator already executing ok Trying: def f1(): try: return except: yield 1 Expecting nothing ok Trying: print list(f1()) Expecting: [] ok Trying: def f2(): try: raise StopIteration except: yield 42 Expecting nothing ok Trying: print list(f2()) Expecting: [42] ok Trying: def f(): return 1//0 Expecting nothing ok Trying: def g(): yield f() # the zero division exception propagates yield 42 # and we'll never get here Expecting nothing ok Trying: k = g() Expecting nothing ok Trying: k.next() Expecting: Traceback (most recent call last): File "", line 1, in ? File "", line 2, in g File "", line 2, in f ZeroDivisionError: integer division or modulo by zero ok Trying: k.next() # and the generator cannot be resumed Expecting: Traceback (most recent call last): File "", line 1, in ? StopIteration ok Trying: def f(): try: yield 1 try: yield 2 1//0 yield 3 # never get here except ZeroDivisionError: yield 4 yield 5 raise except: yield 6 yield 7 # the "raise" above stops this except: yield 8 yield 9 try: x = 12 finally: yield 10 yield 11 Expecting nothing ok Trying: print list(f()) Expecting: [1, 2, 4, 5, 8, 9, 10, 11] ok Trying: class Tree: def __init__(self, label, left=None, right=None): self.label = label self.left = left self.right = right def __repr__(self, level=0, indent=" "): s = level*indent + repr(self.label) if self.left: s = s + "\n" + self.left.__repr__(level+1, indent) if self.right: s = s + "\n" + self.right.__repr__(level+1, indent) return s def __iter__(self): return inorder(self) Expecting nothing ok Trying: def tree(list): n = len(list) if n == 0: return [] i = n // 2 return Tree(list[i], tree(list[:i]), tree(list[i+1:])) Expecting nothing ok Trying: t = tree("ABCDEFGHIJKLMNOPQRSTUVWXYZ") Expecting nothing ok Trying: def inorder(t): if t: for x in inorder(t.left): yield x yield t.label for x in inorder(t.right): yield x Expecting nothing ok Trying: t = tree("ABCDEFGHIJKLMNOPQRSTUVWXYZ") Expecting nothing ok Trying: for x in t: print x, Expecting: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ok Trying: def inorder(node): stack = [] while node: while node.left: stack.append(node) node = node.left yield node.label while not node.right: try: node = stack.pop() except IndexError: return yield node.label node = node.right Expecting nothing ok Trying: for x in t: print x, Expecting: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ok Trying: import itertools Expecting nothing ok Trying: def leak(): class gen: def __iter__(self): return self def next(self): return self.item g = gen() head, tail = itertools.tee(g) g.item = head return head Expecting nothing ok Trying: it = leak() Expecting nothing ok Trying: item = it.next() Expecting nothing ok Trying: def leak(): def gen(): while True: yield g g = gen() Expecting nothing ok Trying: leak() Expecting nothing ok Trying: import sys, StringIO Expecting nothing ok Trying: old = sys.stderr Expecting nothing ok Trying: try: sys.stderr = StringIO.StringIO() class Leaker: def __del__(self): raise RuntimeError l = Leaker() del l err = sys.stderr.getvalue().strip() err.startswith( "Exception RuntimeError: RuntimeError() in <" ) err.endswith("> ignored") len(err.splitlines()) finally: sys.stderr = old Expecting: True True 1 ok Trying: def f(): return 22 yield 1 Expecting: Traceback (most recent call last): .. SyntaxError: 'return' with argument inside generator (, line 3) ok Trying: def f(): yield 1 return 22 Expecting: Traceback (most recent call last): .. SyntaxError: 'return' with argument inside generator (, line 3) ok Trying: def f(): yield 1 return None Expecting: Traceback (most recent call last): .. SyntaxError: 'return' with argument inside generator (, line 3) ok Trying: def f(): yield 1 return Expecting nothing ok Trying: def f(): try: yield 1 finally: pass Expecting nothing ok Trying: def f(): try: try: 1//0 except ZeroDivisionError: yield 666 except: pass finally: pass Expecting nothing ok Trying: def f(): try: try: yield 12 1//0 except ZeroDivisionError: yield 666 except: try: x = 12 finally: yield 12 except: return Expecting nothing ok Trying: list(f()) Expecting: [12, 666] ok Trying: def f(): yield Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): if 0: yield Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): if 0: yield 1 Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): if "": yield None Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): return try: if x==4: pass elif 0: try: 1//0 except SyntaxError: pass else: if 0: while 12: x += 1 yield 2 # don't blink f(a, b, c, d, e) else: pass except: x = 1 return Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): if 0: def g(): yield 1 Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): if 0: class C: def __init__(self): yield 1 def f(self): yield 2 Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): if 0: return if 0: yield 2 Expecting nothing ok Trying: type(f()) Expecting: ok Trying: def f(): if 0: lambda x: x # shouldn't trigger here return # or here def f(i): return 2*i # or here if 0: return 3 # but *this* sucks (line 8) if 0: yield 2 # because it's a generator (line 10) Expecting: Traceback (most recent call last): SyntaxError: 'return' with argument inside generator (, line 10) ok Trying: def f(): for i in range(3): try: continue finally: yield i Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: print g.next() Expecting: 0 ok Trying: print g.next() Expecting: 1 ok Trying: print g.next() Expecting: 2 ok Trying: print g.next() Expecting: Traceback (most recent call last): StopIteration ok Trying: def f(): yield 5 Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.gi_code is f.func_code Expecting: True ok Trying: g.next() Expecting: 5 ok Trying: g.next() Expecting: Traceback (most recent call last): StopIteration ok Trying: g.gi_code is f.func_code Expecting: True ok Trying: def f(): yield 5 Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.__name__ Expecting: 'f' ok Trying: repr(g) # doctest: +ELLIPSIS Expecting: '' ok Trying: x = lambda: (yield 1) Expecting nothing ok Trying: list(x()) Expecting: [1] ok Trying: x = lambda: ((yield 1), (yield 2)) Expecting nothing ok Trying: list(x()) Expecting: [1, 2] ok Trying: def f(): yield 1 yield 2 Expecting nothing ok Trying: for i in f(): print i Expecting: 1 2 ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting: 1 ok Trying: g.next() Expecting: 2 ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in ? File "", line 2, in g StopIteration ok Trying: def f(): yield 1 return yield 2 # never reached Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting: 1 ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in ? File "", line 3, in f StopIteration ok Trying: g.next() # once stopped, can't be resumed Expecting: Traceback (most recent call last): File "", line 1, in ? StopIteration ok Trying: def f(): yield 1 raise StopIteration yield 2 # never reached Expecting nothing ok Trying: g = f() Expecting nothing ok Trying: g.next() Expecting: 1 ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in ? StopIteration ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in ? StopIteration ok Trying: def g1(): try: return except: yield 1 Expecting nothing ok Trying: list(g1()) Expecting: [] ok Trying: def g2(): try: raise StopIteration except: yield 42 Expecting nothing ok Trying: print list(g2()) Expecting: [42] ok Trying: def g3(): try: return finally: yield 1 Expecting nothing ok Trying: list(g3()) Expecting: [1] ok Trying: def yrange(n): for i in range(n): yield i Expecting nothing ok Trying: list(yrange(5)) Expecting: [0, 1, 2, 3, 4] ok Trying: def creator(): r = yrange(5) print "creator", r.next() return r Expecting nothing ok Trying: def caller(): r = creator() for i in r: print "caller", i Expecting nothing ok Trying: caller() Expecting: creator 0 caller 1 caller 2 caller 3 caller 4 ok Trying: def zrange(n): for i in yrange(n): yield i Expecting nothing ok Trying: list(zrange(5)) Expecting: [0, 1, 2, 3, 4] ok Trying: import weakref Expecting nothing ok Trying: def gen(): yield 'foo!' Expecting nothing ok Trying: wr = weakref.ref(gen) Expecting nothing ok Trying: wr() is gen Expecting: True ok Trying: p = weakref.proxy(gen) Expecting nothing ok Trying: gi = gen() Expecting nothing ok Trying: wr = weakref.ref(gi) Expecting nothing ok Trying: wr() is gi Expecting: True ok Trying: p = weakref.proxy(gi) Expecting nothing ok Trying: list(p) Expecting: ['foo!'] ok 16 items had no tests: test.test_generators test.test_generators.Knights test.test_generators.Knights.__init__ test.test_generators.Knights._init_board test.test_generators.Knights.coords2index test.test_generators.Knights.index2coords test.test_generators.Knights.printsolution test.test_generators.Knights.solve test.test_generators.Queens test.test_generators.Queens.__init__ test.test_generators.Queens.printsolution test.test_generators.Queens.solve test.test_generators.conjoin test.test_generators.flat_conjoin test.test_generators.simple_conjoin test.test_generators.test_main 9 items passed all tests: 12 tests in test.test_generators.__test__.conjoin 99 tests in test.test_generators.__test__.coroutine 31 tests in test.test_generators.__test__.email 27 tests in test.test_generators.__test__.fun 22 tests in test.test_generators.__test__.pep 9 tests in test.test_generators.__test__.refleaks 45 tests in test.test_generators.__test__.syntax 29 tests in test.test_generators.__test__.tut 10 tests in test.test_generators.__test__.weakref 284 tests in 25 items. 284 passed and 0 failed. Test passed. doctest (test.test_generators) ... 284 tests with zero failures test_genericpath test_commonprefix (test.test_genericpath.AllCommonTest) ... ok test_exists (test.test_genericpath.AllCommonTest) ... ok test_getsize (test.test_genericpath.AllCommonTest) ... ok test_isdir (test.test_genericpath.AllCommonTest) ... ok test_isfile (test.test_genericpath.AllCommonTest) ... ok test_time (test.test_genericpath.AllCommonTest) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.001s OK test_genexps Trying: sum(i*i for i in range(100) if i&1 == 1) Expecting: 166650 ok Trying: list((i,j) for i in range(3) for j in range(4) ) Expecting: [(0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3)] ok Trying: list((i,j) for i in range(4) for j in range(i) ) Expecting: [(1, 0), (2, 0), (2, 1), (3, 0), (3, 1), (3, 2)] ok Trying: i = 20 Expecting nothing ok Trying: sum(i*i for i in range(100)) Expecting: 328350 ok Trying: i Expecting: 20 ok Trying: g = (i*i for i in range(4)) Expecting nothing ok Trying: type(g) Expecting: ok Trying: list(g) Expecting: [0, 1, 4, 9] ok Trying: g = (i*i for i in range(3)) Expecting nothing ok Trying: g.next() Expecting: 0 ok Trying: g.next() Expecting: 1 ok Trying: g.next() Expecting: 4 ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in -toplevel- g.next() StopIteration ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in -toplevel- g.next() StopIteration ok Trying: list(g) Expecting: [] ok Trying: def f(n): return (i*i for i in xrange(n)) Expecting nothing ok Trying: list(f(10)) Expecting: [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] ok Trying: def f(n): return ((i,j) for i in xrange(3) for j in xrange(n)) Expecting nothing ok Trying: list(f(4)) Expecting: [(0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3)] ok Trying: def f(n): return ((i,j) for i in xrange(3) for j in xrange(4) if j in xrange(n)) Expecting nothing ok Trying: list(f(4)) Expecting: [(0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3)] ok Trying: list(f(2)) Expecting: [(0, 0), (0, 1), (1, 0), (1, 1), (2, 0), (2, 1)] ok Trying: def f(n): return i*i for i in xrange(n) Expecting: Traceback (most recent call last): ... SyntaxError: invalid syntax ok Trying: dict(a = i for i in xrange(10)) Expecting: Traceback (most recent call last): ... SyntaxError: invalid syntax ok Trying: dict(a = (i for i in xrange(10))) #doctest: +ELLIPSIS Expecting: {'a': at ...>} ok Trying: x=10 Expecting nothing ok Trying: g = (i*i for i in range(x)) Expecting nothing ok Trying: x = 5 Expecting nothing ok Trying: list(g) Expecting: [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] ok Trying: (i for i in 6) Expecting: Traceback (most recent call last): File "", line 1, in -toplevel- (i for i in 6) TypeError: 'int' object is not iterable ok Trying: include = (2,4,6,8) Expecting nothing ok Trying: g = (i*i for i in range(10) if i in include) Expecting nothing ok Trying: include = (1,3,5,7,9) Expecting nothing ok Trying: list(g) Expecting: [1, 9, 25, 49, 81] ok Trying: g = ((i,j) for i in range(3) for j in range(x)) Expecting nothing ok Trying: x = 4 Expecting nothing ok Trying: list(g) Expecting: [(0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3)] ok Trying: tupleids = map(id, ((i,i) for i in xrange(10))) Expecting nothing ok Trying: int(max(tupleids) - min(tupleids)) Expecting: 0 ok Trying: (y for y in (1,2)) = 10 Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: can't assign to generator expression ok Trying: (y for y in (1,2)) += 10 Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: can't assign to generator expression ok Trying: yrange = lambda n: (i for i in xrange(n)) Expecting nothing ok Trying: list(yrange(10)) Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] ok Trying: def creator(): r = yrange(5) print "creator", r.next() return r Expecting nothing ok Trying: def caller(): r = creator() for i in r: print "caller", i Expecting nothing ok Trying: caller() Expecting: creator 0 caller 1 caller 2 caller 3 caller 4 ok Trying: def zrange(n): for i in yrange(n): yield i Expecting nothing ok Trying: list(zrange(5)) Expecting: [0, 1, 2, 3, 4] ok Trying: g = (me.next() for i in xrange(10)) Expecting nothing ok Trying: me = g Expecting nothing ok Trying: me.next() Expecting: Traceback (most recent call last): File "", line 1, in -toplevel- me.next() File "", line 1, in g = (me.next() for i in xrange(10)) ValueError: generator already executing ok Trying: g = (10 // i for i in (5, 0, 2)) Expecting nothing ok Trying: g.next() Expecting: 2 ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in -toplevel- g.next() File "", line 1, in g = (10 // i for i in (5, 0, 2)) ZeroDivisionError: integer division or modulo by zero ok Trying: g.next() Expecting: Traceback (most recent call last): File "", line 1, in -toplevel- g.next() StopIteration ok Trying: list(None for i in xrange(10)) Expecting: [None, None, None, None, None, None, None, None, None, None] ok Trying: g = (i*i for i in range(3)) Expecting nothing ok Trying: expected = set(['gi_frame', 'gi_running', 'next']) Expecting nothing ok Trying: set(attr for attr in dir(g) if not attr.startswith('__')) >= expected Expecting: True ok Trying: print g.next.__doc__ Expecting: x.next() -> the next value, or raise StopIteration ok Trying: import types Expecting nothing ok Trying: isinstance(g, types.GeneratorType) Expecting: True ok Trying: iter(g) is g Expecting: True ok Trying: g = (me.gi_running for i in (0,1)) Expecting nothing ok Trying: me = g Expecting nothing ok Trying: me.gi_running Expecting: 0 ok Trying: me.next() Expecting: 1 ok Trying: me.gi_running Expecting: 0 ok Trying: import weakref Expecting nothing ok Trying: g = (i*i for i in range(4)) Expecting nothing ok Trying: wr = weakref.ref(g) Expecting nothing ok Trying: wr() is g Expecting: True ok Trying: p = weakref.proxy(g) Expecting nothing ok Trying: list(p) Expecting: [0, 1, 4, 9] ok 2 items had no tests: test.test_genexps test.test_genexps.test_main 1 items passed all tests: 75 tests in test.test_genexps.__test__.doctests 75 tests in 3 items. 75 passed and 0 failed. Test passed. doctest (test.test_genexps) ... 75 tests with zero failures test_getargs test_with_marshal (test.test_getargs.GetArgsTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_getargs2 test_i (test.test_getargs2.Signed_TestCase) ... ok test_l (test.test_getargs2.Signed_TestCase) ... ok test_n (test.test_getargs2.Signed_TestCase) ... ok test_B (test.test_getargs2.Unsigned_TestCase) ... ok test_H (test.test_getargs2.Unsigned_TestCase) ... ok test_I (test.test_getargs2.Unsigned_TestCase) ... ok test_b (test.test_getargs2.Unsigned_TestCase) ... ok test_k (test.test_getargs2.Unsigned_TestCase) ... ok test_tuple (test.test_getargs2.Tuple_TestCase) ... ok test_invalid_keyword (test.test_getargs2.Keywords_TestCase) ... ok test_keyword_args (test.test_getargs2.Keywords_TestCase) ... ok test_mixed_args (test.test_getargs2.Keywords_TestCase) ... ok test_optional_args (test.test_getargs2.Keywords_TestCase) ... ok test_positional_args (test.test_getargs2.Keywords_TestCase) ... ok test_required_args (test.test_getargs2.Keywords_TestCase) ... ok test_too_many_args (test.test_getargs2.Keywords_TestCase) ... ok test_K (test.test_getargs2.LongLong_TestCase) ... ok test_L (test.test_getargs2.LongLong_TestCase) ... ok ---------------------------------------------------------------------- Ran 18 tests in 0.001s OK test_getopt test_do_longs (test.test_getopt.GetoptTests) ... ok test_do_shorts (test.test_getopt.GetoptTests) ... ok test_getopt (test.test_getopt.GetoptTests) ... ok test_gnu_getopt (test.test_getopt.GetoptTests) ... ok test_libref_examples (test.test_getopt.GetoptTests) ... Trying: import getopt Expecting nothing ok Trying: args = '-a -b -cfoo -d bar a1 a2'.split() Expecting nothing ok Trying: args Expecting: ['-a', '-b', '-cfoo', '-d', 'bar', 'a1', 'a2'] ok Trying: optlist, args = getopt.getopt(args, 'abc:d:') Expecting nothing ok Trying: optlist Expecting: [('-a', ''), ('-b', ''), ('-c', 'foo'), ('-d', 'bar')] ok Trying: args Expecting: ['a1', 'a2'] ok Trying: s = '--condition=foo --testing --output-file abc.def -x a1 a2' Expecting nothing ok Trying: args = s.split() Expecting nothing ok Trying: args Expecting: ['--condition=foo', '--testing', '--output-file', 'abc.def', '-x', 'a1', 'a2'] ok Trying: optlist, args = getopt.getopt(args, 'x', [ 'condition=', 'output-file=', 'testing']) Expecting nothing ok Trying: optlist Expecting: [('--condition', 'foo'), ('--testing', ''), ('--output-file', 'abc.def'), ('-x', '')] ok Trying: args Expecting: ['a1', 'a2'] ok 1 items passed all tests: 12 tests in libreftest 12 tests in 1 items. 12 passed and 0 failed. Test passed. doctest (libreftest) ... 12 tests with zero failures ok test_long_has_args (test.test_getopt.GetoptTests) ... ok test_short_has_arg (test.test_getopt.GetoptTests) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.003s OK test_gettext test_double_quotes (test.test_gettext.GettextTestCase1) ... ok test_multiline_strings (test.test_gettext.GettextTestCase1) ... ok test_some_translations (test.test_gettext.GettextTestCase1) ... ok test_the_alternative_interface (test.test_gettext.GettextTestCase1) ... ok test_triple_double_quotes (test.test_gettext.GettextTestCase1) ... ok test_triple_single_quotes (test.test_gettext.GettextTestCase1) ... ok test_bindtextdomain (test.test_gettext.GettextTestCase2) ... ok test_double_quotes (test.test_gettext.GettextTestCase2) ... ok test_multiline_strings (test.test_gettext.GettextTestCase2) ... ok test_some_translations (test.test_gettext.GettextTestCase2) ... ok test_textdomain (test.test_gettext.GettextTestCase2) ... ok test_triple_double_quotes (test.test_gettext.GettextTestCase2) ... ok test_triple_single_quotes (test.test_gettext.GettextTestCase2) ... ok test_de (test.test_gettext.PluralFormsTestCase) ... ok test_fr (test.test_gettext.PluralFormsTestCase) ... ok test_gd (test.test_gettext.PluralFormsTestCase) ... ok test_gd2 (test.test_gettext.PluralFormsTestCase) ... ok test_hu (test.test_gettext.PluralFormsTestCase) ... ok test_lt (test.test_gettext.PluralFormsTestCase) ... ok test_pl (test.test_gettext.PluralFormsTestCase) ... ok test_plural_forms1 (test.test_gettext.PluralFormsTestCase) ... ok test_plural_forms2 (test.test_gettext.PluralFormsTestCase) ... ok test_ru (test.test_gettext.PluralFormsTestCase) ... ok test_security (test.test_gettext.PluralFormsTestCase) ... ok test_sl (test.test_gettext.PluralFormsTestCase) ... ok test_unicode_msgid (test.test_gettext.UnicodeTranslationsTest) ... ok test_unicode_msgstr (test.test_gettext.UnicodeTranslationsTest) ... ok test_weird_metadata (test.test_gettext.WeirdMetadataTest) ... ok ---------------------------------------------------------------------- Ran 28 tests in 0.022s OK test_gl test_gl skipped -- No module named gl test_glob test_glob_broken_symlinks (test.test_glob.GlobTests) ... ok test_glob_directory_names (test.test_glob.GlobTests) ... ok test_glob_directory_with_trailing_slash (test.test_glob.GlobTests) ... ok test_glob_literal (test.test_glob.GlobTests) ... ok test_glob_nested_directory (test.test_glob.GlobTests) ... ok test_glob_one_directory (test.test_glob.GlobTests) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.011s OK test_global test1 (test.test_global.GlobalTests) ... ok test2 (test.test_global.GlobalTests) ... ok test3 (test.test_global.GlobalTests) ... ok test4 (test.test_global.GlobalTests) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.000s OK test_grp test_errors (test.test_grp.GroupDatabaseTestCase) ... ok test_values (test.test_grp.GroupDatabaseTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.010s OK test_gzip test_1647484 (test.test_gzip.TestGzip) ... ok test_append (test.test_gzip.TestGzip) ... ok test_many_append (test.test_gzip.TestGzip) ... ok test_metadata (test.test_gzip.TestGzip) ... ok test_mode (test.test_gzip.TestGzip) ... ok test_mtime (test.test_gzip.TestGzip) ... ok test_read (test.test_gzip.TestGzip) ... ok test_readline (test.test_gzip.TestGzip) ... ok test_readlines (test.test_gzip.TestGzip) ... ok test_seek_read (test.test_gzip.TestGzip) ... ok test_seek_whence (test.test_gzip.TestGzip) ... ok test_seek_write (test.test_gzip.TestGzip) ... ok test_with_open (test.test_gzip.TestGzip) ... /home/exarkun/Projects/python/trunk/Lib/test/test_gzip.py:238: DeprecationWarning: classic int division 1/0 ok test_write (test.test_gzip.TestGzip) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.080s OK test_hash test_coerced_floats (test.test_hash.HashEqualityTestCase) ... ok test_coerced_integers (test.test_hash.HashEqualityTestCase) ... ok test_numeric_literals (test.test_hash.HashEqualityTestCase) ... ok test_default_hash (test.test_hash.HashInheritanceTestCase) ... ok test_error_hash (test.test_hash.HashInheritanceTestCase) ... ok test_fixed_hash (test.test_hash.HashInheritanceTestCase) ... ok test_hashable (test.test_hash.HashInheritanceTestCase) ... ok test_not_hashable (test.test_hash.HashInheritanceTestCase) ... ok test_hashes (test.test_hash.HashBuiltinsTestCase) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.001s OK test_hashlib test_case_md5_0 (test.test_hashlib.HashLibTestCase) ... ok test_case_md5_1 (test.test_hashlib.HashLibTestCase) ... ok test_case_md5_2 (test.test_hashlib.HashLibTestCase) ... ok test_case_md5_huge (test.test_hashlib.HashLibTestCase) ... ok test_case_md5_uintmax (test.test_hashlib.HashLibTestCase) ... ok test_case_sha1_0 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha1_1 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha1_2 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha1_3 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha224_0 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha224_1 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha224_2 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha224_3 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha256_0 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha256_1 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha256_2 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha256_3 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha384_0 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha384_1 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha384_2 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha384_3 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha512_0 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha512_1 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha512_2 (test.test_hashlib.HashLibTestCase) ... ok test_case_sha512_3 (test.test_hashlib.HashLibTestCase) ... ok test_hexdigest (test.test_hashlib.HashLibTestCase) ... ok test_large_update (test.test_hashlib.HashLibTestCase) ... ok test_no_unicode (test.test_hashlib.HashLibTestCase) ... ok test_threaded_hashing (test.test_hashlib.HashLibTestCase) ... ok test_unknown_hash (test.test_hashlib.HashLibTestCase) ... ok ---------------------------------------------------------------------- Ran 30 tests in 0.175s OK test_heapq test_heapify (test.test_heapq.TestHeapPython) ... ok test_heappushpop (test.test_heapq.TestHeapPython) ... ok test_heapsort (test.test_heapq.TestHeapPython) ... ok test_merge (test.test_heapq.TestHeapPython) ... ok test_merge_stability (test.test_heapq.TestHeapPython) ... ok test_naive_nbest (test.test_heapq.TestHeapPython) ... ok test_nbest (test.test_heapq.TestHeapPython) ... ok test_nbest_with_pushpop (test.test_heapq.TestHeapPython) ... ok test_nlargest (test.test_heapq.TestHeapPython) ... ok test_nsmallest (test.test_heapq.TestHeapPython) ... ok test_pure_python (test.test_heapq.TestHeapPython) ... ok test_push_pop (test.test_heapq.TestHeapPython) ... ok test_accelerated (test.test_heapq.TestHeapC) ... ok test_comparison_operator (test.test_heapq.TestHeapC) ... ok test_heapify (test.test_heapq.TestHeapC) ... ok test_heappushpop (test.test_heapq.TestHeapC) ... ok test_heapsort (test.test_heapq.TestHeapC) ... ok test_merge (test.test_heapq.TestHeapC) ... ok test_merge_stability (test.test_heapq.TestHeapC) ... ok test_naive_nbest (test.test_heapq.TestHeapC) ... ok test_nbest (test.test_heapq.TestHeapC) ... ok test_nbest_with_pushpop (test.test_heapq.TestHeapC) ... ok test_nlargest (test.test_heapq.TestHeapC) ... ok test_nsmallest (test.test_heapq.TestHeapC) ... ok test_push_pop (test.test_heapq.TestHeapC) ... ok test_arg_parsing (test.test_heapq.TestErrorHandling) ... ok test_get_only (test.test_heapq.TestErrorHandling) ... ok test_iterable_args (test.test_heapq.TestErrorHandling) ... /home/exarkun/Projects/python/trunk/Lib/heapq.py:417: DeprecationWarning: comparing unequal types not supported in 3.x result = _nlargest(n, it) /home/exarkun/Projects/python/trunk/Lib/heapq.py:412: DeprecationWarning: comparing unequal types not supported in 3.x return sorted(iterable, key=key, reverse=True)[:n] /home/exarkun/Projects/python/trunk/Lib/heapq.py:379: DeprecationWarning: comparing unequal types not supported in 3.x result = _nsmallest(n, it) /home/exarkun/Projects/python/trunk/Lib/heapq.py:374: DeprecationWarning: comparing unequal types not supported in 3.x return sorted(iterable, key=key)[:n] ok test_len_only (test.test_heapq.TestErrorHandling) ... ok test_non_sequence (test.test_heapq.TestErrorHandling) ... ok ---------------------------------------------------------------------- Ran 30 tests in 0.920s OK test_hmac test_legacy_block_size_warnings (test.test_hmac.TestVectorsTestCase) ... ok test_md5_vectors (test.test_hmac.TestVectorsTestCase) ... ok test_sha224_rfc4231 (test.test_hmac.TestVectorsTestCase) ... ok test_sha256_rfc4231 (test.test_hmac.TestVectorsTestCase) ... ok test_sha384_rfc4231 (test.test_hmac.TestVectorsTestCase) ... ok test_sha512_rfc4231 (test.test_hmac.TestVectorsTestCase) ... ok test_sha_vectors (test.test_hmac.TestVectorsTestCase) ... ok test_normal (test.test_hmac.ConstructorTestCase) ... ok test_withmodule (test.test_hmac.ConstructorTestCase) ... ok test_withtext (test.test_hmac.ConstructorTestCase) ... ok test_default_is_md5 (test.test_hmac.SanityTestCase) ... ok test_exercise_all_methods (test.test_hmac.SanityTestCase) ... ok test_attributes (test.test_hmac.CopyTestCase) ... ok test_equality (test.test_hmac.CopyTestCase) ... ok test_realcopy (test.test_hmac.CopyTestCase) ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.002s OK test_hotshot /home/exarkun/Projects/python/trunk/Lib/test/test_hotshot.py:1: DeprecationWarning: The 'hotshot' module is not supported in 3.x, use the 'profile' module instead. import hotshot test_addinfo (test.test_hotshot.HotShotTestCase) ... /home/exarkun/Projects/python/trunk/Lib/hotshot/log.py:33: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if self._info.has_key('current-directory'): ok test_bad_sys_path (test.test_hotshot.HotShotTestCase) ... ok test_line_numbers (test.test_hotshot.HotShotTestCase) ... ok test_logreader_eof_error (test.test_hotshot.HotShotTestCase) ... ok test_start_stop (test.test_hotshot.HotShotTestCase) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.038s OK test_htmllib test_anchor_collection (test.test_htmllib.HTMLParserTestCase) ... ok test_decl_collection (test.test_htmllib.HTMLParserTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test_htmlparser test_attr_entity_replacement (test.test_htmlparser.HTMLParserTestCase) ... ok test_attr_funky_names (test.test_htmlparser.HTMLParserTestCase) ... ok test_attr_syntax (test.test_htmlparser.HTMLParserTestCase) ... ok test_attr_values (test.test_htmlparser.HTMLParserTestCase) ... ok test_bad_nesting (test.test_htmlparser.HTMLParserTestCase) ... ok test_bare_ampersands (test.test_htmlparser.HTMLParserTestCase) ... ok test_bare_pointy_brackets (test.test_htmlparser.HTMLParserTestCase) ... ok test_buffer_artefacts (test.test_htmlparser.HTMLParserTestCase) ... ok test_cdata_content (test.test_htmlparser.HTMLParserTestCase) ... ok test_declaration_junk_chars (test.test_htmlparser.HTMLParserTestCase) ... ok test_doctype_decl (test.test_htmlparser.HTMLParserTestCase) ... ok test_entityrefs_in_attributes (test.test_htmlparser.HTMLParserTestCase) ... ok test_get_starttag_text (test.test_htmlparser.HTMLParserTestCase) ... ok test_illegal_declarations (test.test_htmlparser.HTMLParserTestCase) ... ok test_processing_instruction_only (test.test_htmlparser.HTMLParserTestCase) ... ok test_simple_html (test.test_htmlparser.HTMLParserTestCase) ... ok test_startendtag (test.test_htmlparser.HTMLParserTestCase) ... ok test_starttag_end_boundary (test.test_htmlparser.HTMLParserTestCase) ... ok test_starttag_junk_chars (test.test_htmlparser.HTMLParserTestCase) ... ok test_unclosed_entityref (test.test_htmlparser.HTMLParserTestCase) ... ok ---------------------------------------------------------------------- Ran 20 tests in 0.045s OK test_httplib test_auto_headers (test.test_httplib.HeaderTests) ... ok test_responses (test.test_httplib.OfflineTest) ... ok test_chunked (test.test_httplib.BasicTest) ... ok test_host_port (test.test_httplib.BasicTest) ... ok test_incomplete_read (test.test_httplib.BasicTest) ... ok test_negative_content_length (test.test_httplib.BasicTest) ... ok test_partial_reads (test.test_httplib.BasicTest) ... ok test_read_head (test.test_httplib.BasicTest) ... ok test_response_headers (test.test_httplib.BasicTest) ... ok test_send (test.test_httplib.BasicTest) ... ok test_send_file (test.test_httplib.BasicTest) ... ok test_status_lines (test.test_httplib.BasicTest) ... ok testTimeoutAttribute (test.test_httplib.TimeoutTest) This will prove that the timeout gets through ... ok test_attributes (test.test_httplib.HTTPSTimeoutTest) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.004s OK test_httpservers test_command (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_handler (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_head_keep_alive (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_header_close (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_internal_key_error (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_request_line_trimming (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_return_custom_status (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_return_header_keep_alive (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_send_blank (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_bogus (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_digits (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_invalid (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_none (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_none_get (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_get (test.test_httpservers.SimpleHTTPServerTestCase) ... ok test_head (test.test_httpservers.SimpleHTTPServerTestCase) ... ok test_invalid_requests (test.test_httpservers.SimpleHTTPServerTestCase) ... ok test_authorization (test.test_httpservers.CGIHTTPServerTestCase) ... ok test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase) ... ok test_invaliduri (test.test_httpservers.CGIHTTPServerTestCase) ... ok test_no_leading_slash (test.test_httpservers.CGIHTTPServerTestCase) ... ok test_post (test.test_httpservers.CGIHTTPServerTestCase) ... ok test_url_collapse_path_split (test.test_httpservers.CGIHTTPServerTestCase) ... ok ---------------------------------------------------------------------- Ran 23 tests in 11.182s OK Warning: os.environ was modified by test_httpservers test_imageop test_input_validation (test.test_imageop.InputValidationTests) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.095s OK test_imaplib test_that_Time2Internaldate_returns_a_result (test.test_imaplib.TestImaplib) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_imgfile test_imgfile skipped -- No module named imgfile test_imp test_builtin (test.test_imp.ReloadTests) ... ok test_extension (test.test_imp.ReloadTests) ... ok test_source (test.test_imp.ReloadTests) ... ok testLock (test.test_imp.LockTests) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.001s OK test_import testCaseSensitivity (test.test_import.ImportTest) ... ok testDoubleConst (test.test_import.ImportTest) ... ok testImpModule (test.test_import.ImportTest) ... ok testImport (test.test_import.ImportTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_import.py:73: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(mod) ok test_execute_bit_not_copied (test.test_import.ImportTest) ... ok test_failing_import_sticks (test.test_import.ImportTest) ... ./@test_28126_tmp.py:1: DeprecationWarning: classic int division a = 1/0 ./@test_28126_tmp.py:1: DeprecationWarning: classic int division a = 1/0 ./@test_28126_tmp.py:1: DeprecationWarning: classic int division a = 1/0 ok test_failing_reload (test.test_import.ImportTest) ... /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() callableObj(*args, **kwargs) ok test_import_initless_directory_warning (test.test_import.ImportTest) ... ok test_import_name_binding (test.test_import.ImportTest) ... ok test_importbyfilename (test.test_import.ImportTest) ... ok test_infinite_reload (test.test_import.ImportTest) ... /home/exarkun/Projects/python/trunk/Lib/test/infinite_reload.py:7: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(infinite_reload) ok test_module_with_large_stack (test.test_import.ImportTest) ... ok test_basics (test.test_import.TestPycRewriting) ... ok test_foreign_code (test.test_import.TestPycRewriting) ... ok test_incorrect_code_name (test.test_import.TestPycRewriting) ... ok test_module_without_source (test.test_import.TestPycRewriting) ... ok test_trailing_slash (test.test_import.PathsTests) ... ok test_issue3221 (test.test_import.RelativeImport) ... ok test_relimport_star (test.test_import.RelativeImport) ... ok ---------------------------------------------------------------------- Ran 19 tests in 0.193s OK test_importhooks testBlocker (test.test_importhooks.ImportHooksTestCase) ... ok testImpWrapper (test.test_importhooks.ImportHooksTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_importhooks.py:132: DeprecationWarning: the compiler package has been removed in Python 3.0 mod = imp.load_module(fullname, self.file, self.filename, self.stuff) ok testMetaPath (test.test_importhooks.ImportHooksTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_importhooks.py:183: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(reloadmodule) ok testPathHook (test.test_importhooks.ImportHooksTestCase) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.022s OK test_importlib test_absolute_import_with_package (test.test_importlib.ImportModuleTests) ... ok test_absolute_package_import (test.test_importlib.ImportModuleTests) ... ok test_deep_relative_package_import (test.test_importlib.ImportModuleTests) ... ok test_module_import (test.test_importlib.ImportModuleTests) ... ok test_relative_import_wo_package (test.test_importlib.ImportModuleTests) ... ok test_shallow_relative_package_import (test.test_importlib.ImportModuleTests) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.001s OK test_index test_basic (test.test_index.BaseTestCase) ... ok test_error (test.test_index.BaseTestCase) ... ok test_slice (test.test_index.BaseTestCase) ... ok test_subclasses (test.test_index.BaseTestCase) ... ok test_wrappers (test.test_index.BaseTestCase) ... ok test_error (test.test_index.ListTestCase) ... ok test_index (test.test_index.ListTestCase) ... ok test_inplace_repeat (test.test_index.ListTestCase) ... ok test_repeat (test.test_index.ListTestCase) ... ok test_setdelitem (test.test_index.ListTestCase) ... ok test_slice (test.test_index.ListTestCase) ... ok test_subclasses (test.test_index.ListTestCase) ... ok test_wrappers (test.test_index.ListTestCase) ... ok test_error (test.test_index.TupleTestCase) ... ok test_index (test.test_index.TupleTestCase) ... ok test_repeat (test.test_index.TupleTestCase) ... ok test_slice (test.test_index.TupleTestCase) ... ok test_subclasses (test.test_index.TupleTestCase) ... ok test_wrappers (test.test_index.TupleTestCase) ... ok test_error (test.test_index.StringTestCase) ... ok test_index (test.test_index.StringTestCase) ... ok test_repeat (test.test_index.StringTestCase) ... ok test_slice (test.test_index.StringTestCase) ... ok test_subclasses (test.test_index.StringTestCase) ... ok test_wrappers (test.test_index.StringTestCase) ... ok test_error (test.test_index.UnicodeTestCase) ... ok test_index (test.test_index.UnicodeTestCase) ... ok test_repeat (test.test_index.UnicodeTestCase) ... ok test_slice (test.test_index.UnicodeTestCase) ... ok test_subclasses (test.test_index.UnicodeTestCase) ... ok test_wrappers (test.test_index.UnicodeTestCase) ... ok test_xrange (test.test_index.XRangeTestCase) ... ok test_getitem (test.test_index.OverflowTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_index.py:198: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize)) ok test_getitem_classic (test.test_index.OverflowTestCase) ... ok test_large_longs (test.test_index.OverflowTestCase) ... ok test_sequence_repeat (test.test_index.OverflowTestCase) ... ok ---------------------------------------------------------------------- Ran 36 tests in 0.002s OK test_inspect /home/exarkun/Projects/python/trunk/Lib/test/test_inspect.py:32: DeprecationWarning: classic int division 1/0 /home/exarkun/Projects/python/trunk/Lib/test/inspect_fodder.py:18: DeprecationWarning: classic int division q = y / 0 test_replacing_decorator (test.test_inspect.TestDecorators) ... ok test_wrapped_decorator (test.test_inspect.TestDecorators) ... ok test_cleandoc (test.test_inspect.TestRetrievingSourceCode) ... ok test_getclasses (test.test_inspect.TestRetrievingSourceCode) ... ok test_getcomments (test.test_inspect.TestRetrievingSourceCode) ... ok test_getdoc (test.test_inspect.TestRetrievingSourceCode) ... ok test_getfile (test.test_inspect.TestRetrievingSourceCode) ... ok test_getfunctions (test.test_inspect.TestRetrievingSourceCode) ... ok test_getmodule (test.test_inspect.TestRetrievingSourceCode) ... ok test_getmodule_recursion (test.test_inspect.TestRetrievingSourceCode) ... ok test_getsource (test.test_inspect.TestRetrievingSourceCode) ... ok test_getsourcefile (test.test_inspect.TestRetrievingSourceCode) ... ok test_anonymous (test.test_inspect.TestOneliners) ... ok test_lambda_in_list (test.test_inspect.TestOneliners) ... ok test_manyargs (test.test_inspect.TestOneliners) ... ok test_oneline_lambda (test.test_inspect.TestOneliners) ... ok test_onelinefunc (test.test_inspect.TestOneliners) ... ok test_threeline_lambda (test.test_inspect.TestOneliners) ... ok test_twoline_indented_lambda (test.test_inspect.TestOneliners) ... ok test_twolinefunc (test.test_inspect.TestOneliners) ... ok test_findsource_binary (test.test_inspect.TestBuggyCases) ... ok test_method_in_dynamic_class (test.test_inspect.TestBuggyCases) ... ok test_multiline_sig (test.test_inspect.TestBuggyCases) ... ok test_nested_class (test.test_inspect.TestBuggyCases) ... ok test_one_liner_dedent_non_name (test.test_inspect.TestBuggyCases) ... ok test_one_liner_followed_by_non_name (test.test_inspect.TestBuggyCases) ... ok test_with_comment (test.test_inspect.TestBuggyCases) ... ok test_with_comment_instead_of_docstring (test.test_inspect.TestBuggyCases) ... ok test_abuse_done (test.test_inspect.TestInterpreterStack) ... ok test_frame (test.test_inspect.TestInterpreterStack) ... ok test_previous_frame (test.test_inspect.TestInterpreterStack) ... ok test_stack (test.test_inspect.TestInterpreterStack) ... ok test_trace (test.test_inspect.TestInterpreterStack) ... ok test_classic_mro (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_newstyle (test.test_inspect.TestClassesAndFunctions) ... ok test_classify_oldstyle (test.test_inspect.TestClassesAndFunctions) ... ok test_getargspec (test.test_inspect.TestClassesAndFunctions) ... ok test_getargspec_method (test.test_inspect.TestClassesAndFunctions) ... ok test_getargspec_sublistofone (test.test_inspect.TestClassesAndFunctions) ... ok test_newstyle_mro (test.test_inspect.TestClassesAndFunctions) ... ok test_excluding_predicates (test.test_inspect.TestPredicates) ... ok test_get_slot_members (test.test_inspect.TestPredicates) ... ok test_isclass (test.test_inspect.TestPredicates) ... ok test_isroutine (test.test_inspect.TestPredicates) ... ok test_sixteen (test.test_inspect.TestPredicates) ... ok ---------------------------------------------------------------------- Ran 45 tests in 0.014s OK test_int test_basic (test.test_int.IntTestCases) ... ok test_bit_length (test.test_int.IntTestCases) ... ok test_float_conversion (test.test_int.IntTestCases) ... ok test_intconversion (test.test_int.IntTestCases) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.948s OK test_int_literal test_bin_baseline (test.test_int_literal.TestHexOctBin) ... ok test_bin_unsigned (test.test_int_literal.TestHexOctBin) ... ok test_hex_baseline (test.test_int_literal.TestHexOctBin) ... ok test_hex_unsigned (test.test_int_literal.TestHexOctBin) ... ok test_oct_baseline (test.test_int_literal.TestHexOctBin) ... ok test_oct_baseline_new (test.test_int_literal.TestHexOctBin) ... ok test_oct_unsigned (test.test_int_literal.TestHexOctBin) ... ok test_oct_unsigned_new (test.test_int_literal.TestHexOctBin) ... ok ---------------------------------------------------------------------- Ran 8 tests in 0.001s OK test_io test_BufferedIOBase_destructor (test.test_io.CIOTest) ... ok test_IOBase_destructor (test.test_io.CIOTest) ... ok test_RawIOBase_destructor (test.test_io.CIOTest) ... ok test_TextIOBase_destructor (test.test_io.CIOTest) ... ok test_append_mode_tell (test.test_io.CIOTest) ... ok test_array_writes (test.test_io.CIOTest) ... ok test_buffered_file_io (test.test_io.CIOTest) ... ok test_close_flushes (test.test_io.CIOTest) ... ok test_closefd (test.test_io.CIOTest) ... ok test_closefd_attr (test.test_io.CIOTest) ... ok test_destructor (test.test_io.CIOTest) ... ok test_garbage_collection (test.test_io.CIOTest) ... ok test_invalid_operations (test.test_io.CIOTest) ... ok test_large_file_ops (test.test_io.CIOTest) ... ok test_no_closefd_with_filename (test.test_io.CIOTest) ... ok test_raw_bytes_io (test.test_io.CIOTest) ... ok test_raw_file_io (test.test_io.CIOTest) ... ok test_read_closed (test.test_io.CIOTest) ... ok test_readline (test.test_io.CIOTest) ... ok test_unbounded_file (test.test_io.CIOTest) ... skipped 'test requires at least 2GB of memory' test_with_open (test.test_io.CIOTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_io.py:384: DeprecationWarning: classic int division 1/0 ok test_BufferedIOBase_destructor (test.test_io.PyIOTest) ... ok test_IOBase_destructor (test.test_io.PyIOTest) ... ok test_RawIOBase_destructor (test.test_io.PyIOTest) ... ok test_TextIOBase_destructor (test.test_io.PyIOTest) ... ok test_append_mode_tell (test.test_io.PyIOTest) ... ok test_array_writes (test.test_io.PyIOTest) ... skipped 'len(array.array) returns number of elements rather than bytelength' test_buffered_file_io (test.test_io.PyIOTest) ... ok test_close_flushes (test.test_io.PyIOTest) ... ok test_closefd (test.test_io.PyIOTest) ... ok test_closefd_attr (test.test_io.PyIOTest) ... ok test_destructor (test.test_io.PyIOTest) ... ok test_garbage_collection (test.test_io.PyIOTest) ... ok test_invalid_operations (test.test_io.PyIOTest) ... ok test_large_file_ops (test.test_io.PyIOTest) ... ok test_no_closefd_with_filename (test.test_io.PyIOTest) ... ok test_raw_bytes_io (test.test_io.PyIOTest) ... ok test_raw_file_io (test.test_io.PyIOTest) ... ok test_read_closed (test.test_io.PyIOTest) ... ok test_readline (test.test_io.PyIOTest) ... ok test_unbounded_file (test.test_io.PyIOTest) ... skipped 'test requires at least 2GB of memory' test_with_open (test.test_io.PyIOTest) ... ok test_buffering (test.test_io.CBufferedReaderTest) ... ok test_constructor (test.test_io.CBufferedReaderTest) ... ok test_context_manager (test.test_io.CBufferedReaderTest) ... ok test_detach (test.test_io.CBufferedReaderTest) ... ok test_error_through_destructor (test.test_io.CBufferedReaderTest) ... ok test_fileno (test.test_io.CBufferedReaderTest) ... ok test_garbage_collection (test.test_io.CBufferedReaderTest) ... ok test_initialization (test.test_io.CBufferedReaderTest) ... ok test_invalid_args (test.test_io.CBufferedReaderTest) ... ok test_misbehaved_io (test.test_io.CBufferedReaderTest) ... ok test_misbehaved_io_read (test.test_io.CBufferedReaderTest) ... ok test_no_fileno (test.test_io.CBufferedReaderTest) ... ok test_override_destructor (test.test_io.CBufferedReaderTest) ... ok test_read (test.test_io.CBufferedReaderTest) ... ok test_read1 (test.test_io.CBufferedReaderTest) ... ok test_read_all (test.test_io.CBufferedReaderTest) ... ok test_read_non_blocking (test.test_io.CBufferedReaderTest) ... ok test_read_past_eof (test.test_io.CBufferedReaderTest) ... ok test_readinto (test.test_io.CBufferedReaderTest) ... ok test_repr (test.test_io.CBufferedReaderTest) ... ok test_threads (test.test_io.CBufferedReaderTest) ... ok test_buffering (test.test_io.PyBufferedReaderTest) ... ok test_constructor (test.test_io.PyBufferedReaderTest) ... ok test_context_manager (test.test_io.PyBufferedReaderTest) ... ok test_detach (test.test_io.PyBufferedReaderTest) ... ok test_error_through_destructor (test.test_io.PyBufferedReaderTest) ... ok test_fileno (test.test_io.PyBufferedReaderTest) ... ok test_invalid_args (test.test_io.PyBufferedReaderTest) ... ok test_misbehaved_io (test.test_io.PyBufferedReaderTest) ... ok test_no_fileno (test.test_io.PyBufferedReaderTest) ... ok test_override_destructor (test.test_io.PyBufferedReaderTest) ... ok test_read (test.test_io.PyBufferedReaderTest) ... ok test_read1 (test.test_io.PyBufferedReaderTest) ... ok test_read_all (test.test_io.PyBufferedReaderTest) ... ok test_read_non_blocking (test.test_io.PyBufferedReaderTest) ... ok test_read_past_eof (test.test_io.PyBufferedReaderTest) ... ok test_readinto (test.test_io.PyBufferedReaderTest) ... ok test_repr (test.test_io.PyBufferedReaderTest) ... ok test_threads (test.test_io.PyBufferedReaderTest) ... ok test_constructor (test.test_io.CBufferedWriterTest) ... ok test_context_manager (test.test_io.CBufferedWriterTest) ... ok test_destructor (test.test_io.CBufferedWriterTest) ... ok test_detach (test.test_io.CBufferedWriterTest) ... ok test_detach_flush (test.test_io.CBufferedWriterTest) ... ok test_error_through_destructor (test.test_io.CBufferedWriterTest) ... ok test_fileno (test.test_io.CBufferedWriterTest) ... ok test_flush (test.test_io.CBufferedWriterTest) ... ok test_garbage_collection (test.test_io.CBufferedWriterTest) ... ok test_initialization (test.test_io.CBufferedWriterTest) ... ok test_invalid_args (test.test_io.CBufferedWriterTest) ... ok test_max_buffer_size_deprecation (test.test_io.CBufferedWriterTest) ... ok test_misbehaved_io (test.test_io.CBufferedWriterTest) ... ok test_no_fileno (test.test_io.CBufferedWriterTest) ... ok test_override_destructor (test.test_io.CBufferedWriterTest) ... ok test_repr (test.test_io.CBufferedWriterTest) ... ok test_threads (test.test_io.CBufferedWriterTest) ... ok test_truncate (test.test_io.CBufferedWriterTest) ... ok test_write (test.test_io.CBufferedWriterTest) ... ok test_write_and_rewind (test.test_io.CBufferedWriterTest) ... ok test_write_non_blocking (test.test_io.CBufferedWriterTest) ... ok test_write_overflow (test.test_io.CBufferedWriterTest) ... ok test_writes (test.test_io.CBufferedWriterTest) ... ok test_writes_and_flushes (test.test_io.CBufferedWriterTest) ... ok test_writes_and_seeks (test.test_io.CBufferedWriterTest) ... ok test_writes_and_truncates (test.test_io.CBufferedWriterTest) ... ok test_constructor (test.test_io.PyBufferedWriterTest) ... ok test_context_manager (test.test_io.PyBufferedWriterTest) ... ok test_destructor (test.test_io.PyBufferedWriterTest) ... ok test_detach (test.test_io.PyBufferedWriterTest) ... ok test_detach_flush (test.test_io.PyBufferedWriterTest) ... ok test_error_through_destructor (test.test_io.PyBufferedWriterTest) ... ok test_fileno (test.test_io.PyBufferedWriterTest) ... ok test_flush (test.test_io.PyBufferedWriterTest) ... ok test_invalid_args (test.test_io.PyBufferedWriterTest) ... ok test_max_buffer_size_deprecation (test.test_io.PyBufferedWriterTest) ... ok test_misbehaved_io (test.test_io.PyBufferedWriterTest) ... ok test_no_fileno (test.test_io.PyBufferedWriterTest) ... ok test_override_destructor (test.test_io.PyBufferedWriterTest) ... ok test_repr (test.test_io.PyBufferedWriterTest) ... ok test_threads (test.test_io.PyBufferedWriterTest) ... ok test_truncate (test.test_io.PyBufferedWriterTest) ... ok test_write (test.test_io.PyBufferedWriterTest) ... ok test_write_and_rewind (test.test_io.PyBufferedWriterTest) ... ok test_write_non_blocking (test.test_io.PyBufferedWriterTest) ... ok test_write_overflow (test.test_io.PyBufferedWriterTest) ... ok test_writes (test.test_io.PyBufferedWriterTest) ... ok test_writes_and_flushes (test.test_io.PyBufferedWriterTest) ... ok test_writes_and_seeks (test.test_io.PyBufferedWriterTest) ... ok test_writes_and_truncates (test.test_io.PyBufferedWriterTest) ... ok test_close_and_closed (test.test_io.CBufferedRWPairTest) ... ok test_constructor (test.test_io.CBufferedRWPairTest) ... ok test_constructor_max_buffer_size_deprecation (test.test_io.CBufferedRWPairTest) ... ok test_constructor_with_not_readable (test.test_io.CBufferedRWPairTest) ... ok test_constructor_with_not_writeable (test.test_io.CBufferedRWPairTest) ... ok test_detach (test.test_io.CBufferedRWPairTest) ... ok test_isatty (test.test_io.CBufferedRWPairTest) ... ok test_peek (test.test_io.CBufferedRWPairTest) ... ok test_read (test.test_io.CBufferedRWPairTest) ... ok test_read1 (test.test_io.CBufferedRWPairTest) ... ok test_readable (test.test_io.CBufferedRWPairTest) ... ok test_readinto (test.test_io.CBufferedRWPairTest) ... ok test_seekable (test.test_io.CBufferedRWPairTest) ... ok test_write (test.test_io.CBufferedRWPairTest) ... ok test_writeable (test.test_io.CBufferedRWPairTest) ... ok test_close_and_closed (test.test_io.PyBufferedRWPairTest) ... ok test_constructor (test.test_io.PyBufferedRWPairTest) ... ok test_constructor_max_buffer_size_deprecation (test.test_io.PyBufferedRWPairTest) ... ok test_constructor_with_not_readable (test.test_io.PyBufferedRWPairTest) ... ok test_constructor_with_not_writeable (test.test_io.PyBufferedRWPairTest) ... ok test_detach (test.test_io.PyBufferedRWPairTest) ... ok test_isatty (test.test_io.PyBufferedRWPairTest) ... ok test_peek (test.test_io.PyBufferedRWPairTest) ... ok test_read (test.test_io.PyBufferedRWPairTest) ... ok test_read1 (test.test_io.PyBufferedRWPairTest) ... ok test_readable (test.test_io.PyBufferedRWPairTest) ... ok test_readinto (test.test_io.PyBufferedRWPairTest) ... ok test_seekable (test.test_io.PyBufferedRWPairTest) ... ok test_write (test.test_io.PyBufferedRWPairTest) ... ok test_writeable (test.test_io.PyBufferedRWPairTest) ... ok test_buffering (test.test_io.CBufferedRandomTest) ... ok test_constructor (test.test_io.CBufferedRandomTest) ... ok test_context_manager (test.test_io.CBufferedRandomTest) ... ok test_destructor (test.test_io.CBufferedRandomTest) ... ok test_detach (test.test_io.CBufferedRandomTest) ... ok test_detach_flush (test.test_io.CBufferedRandomTest) ... ok test_error_through_destructor (test.test_io.CBufferedRandomTest) ... ok test_fileno (test.test_io.CBufferedRandomTest) ... ok test_flush (test.test_io.CBufferedRandomTest) ... ok test_flush_and_peek (test.test_io.CBufferedRandomTest) ... ok test_flush_and_read (test.test_io.CBufferedRandomTest) ... ok test_flush_and_readinto (test.test_io.CBufferedRandomTest) ... ok test_flush_and_write (test.test_io.CBufferedRandomTest) ... ok test_garbage_collection (test.test_io.CBufferedRandomTest) ... ok test_initialization (test.test_io.CBufferedRandomTest) ... ok test_invalid_args (test.test_io.CBufferedRandomTest) ... ok test_max_buffer_size_deprecation (test.test_io.CBufferedRandomTest) ... ok test_misbehaved_io (test.test_io.CBufferedRandomTest) ... ok test_misbehaved_io_read (test.test_io.CBufferedRandomTest) ... ok test_no_fileno (test.test_io.CBufferedRandomTest) ... ok test_override_destructor (test.test_io.CBufferedRandomTest) ... ok test_read (test.test_io.CBufferedRandomTest) ... ok test_read1 (test.test_io.CBufferedRandomTest) ... ok test_read_all (test.test_io.CBufferedRandomTest) ... ok test_read_and_write (test.test_io.CBufferedRandomTest) ... ok test_read_non_blocking (test.test_io.CBufferedRandomTest) ... ok test_read_past_eof (test.test_io.CBufferedRandomTest) ... ok test_readinto (test.test_io.CBufferedRandomTest) ... ok test_repr (test.test_io.CBufferedRandomTest) ... ok test_seek_and_tell (test.test_io.CBufferedRandomTest) ... ok test_threads (test.test_io.CBufferedRandomTest) ... ok test_truncate (test.test_io.CBufferedRandomTest) ... ok test_write (test.test_io.CBufferedRandomTest) ... ok test_write_after_readahead (test.test_io.CBufferedRandomTest) ... ok test_write_and_rewind (test.test_io.CBufferedRandomTest) ... ok test_write_non_blocking (test.test_io.CBufferedRandomTest) ... ok test_write_overflow (test.test_io.CBufferedRandomTest) ... ok test_writes (test.test_io.CBufferedRandomTest) ... ok test_writes_and_flushes (test.test_io.CBufferedRandomTest) ... ok test_writes_and_peek (test.test_io.CBufferedRandomTest) ... ok test_writes_and_read1s (test.test_io.CBufferedRandomTest) ... ok test_writes_and_readintos (test.test_io.CBufferedRandomTest) ... ok test_writes_and_reads (test.test_io.CBufferedRandomTest) ... ok test_writes_and_seeks (test.test_io.CBufferedRandomTest) ... ok test_writes_and_truncates (test.test_io.CBufferedRandomTest) ... ok test_buffering (test.test_io.PyBufferedRandomTest) ... ok test_constructor (test.test_io.PyBufferedRandomTest) ... ok test_context_manager (test.test_io.PyBufferedRandomTest) ... ok test_destructor (test.test_io.PyBufferedRandomTest) ... ok test_detach (test.test_io.PyBufferedRandomTest) ... ok test_detach_flush (test.test_io.PyBufferedRandomTest) ... ok test_error_through_destructor (test.test_io.PyBufferedRandomTest) ... ok test_fileno (test.test_io.PyBufferedRandomTest) ... ok test_flush (test.test_io.PyBufferedRandomTest) ... ok test_flush_and_peek (test.test_io.PyBufferedRandomTest) ... ok test_flush_and_read (test.test_io.PyBufferedRandomTest) ... ok test_flush_and_readinto (test.test_io.PyBufferedRandomTest) ... ok test_flush_and_write (test.test_io.PyBufferedRandomTest) ... ok test_invalid_args (test.test_io.PyBufferedRandomTest) ... ok test_max_buffer_size_deprecation (test.test_io.PyBufferedRandomTest) ... ok test_misbehaved_io (test.test_io.PyBufferedRandomTest) ... ok test_no_fileno (test.test_io.PyBufferedRandomTest) ... ok test_override_destructor (test.test_io.PyBufferedRandomTest) ... ok test_read (test.test_io.PyBufferedRandomTest) ... ok test_read1 (test.test_io.PyBufferedRandomTest) ... ok test_read_all (test.test_io.PyBufferedRandomTest) ... ok test_read_and_write (test.test_io.PyBufferedRandomTest) ... ok test_read_non_blocking (test.test_io.PyBufferedRandomTest) ... ok test_read_past_eof (test.test_io.PyBufferedRandomTest) ... ok test_readinto (test.test_io.PyBufferedRandomTest) ... ok test_repr (test.test_io.PyBufferedRandomTest) ... ok test_seek_and_tell (test.test_io.PyBufferedRandomTest) ... ok test_threads (test.test_io.PyBufferedRandomTest) ... ok test_truncate (test.test_io.PyBufferedRandomTest) ... ok test_write (test.test_io.PyBufferedRandomTest) ... ok test_write_after_readahead (test.test_io.PyBufferedRandomTest) ... ok test_write_and_rewind (test.test_io.PyBufferedRandomTest) ... ok test_write_non_blocking (test.test_io.PyBufferedRandomTest) ... ok test_write_overflow (test.test_io.PyBufferedRandomTest) ... ok test_writes (test.test_io.PyBufferedRandomTest) ... ok test_writes_and_flushes (test.test_io.PyBufferedRandomTest) ... ok test_writes_and_peek (test.test_io.PyBufferedRandomTest) ... ok test_writes_and_read1s (test.test_io.PyBufferedRandomTest) ... ok test_writes_and_readintos (test.test_io.PyBufferedRandomTest) ... ok test_writes_and_reads (test.test_io.PyBufferedRandomTest) ... ok test_writes_and_seeks (test.test_io.PyBufferedRandomTest) ... ok test_writes_and_truncates (test.test_io.PyBufferedRandomTest) ... ok test_decoder (test.test_io.StatefulIncrementalDecoderTest) ... ok test_newline_bytes (test.test_io.CIncrementalNewlineDecoderTest) ... ok test_newline_decoder (test.test_io.CIncrementalNewlineDecoderTest) ... ok test_newline_bytes (test.test_io.PyIncrementalNewlineDecoderTest) ... ok test_newline_decoder (test.test_io.PyIncrementalNewlineDecoderTest) ... ok test_append_bom (test.test_io.CTextIOWrapperTest) ... skipped 'Issue #6213 with incremental encoders' test_basic_io (test.test_io.CTextIOWrapperTest) ... ok test_constructor (test.test_io.CTextIOWrapperTest) ... ok test_destructor (test.test_io.CTextIOWrapperTest) ... ok test_detach (test.test_io.CTextIOWrapperTest) ... ok test_encoded_writes (test.test_io.CTextIOWrapperTest) ... ok test_encoding (test.test_io.CTextIOWrapperTest) ... ok test_encoding_errors_reading (test.test_io.CTextIOWrapperTest) ... ok test_encoding_errors_writing (test.test_io.CTextIOWrapperTest) ... ok test_error_through_destructor (test.test_io.CTextIOWrapperTest) ... ok test_errors_property (test.test_io.CTextIOWrapperTest) ... ok test_garbage_collection (test.test_io.CTextIOWrapperTest) ... ok test_initialization (test.test_io.CTextIOWrapperTest) ... ok test_issue1395_1 (test.test_io.CTextIOWrapperTest) ... ok test_issue1395_2 (test.test_io.CTextIOWrapperTest) ... ok test_issue1395_3 (test.test_io.CTextIOWrapperTest) ... ok test_issue1395_4 (test.test_io.CTextIOWrapperTest) ... ok test_issue1395_5 (test.test_io.CTextIOWrapperTest) ... ok test_issue2282 (test.test_io.CTextIOWrapperTest) ... ok test_line_buffering (test.test_io.CTextIOWrapperTest) ... ok test_newlines (test.test_io.CTextIOWrapperTest) ... ok test_newlines_input (test.test_io.CTextIOWrapperTest) ... ok test_newlines_output (test.test_io.CTextIOWrapperTest) ... ok test_override_destructor (test.test_io.CTextIOWrapperTest) ... ok test_read_by_chunk (test.test_io.CTextIOWrapperTest) ... ok test_read_one_by_one (test.test_io.CTextIOWrapperTest) ... ok test_repr (test.test_io.CTextIOWrapperTest) ... ok test_seek_and_tell (test.test_io.CTextIOWrapperTest) ... ok test_seek_bom (test.test_io.CTextIOWrapperTest) ... skipped 'Issue #6213 with incremental encoders' test_seeking (test.test_io.CTextIOWrapperTest) ... ok test_seeking_too (test.test_io.CTextIOWrapperTest) ... ok test_telling (test.test_io.CTextIOWrapperTest) ... ok test_threads_write (test.test_io.CTextIOWrapperTest) ... ok test_unreadable (test.test_io.CTextIOWrapperTest) ... ok test_append_bom (test.test_io.PyTextIOWrapperTest) ... skipped 'Issue #6213 with incremental encoders' test_basic_io (test.test_io.PyTextIOWrapperTest) ... ok test_constructor (test.test_io.PyTextIOWrapperTest) ... ok test_destructor (test.test_io.PyTextIOWrapperTest) ... ok test_detach (test.test_io.PyTextIOWrapperTest) ... ok test_encoded_writes (test.test_io.PyTextIOWrapperTest) ... ok test_encoding (test.test_io.PyTextIOWrapperTest) ... ok test_encoding_errors_reading (test.test_io.PyTextIOWrapperTest) ... ok test_encoding_errors_writing (test.test_io.PyTextIOWrapperTest) ... ok test_error_through_destructor (test.test_io.PyTextIOWrapperTest) ... ok test_errors_property (test.test_io.PyTextIOWrapperTest) ... ok test_issue1395_1 (test.test_io.PyTextIOWrapperTest) ... ok test_issue1395_2 (test.test_io.PyTextIOWrapperTest) ... ok test_issue1395_3 (test.test_io.PyTextIOWrapperTest) ... ok test_issue1395_4 (test.test_io.PyTextIOWrapperTest) ... ok test_issue1395_5 (test.test_io.PyTextIOWrapperTest) ... ok test_issue2282 (test.test_io.PyTextIOWrapperTest) ... ok test_line_buffering (test.test_io.PyTextIOWrapperTest) ... ok test_newlines (test.test_io.PyTextIOWrapperTest) ... ok test_newlines_input (test.test_io.PyTextIOWrapperTest) ... ok test_newlines_output (test.test_io.PyTextIOWrapperTest) ... ok test_override_destructor (test.test_io.PyTextIOWrapperTest) ... ok test_read_by_chunk (test.test_io.PyTextIOWrapperTest) ... ok test_read_one_by_one (test.test_io.PyTextIOWrapperTest) ... ok test_repr (test.test_io.PyTextIOWrapperTest) ... ok test_seek_and_tell (test.test_io.PyTextIOWrapperTest) ... ok test_seek_bom (test.test_io.PyTextIOWrapperTest) ... skipped 'Issue #6213 with incremental encoders' test_seeking (test.test_io.PyTextIOWrapperTest) ... ok test_seeking_too (test.test_io.PyTextIOWrapperTest) ... ok test_telling (test.test_io.PyTextIOWrapperTest) ... ok test_threads_write (test.test_io.PyTextIOWrapperTest) ... ok test_unreadable (test.test_io.PyTextIOWrapperTest) ... ok test___all__ (test.test_io.CMiscIOTest) ... ok test_abc_inheritance (test.test_io.CMiscIOTest) ... ok test_abc_inheritance_official (test.test_io.CMiscIOTest) ... ok test_abcs (test.test_io.CMiscIOTest) ... ok test_attributes (test.test_io.CMiscIOTest) ... ok test_blockingioerror (test.test_io.CMiscIOTest) ... ok test_io_after_close (test.test_io.CMiscIOTest) ... ok test___all__ (test.test_io.PyMiscIOTest) ... ok test_abc_inheritance (test.test_io.PyMiscIOTest) ... ok test_abc_inheritance_official (test.test_io.PyMiscIOTest) ... ok test_abcs (test.test_io.PyMiscIOTest) ... ok test_attributes (test.test_io.PyMiscIOTest) ... ok test_blockingioerror (test.test_io.PyMiscIOTest) ... ok test_io_after_close (test.test_io.PyMiscIOTest) ... ok ---------------------------------------------------------------------- Ran 333 tests in 19.159s OK (skipped=7) test_ioctl test_ioctl (test.test_ioctl.IoctlTests) ... ok test_ioctl_mutate (test.test_ioctl.IoctlTests) ... ok test_ioctl_signed_unsigned_code_param (test.test_ioctl.IoctlTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_isinstance test_bases_raises_other_than_attribute_error (test.test_isinstance.TestIsInstanceExceptions) ... ok test_class_has_no_bases (test.test_isinstance.TestIsInstanceExceptions) ... ok test_dont_mask_non_attribute_error (test.test_isinstance.TestIsInstanceExceptions) ... ok test_mask_attribute_error (test.test_isinstance.TestIsInstanceExceptions) ... ok test_dont_mask_non_attribute_error (test.test_isinstance.TestIsSubclassExceptions) ... ok test_dont_mask_non_attribute_error_in_cls_arg (test.test_isinstance.TestIsSubclassExceptions) ... ok test_mask_attribute_error (test.test_isinstance.TestIsSubclassExceptions) ... ok test_mask_attribute_error_in_cls_arg (test.test_isinstance.TestIsSubclassExceptions) ... ok test_isinstance_abstract (test.test_isinstance.TestIsInstanceIsSubclass) ... ok test_isinstance_normal (test.test_isinstance.TestIsInstanceIsSubclass) ... ok test_isinstance_recursion_limit (test.test_isinstance.TestIsInstanceIsSubclass) ... ok test_subclass_abstract (test.test_isinstance.TestIsInstanceIsSubclass) ... ok test_subclass_normal (test.test_isinstance.TestIsInstanceIsSubclass) ... ok test_subclass_recursion_limit (test.test_isinstance.TestIsInstanceIsSubclass) ... ok test_subclass_tuple (test.test_isinstance.TestIsInstanceIsSubclass) ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.015s OK test_iter test_3720 (test.test_iter.TestCase) ... ok test_builtin_filter (test.test_iter.TestCase) ... ok test_builtin_list (test.test_iter.TestCase) ... ok test_builtin_map (test.test_iter.TestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:399: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) self.assertEqual(map(None, SequenceClass(5)), range(5)) /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:403: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) self.assertEqual(map(None, d), d.keys()) /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:412: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) iter(d.iterkeys())), ok test_builtin_max_min (test.test_iter.TestCase) ... ok test_builtin_reduce (test.test_iter.TestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:511: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(add, SequenceClass(5)), 10) /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:512: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(add, SequenceClass(5), 42), 52) /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:514: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(add, SequenceClass(0), 42), 42) /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:515: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(add, SequenceClass(1)), 0) /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:516: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(add, SequenceClass(1), 42), 42) /home/exarkun/Projects/python/trunk/Lib/test/test_iter.py:519: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() self.assertEqual(reduce(add, d), "".join(d.keys())) ok test_builtin_tuple (test.test_iter.TestCase) ... ok test_builtin_zip (test.test_iter.TestCase) ... ok test_countOf (test.test_iter.TestCase) ... ok test_exception_function (test.test_iter.TestCase) ... ok test_exception_sequence (test.test_iter.TestCase) ... ok test_in_and_not_in (test.test_iter.TestCase) ... ok test_indexOf (test.test_iter.TestCase) ... ok test_iter_basic (test.test_iter.TestCase) ... ok test_iter_big_range (test.test_iter.TestCase) ... ok test_iter_callable (test.test_iter.TestCase) ... ok test_iter_class_for (test.test_iter.TestCase) ... ok test_iter_class_iter (test.test_iter.TestCase) ... ok test_iter_dict (test.test_iter.TestCase) ... ok test_iter_empty (test.test_iter.TestCase) ... ok test_iter_file (test.test_iter.TestCase) ... ok test_iter_for_loop (test.test_iter.TestCase) ... ok test_iter_function (test.test_iter.TestCase) ... ok test_iter_function_stop (test.test_iter.TestCase) ... ok test_iter_idempotency (test.test_iter.TestCase) ... ok test_iter_independence (test.test_iter.TestCase) ... ok test_iter_string (test.test_iter.TestCase) ... ok test_iter_tuple (test.test_iter.TestCase) ... ok test_iter_unicode (test.test_iter.TestCase) ... ok test_iter_xrange (test.test_iter.TestCase) ... ok test_nested_comprehensions_for (test.test_iter.TestCase) ... ok test_nested_comprehensions_iter (test.test_iter.TestCase) ... ok test_new_style_iter_class (test.test_iter.TestCase) ... ok test_seq_class_for (test.test_iter.TestCase) ... ok test_seq_class_iter (test.test_iter.TestCase) ... ok test_sinkstate_callable (test.test_iter.TestCase) ... ok test_sinkstate_dict (test.test_iter.TestCase) ... ok test_sinkstate_enumerate (test.test_iter.TestCase) ... ok test_sinkstate_list (test.test_iter.TestCase) ... ok test_sinkstate_range (test.test_iter.TestCase) ... ok test_sinkstate_sequence (test.test_iter.TestCase) ... ok test_sinkstate_string (test.test_iter.TestCase) ... ok test_sinkstate_tuple (test.test_iter.TestCase) ... ok test_sinkstate_yield (test.test_iter.TestCase) ... ok test_stop_sequence (test.test_iter.TestCase) ... ok test_unicode_join_endcase (test.test_iter.TestCase) ... ok test_unpack_iter (test.test_iter.TestCase) ... ok test_writelines (test.test_iter.TestCase) ... ok ---------------------------------------------------------------------- Ran 48 tests in 0.012s OK test_iterlen test_invariant (test.test_iterlen.TestRepeat) ... ok test_no_len_for_infinite_repeat (test.test_iterlen.TestRepeat) ... ok test_invariant (test.test_iterlen.TestXrange) ... ok test_invariant (test.test_iterlen.TestXrangeCustomReversed) ... ok test_invariant (test.test_iterlen.TestTuple) ... ok test_immutable_during_iteration (test.test_iterlen.TestDeque) ... ok test_invariant (test.test_iterlen.TestDeque) ... ok test_immutable_during_iteration (test.test_iterlen.TestDequeReversed) ... ok test_invariant (test.test_iterlen.TestDequeReversed) ... ok test_immutable_during_iteration (test.test_iterlen.TestDictKeys) ... ok test_invariant (test.test_iterlen.TestDictKeys) ... ok test_immutable_during_iteration (test.test_iterlen.TestDictItems) ... ok test_invariant (test.test_iterlen.TestDictItems) ... ok test_immutable_during_iteration (test.test_iterlen.TestDictValues) ... ok test_invariant (test.test_iterlen.TestDictValues) ... ok test_immutable_during_iteration (test.test_iterlen.TestSet) ... ok test_invariant (test.test_iterlen.TestSet) ... ok test_invariant (test.test_iterlen.TestList) ... ok test_mutation (test.test_iterlen.TestList) ... ok test_invariant (test.test_iterlen.TestListReversed) ... ok test_mutation (test.test_iterlen.TestListReversed) ... ok test_invalid_hint (test.test_iterlen.TestLengthHintExceptions) ... ok test_issue1242657 (test.test_iterlen.TestLengthHintExceptions) ... ok ---------------------------------------------------------------------- Ran 23 tests in 0.002s OK test_itertools test_StopIteration (test.test_itertools.TestBasicOps) ... ok test_chain (test.test_itertools.TestBasicOps) ... ok test_chain_from_iterable (test.test_itertools.TestBasicOps) ... ok test_combinations (test.test_itertools.TestBasicOps) ... /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:46: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() return reduce(operator.mul, iterable, 1) /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:123: DeprecationWarning: classic int division self.assertEqual(len(result), 0 if r>n else fact(n) / fact(r) / fact(n-r)) # right number of combs ok test_combinations_with_replacement (test.test_itertools.TestBasicOps) ... /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:179: DeprecationWarning: classic int division return fact(n+r-1) / fact(r)/ fact(n-1) ok test_combinatorics (test.test_itertools.TestBasicOps) ... /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:290: DeprecationWarning: classic int division self.assertEquals(len(perm), 0 if r>n else fact(n) / fact(n-r)) /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:291: DeprecationWarning: classic int division self.assertEquals(len(comb), 0 if r>n else fact(n) / fact(r) / fact(n-r)) /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:289: DeprecationWarning: classic int division self.assertEquals(len(cwr), (fact(n+r-1) / fact(r)/ fact(n-1)) if n else (not r)) ok test_compress (test.test_itertools.TestBasicOps) ... ok test_count (test.test_itertools.TestBasicOps) ... ok test_count_with_stride (test.test_itertools.TestBasicOps) ... ok test_cycle (test.test_itertools.TestBasicOps) ... ok test_dropwhile (test.test_itertools.TestBasicOps) ... ok test_groupby (test.test_itertools.TestBasicOps) ... ok test_ifilter (test.test_itertools.TestBasicOps) ... ok test_ifilterfalse (test.test_itertools.TestBasicOps) ... ok test_imap (test.test_itertools.TestBasicOps) ... ok test_islice (test.test_itertools.TestBasicOps) ... ok test_izip (test.test_itertools.TestBasicOps) ... ok test_iziplongest (test.test_itertools.TestBasicOps) ... /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:537: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) target = map(None, *args) /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:549: DeprecationWarning: map(None, ...) not supported in 3.x; use list(...) self.assertEqual(list(izip_longest('abc', 'defg', **{})), map(None, 'abc', 'defg')) # empty keyword dict ok test_permutations (test.test_itertools.TestBasicOps) ... /home/exarkun/Projects/python/trunk/Lib/test/test_itertools.py:258: DeprecationWarning: classic int division self.assertEqual(len(result), 0 if r>n else fact(n) / fact(n-r)) # right number of perms ok test_product (test.test_itertools.TestBasicOps) ... ok test_repeat (test.test_itertools.TestBasicOps) ... ok test_starmap (test.test_itertools.TestBasicOps) ... ok test_takewhile (test.test_itertools.TestBasicOps) ... ok test_tee (test.test_itertools.TestBasicOps) ... ok test_chain (test.test_itertools.TestVariousIteratorArgs) ... ok test_compress (test.test_itertools.TestVariousIteratorArgs) ... ok test_cycle (test.test_itertools.TestVariousIteratorArgs) ... ok test_dropwhile (test.test_itertools.TestVariousIteratorArgs) ... ok test_groupby (test.test_itertools.TestVariousIteratorArgs) ... ok test_ifilter (test.test_itertools.TestVariousIteratorArgs) ... ok test_ifilterfalse (test.test_itertools.TestVariousIteratorArgs) ... ok test_imap (test.test_itertools.TestVariousIteratorArgs) ... ok test_islice (test.test_itertools.TestVariousIteratorArgs) ... ok test_izip (test.test_itertools.TestVariousIteratorArgs) ... ok test_iziplongest (test.test_itertools.TestVariousIteratorArgs) ... ok test_product (test.test_itertools.TestVariousIteratorArgs) ... ok test_starmap (test.test_itertools.TestVariousIteratorArgs) ... ok test_takewhile (test.test_itertools.TestVariousIteratorArgs) ... ok test_tee (test.test_itertools.TestVariousIteratorArgs) ... ok test_chain (test.test_itertools.TestGC) ... ok test_chain_from_iterable (test.test_itertools.TestGC) ... ok test_combinations (test.test_itertools.TestGC) ... ok test_combinations_with_replacement (test.test_itertools.TestGC) ... ok test_compress (test.test_itertools.TestGC) ... ok test_count (test.test_itertools.TestGC) ... ok test_cycle (test.test_itertools.TestGC) ... ok test_dropwhile (test.test_itertools.TestGC) ... ok test_groupby (test.test_itertools.TestGC) ... ok test_ifilter (test.test_itertools.TestGC) ... ok test_ifilterfalse (test.test_itertools.TestGC) ... ok test_imap (test.test_itertools.TestGC) ... ok test_islice (test.test_itertools.TestGC) ... ok test_issue2246 (test.test_itertools.TestGC) ... ok test_izip (test.test_itertools.TestGC) ... ok test_izip_longest (test.test_itertools.TestGC) ... ok test_permutations (test.test_itertools.TestGC) ... ok test_product (test.test_itertools.TestGC) ... ok test_repeat (test.test_itertools.TestGC) ... ok test_starmap (test.test_itertools.TestGC) ... ok test_takewhile (test.test_itertools.TestGC) ... ok test_sf_793826 (test.test_itertools.RegressionTests) ... ok test_sf_950057 (test.test_itertools.RegressionTests) ... ok test_repeat (test.test_itertools.LengthTransparency) ... ok test_keywords_in_subclass (test.test_itertools.SubclassWithKwargsTest) ... ok test_chain (test.test_itertools.TestExamples) ... ok test_chain_from_iterable (test.test_itertools.TestExamples) ... ok test_combinations (test.test_itertools.TestExamples) ... ok test_combinations_with_replacement (test.test_itertools.TestExamples) ... ok test_compress (test.test_itertools.TestExamples) ... ok test_count (test.test_itertools.TestExamples) ... ok test_cycle (test.test_itertools.TestExamples) ... ok test_dropwhile (test.test_itertools.TestExamples) ... ok test_groupby (test.test_itertools.TestExamples) ... ok test_ifilter (test.test_itertools.TestExamples) ... ok test_ifilterfalse (test.test_itertools.TestExamples) ... ok test_imap (test.test_itertools.TestExamples) ... ok test_islice (test.test_itertools.TestExamples) ... ok test_izip (test.test_itertools.TestExamples) ... ok test_izip_longest (test.test_itertools.TestExamples) ... ok test_permutations (test.test_itertools.TestExamples) ... ok test_product (test.test_itertools.TestExamples) ... ok test_repeat (test.test_itertools.TestExamples) ... ok test_stapmap (test.test_itertools.TestExamples) ... ok test_takewhile (test.test_itertools.TestExamples) ... :1: SyntaxWarning: tuple parameter unpacking has been removed in 3.x for k, g in groupby(enumerate(data), lambda (i,x):i-x): ok ---------------------------------------------------------------------- Ran 84 tests in 2.060s OK Trying: amounts = [120.15, 764.05, 823.14] Expecting nothing ok Trying: for checknum, amount in izip(count(1200), amounts): print 'Check %d is for $%.2f' % (checknum, amount) Expecting: Check 1200 is for $120.15 Check 1201 is for $764.05 Check 1202 is for $823.14 ok Trying: import operator Expecting nothing ok Trying: for cube in imap(operator.pow, xrange(1,4), repeat(3)): print cube Expecting: 1 8 27 ok Trying: reportlines = ['EuroPython', 'Roster', '', 'alex', '', 'laura', '', 'martin', '', 'walter', '', 'samuele'] Expecting nothing ok Trying: for name in islice(reportlines, 3, None, 2): print name.title() Expecting: Alex Laura Martin Walter Samuele ok Trying: from operator import itemgetter Expecting nothing ok Trying: d = dict(a=1, b=2, c=1, d=2, e=1, f=2, g=3) Expecting nothing ok Trying: di = sorted(sorted(d.iteritems()), key=itemgetter(1)) Expecting nothing ok Trying: for k, g in groupby(di, itemgetter(1)): print k, map(itemgetter(0), g) Expecting: 1 ['a', 'c', 'e'] 2 ['b', 'd', 'f'] 3 ['g'] ok Trying: data = [ 1, 4,5,6, 10, 15,16,17,18, 22, 25,26,27,28] Expecting nothing ok Trying: for k, g in groupby(enumerate(data), lambda (i,x):i-x): print map(operator.itemgetter(1), g) Expecting: [1] [4, 5, 6] [10] [15, 16, 17, 18] [22] [25, 26, 27, 28] ok Trying: def take(n, iterable): "Return first n items of the iterable as a list" return list(islice(iterable, n)) Expecting nothing ok Trying: def enumerate(iterable, start=0): return izip(count(start), iterable) Expecting nothing ok Trying: def tabulate(function, start=0): "Return function(0), function(1), ..." return imap(function, count(start)) Expecting nothing ok Trying: def nth(iterable, n, default=None): "Returns the nth item or a default value" return next(islice(iterable, n, None), default) Expecting nothing ok Trying: def quantify(iterable, pred=bool): "Count how many times the predicate is true" return sum(imap(pred, iterable)) Expecting nothing ok Trying: def padnone(iterable): "Returns the sequence elements and then returns None indefinitely" return chain(iterable, repeat(None)) Expecting nothing ok Trying: def ncycles(iterable, n): "Returns the seqeuence elements n times" return chain(*repeat(iterable, n)) Expecting nothing ok Trying: def dotproduct(vec1, vec2): return sum(imap(operator.mul, vec1, vec2)) Expecting nothing ok Trying: def flatten(listOfLists): return list(chain.from_iterable(listOfLists)) Expecting nothing ok Trying: def repeatfunc(func, times=None, *args): "Repeat calls to func with specified arguments." " Example: repeatfunc(random.random)" if times is None: return starmap(func, repeat(args)) else: return starmap(func, repeat(args, times)) Expecting nothing ok Trying: def pairwise(iterable): "s -> (s0,s1), (s1,s2), (s2, s3), ..." a, b = tee(iterable) for elem in b: break return izip(a, b) Expecting nothing ok Trying: def grouper(n, iterable, fillvalue=None): "grouper(3, 'ABCDEFG', 'x') --> ABC DEF Gxx" args = [iter(iterable)] * n return izip_longest(fillvalue=fillvalue, *args) Expecting nothing ok Trying: def roundrobin(*iterables): "roundrobin('ABC', 'D', 'EF') --> A D E B F C" # Recipe credited to George Sakkis pending = len(iterables) nexts = cycle(iter(it).next for it in iterables) while pending: try: for next in nexts: yield next() except StopIteration: pending -= 1 nexts = cycle(islice(nexts, pending)) Expecting nothing ok Trying: def powerset(iterable): "powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)" s = list(iterable) return chain.from_iterable(combinations(s, r) for r in range(len(s)+1)) Expecting nothing ok Trying: def unique_everseen(iterable, key=None): "List unique elements, preserving order. Remember all elements ever seen." # unique_everseen('AAAABBBCCDAABBB') --> A B C D # unique_everseen('ABBCcAD', str.lower) --> A B C D seen = set() seen_add = seen.add if key is None: for element in iterable: if element not in seen: seen_add(element) yield element else: for element in iterable: k = key(element) if k not in seen: seen_add(k) yield element Expecting nothing ok Trying: def unique_justseen(iterable, key=None): "List unique elements, preserving order. Remember only the element just seen." # unique_justseen('AAAABBBCCDAABBB') --> A B C D A B # unique_justseen('ABBCcAD', str.lower) --> A B C A D return imap(next, imap(itemgetter(1), groupby(iterable, key))) Expecting nothing ok Trying: take(10, count()) Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] ok Trying: list(enumerate('abc')) Expecting: [(0, 'a'), (1, 'b'), (2, 'c')] ok Trying: list(islice(tabulate(lambda x: 2*x), 4)) Expecting: [0, 2, 4, 6] ok Trying: nth('abcde', 3) Expecting: 'd' ok Trying: nth('abcde', 9) is None Expecting: True ok Trying: quantify(xrange(99), lambda x: x%2==0) Expecting: 50 ok Trying: a = [[1, 2, 3], [4, 5, 6]] Expecting nothing ok Trying: flatten(a) Expecting: [1, 2, 3, 4, 5, 6] ok Trying: list(repeatfunc(pow, 5, 2, 3)) Expecting: [8, 8, 8, 8, 8] ok Trying: import random Expecting nothing ok Trying: take(5, imap(int, repeatfunc(random.random))) Expecting: [0, 0, 0, 0, 0] ok Trying: list(pairwise('abcd')) Expecting: [('a', 'b'), ('b', 'c'), ('c', 'd')] ok Trying: list(pairwise([])) Expecting: [] ok Trying: list(pairwise('a')) Expecting: [] ok Trying: list(islice(padnone('abc'), 0, 6)) Expecting: ['a', 'b', 'c', None, None, None] ok Trying: list(ncycles('abc', 3)) Expecting: ['a', 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c'] ok Trying: dotproduct([1,2,3], [4,5,6]) Expecting: 32 ok Trying: list(grouper(3, 'abcdefg', 'x')) Expecting: [('a', 'b', 'c'), ('d', 'e', 'f'), ('g', 'x', 'x')] ok Trying: list(roundrobin('abc', 'd', 'ef')) Expecting: ['a', 'd', 'e', 'b', 'f', 'c'] ok Trying: list(powerset([1,2,3])) Expecting: [(), (1,), (2,), (3,), (1, 2), (1, 3), (2, 3), (1, 2, 3)] ok Trying: all(len(list(powerset(range(n)))) == 2**n for n in range(18)) Expecting: True ok Trying: list(powerset('abcde')) == sorted(sorted(set(powerset('abcde'))), key=len) Expecting: True ok Trying: list(unique_everseen('AAAABBBCCDAABBB')) Expecting: ['A', 'B', 'C', 'D'] ok Trying: list(unique_everseen('ABBCcAD', str.lower)) Expecting: ['A', 'B', 'C', 'D'] ok Trying: list(unique_justseen('AAAABBBCCDAABBB')) Expecting: ['A', 'B', 'C', 'D', 'A', 'B'] ok Trying: list(unique_justseen('ABBCcAD', str.lower)) Expecting: ['A', 'B', 'C', 'A', 'D'] ok 131 items had no tests: test.test_itertools test.test_itertools.E test.test_itertools.E.__init__ test.test_itertools.E.__iter__ test.test_itertools.E.next test.test_itertools.G test.test_itertools.G.__getitem__ test.test_itertools.G.__init__ test.test_itertools.I test.test_itertools.I.__init__ test.test_itertools.I.__iter__ test.test_itertools.I.next test.test_itertools.Ig test.test_itertools.Ig.__init__ test.test_itertools.Ig.__iter__ test.test_itertools.L test.test_itertools.LengthTransparency test.test_itertools.LengthTransparency.test_repeat test.test_itertools.N test.test_itertools.N.__init__ test.test_itertools.N.__iter__ test.test_itertools.R test.test_itertools.RegressionTests test.test_itertools.RegressionTests.test_sf_793826 test.test_itertools.RegressionTests.test_sf_950057 test.test_itertools.S test.test_itertools.S.__init__ test.test_itertools.S.__iter__ test.test_itertools.S.next test.test_itertools.StopNow test.test_itertools.StopNow.__iter__ test.test_itertools.StopNow.next test.test_itertools.SubclassWithKwargsTest test.test_itertools.SubclassWithKwargsTest.test_keywords_in_subclass test.test_itertools.TestBasicOps test.test_itertools.TestBasicOps.test_StopIteration test.test_itertools.TestBasicOps.test_chain test.test_itertools.TestBasicOps.test_chain_from_iterable test.test_itertools.TestBasicOps.test_combinations test.test_itertools.TestBasicOps.test_combinations_with_replacement test.test_itertools.TestBasicOps.test_combinatorics test.test_itertools.TestBasicOps.test_compress test.test_itertools.TestBasicOps.test_count test.test_itertools.TestBasicOps.test_count_with_stride test.test_itertools.TestBasicOps.test_cycle test.test_itertools.TestBasicOps.test_dropwhile test.test_itertools.TestBasicOps.test_groupby test.test_itertools.TestBasicOps.test_ifilter test.test_itertools.TestBasicOps.test_ifilterfalse test.test_itertools.TestBasicOps.test_imap test.test_itertools.TestBasicOps.test_islice test.test_itertools.TestBasicOps.test_izip test.test_itertools.TestBasicOps.test_iziplongest test.test_itertools.TestBasicOps.test_permutations test.test_itertools.TestBasicOps.test_product test.test_itertools.TestBasicOps.test_repeat test.test_itertools.TestBasicOps.test_starmap test.test_itertools.TestBasicOps.test_takewhile test.test_itertools.TestBasicOps.test_tee test.test_itertools.TestExamples test.test_itertools.TestExamples.test_chain test.test_itertools.TestExamples.test_chain_from_iterable test.test_itertools.TestExamples.test_combinations test.test_itertools.TestExamples.test_combinations_with_replacement test.test_itertools.TestExamples.test_compress test.test_itertools.TestExamples.test_count test.test_itertools.TestExamples.test_cycle test.test_itertools.TestExamples.test_dropwhile test.test_itertools.TestExamples.test_groupby test.test_itertools.TestExamples.test_ifilter test.test_itertools.TestExamples.test_ifilterfalse test.test_itertools.TestExamples.test_imap test.test_itertools.TestExamples.test_islice test.test_itertools.TestExamples.test_izip test.test_itertools.TestExamples.test_izip_longest test.test_itertools.TestExamples.test_permutations test.test_itertools.TestExamples.test_product test.test_itertools.TestExamples.test_repeat test.test_itertools.TestExamples.test_stapmap test.test_itertools.TestExamples.test_takewhile test.test_itertools.TestGC test.test_itertools.TestGC.makecycle test.test_itertools.TestGC.test_chain test.test_itertools.TestGC.test_chain_from_iterable test.test_itertools.TestGC.test_combinations test.test_itertools.TestGC.test_combinations_with_replacement test.test_itertools.TestGC.test_compress test.test_itertools.TestGC.test_count test.test_itertools.TestGC.test_cycle test.test_itertools.TestGC.test_dropwhile test.test_itertools.TestGC.test_groupby test.test_itertools.TestGC.test_ifilter test.test_itertools.TestGC.test_ifilterfalse test.test_itertools.TestGC.test_imap test.test_itertools.TestGC.test_islice test.test_itertools.TestGC.test_issue2246 test.test_itertools.TestGC.test_izip test.test_itertools.TestGC.test_izip_longest test.test_itertools.TestGC.test_permutations test.test_itertools.TestGC.test_product test.test_itertools.TestGC.test_repeat test.test_itertools.TestGC.test_starmap test.test_itertools.TestGC.test_takewhile test.test_itertools.TestVariousIteratorArgs test.test_itertools.TestVariousIteratorArgs.test_chain test.test_itertools.TestVariousIteratorArgs.test_compress test.test_itertools.TestVariousIteratorArgs.test_cycle test.test_itertools.TestVariousIteratorArgs.test_dropwhile test.test_itertools.TestVariousIteratorArgs.test_groupby test.test_itertools.TestVariousIteratorArgs.test_ifilter test.test_itertools.TestVariousIteratorArgs.test_ifilterfalse test.test_itertools.TestVariousIteratorArgs.test_imap test.test_itertools.TestVariousIteratorArgs.test_islice test.test_itertools.TestVariousIteratorArgs.test_izip test.test_itertools.TestVariousIteratorArgs.test_iziplongest test.test_itertools.TestVariousIteratorArgs.test_product test.test_itertools.TestVariousIteratorArgs.test_starmap test.test_itertools.TestVariousIteratorArgs.test_takewhile test.test_itertools.TestVariousIteratorArgs.test_tee test.test_itertools.X test.test_itertools.X.__init__ test.test_itertools.X.next test.test_itertools.errfunc test.test_itertools.fact test.test_itertools.gen3 test.test_itertools.isEven test.test_itertools.isOdd test.test_itertools.onearg test.test_itertools.prod test.test_itertools.take test.test_itertools.test_main 1 items passed all tests: 54 tests in test.test_itertools.__test__.libreftest 54 tests in 132 items. 54 passed and 0 failed. Test passed. doctest (test.test_itertools) ... 54 tests with zero failures test_json Doctest: json ... ok Doctest: json.encoder.JSONEncoder.encode ... ok test_parse (json.tests.test_pass3.TestPass3) ... ok test_floats (json.tests.test_float.TestFloat) ... ok test_ints (json.tests.test_float.TestFloat) ... ok test_dump (json.tests.test_dump.TestDump) ... ok test_dumps (json.tests.test_dump.TestDump) ... ok test_encode_truefalse (json.tests.test_dump.TestDump) ... /home/exarkun/Projects/python/trunk/Lib/json/encoder.py:358: DeprecationWarning: comparing unequal types not supported in 3.x items.sort(key=lambda kv: kv[0]) ok test_defaultrecursion (json.tests.test_recursion.TestRecursion) ... ok test_dictrecursion (json.tests.test_recursion.TestRecursion) ... ok test_listrecursion (json.tests.test_recursion.TestRecursion) ... ok test_c_scanstring (json.tests.test_scanstring.TestScanString) ... ok test_issue3623 (json.tests.test_scanstring.TestScanString) ... ok test_overflow (json.tests.test_scanstring.TestScanString) ... ok test_py_scanstring (json.tests.test_scanstring.TestScanString) ... ok test_failures (json.tests.test_fail.TestFail) ... ok test_indent (json.tests.test_indent.TestIndent) ... ok test_separators (json.tests.test_separators.TestSeparators) ... ok test_decimal (json.tests.test_decode.TestDecode) ... ok test_decoder_optimizations (json.tests.test_decode.TestDecode) ... ok test_float (json.tests.test_decode.TestDecode) ... ok test_object_pairs_hook (json.tests.test_decode.TestDecode) ... ok test_default (json.tests.test_default.TestDefault) ... ok test_big_unicode_decode (json.tests.test_unicode.TestUnicode) ... ok test_big_unicode_encode (json.tests.test_unicode.TestUnicode) ... ok test_default_encoding (json.tests.test_unicode.TestUnicode) ... ok test_encoding1 (json.tests.test_unicode.TestUnicode) ... ok test_encoding2 (json.tests.test_unicode.TestUnicode) ... ok test_encoding3 (json.tests.test_unicode.TestUnicode) ... ok test_encoding4 (json.tests.test_unicode.TestUnicode) ... ok test_encoding5 (json.tests.test_unicode.TestUnicode) ... ok test_encoding6 (json.tests.test_unicode.TestUnicode) ... ok test_object_pairs_hook_with_unicode (json.tests.test_unicode.TestUnicode) ... ok test_unicode_decode (json.tests.test_unicode.TestUnicode) ... ok test_unicode_preservation (json.tests.test_unicode.TestUnicode) ... ok test_c_encode_basestring_ascii (json.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... ok test_py_encode_basestring_ascii (json.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... ok test_parse (json.tests.test_pass1.TestPass1) ... ok test_encode_basestring_ascii (json.tests.test_speedups.TestSpeedups) ... ok test_scanstring (json.tests.test_speedups.TestSpeedups) ... ok test_parse (json.tests.test_pass2.TestPass2) ... ok test_circular_composite (json.tests.test_check_circular.TestCheckCircular) ... ok test_circular_default (json.tests.test_check_circular.TestCheckCircular) ... ok test_circular_dict (json.tests.test_check_circular.TestCheckCircular) ... ok test_circular_list (json.tests.test_check_circular.TestCheckCircular) ... ok test_circular_off_default (json.tests.test_check_circular.TestCheckCircular) ... ok ---------------------------------------------------------------------- Ran 46 tests in 0.575s OK test_kqueue test_kqueue skipped -- test works only on BSD test_largefile test_seek (test.test_largefile.CLargeFileTest) ... create large file via seek (may be sparse file) ... check file size with os.fstat ok test_osstat (test.test_largefile.CLargeFileTest) ... check file size with os.stat ok test_seek_read (test.test_largefile.CLargeFileTest) ... play around with seek() and read() with the built largefile ok test_lseek (test.test_largefile.CLargeFileTest) ... play around with os.lseek() with the built largefile ok test_truncate (test.test_largefile.CLargeFileTest) ... try truncate ok test_seekable (test.test_largefile.CLargeFileTest) ... ok test_seek (test.test_largefile.PyLargeFileTest) ... create large file via seek (may be sparse file) ... check file size with os.fstat ok test_osstat (test.test_largefile.PyLargeFileTest) ... check file size with os.stat ok test_seek_read (test.test_largefile.PyLargeFileTest) ... play around with seek() and read() with the built largefile ok test_lseek (test.test_largefile.PyLargeFileTest) ... play around with os.lseek() with the built largefile ok test_truncate (test.test_largefile.PyLargeFileTest) ... try truncate ok test_seekable (test.test_largefile.PyLargeFileTest) ... ok test_seek (test.test_largefile.BuiltinLargeFileTest) ... create large file via seek (may be sparse file) ... check file size with os.fstat ok test_osstat (test.test_largefile.BuiltinLargeFileTest) ... check file size with os.stat ok test_seek_read (test.test_largefile.BuiltinLargeFileTest) ... play around with seek() and read() with the built largefile ok test_lseek (test.test_largefile.BuiltinLargeFileTest) ... play around with os.lseek() with the built largefile ok test_truncate (test.test_largefile.BuiltinLargeFileTest) ... try truncate ok test_seekable (test.test_largefile.BuiltinLargeFileTest) ... skipped "builtin file doesn't have seekable()" ---------------------------------------------------------------------- Ran 18 tests in 0.002s OK (skipped=1) test_lib2to3 /home/exarkun/Projects/python/trunk/Lib/lib2to3/pytree.py:34: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class Base(object): /home/exarkun/Projects/python/trunk/Lib/lib2to3/pgen2/pgen.py:347: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class DFAState(object): test_1 (lib2to3.tests.test_fixers.Test_apply) ... ok test_2 (lib2to3.tests.test_fixers.Test_apply) ... ok test_3 (lib2to3.tests.test_fixers.Test_apply) ... ok test_4 (lib2to3.tests.test_fixers.Test_apply) ... ok test_5 (lib2to3.tests.test_fixers.Test_apply) ... ok test_6 (lib2to3.tests.test_fixers.Test_apply) ... ok test_call (lib2to3.tests.test_fixers.Test_apply) ... ok test_complex_1 (lib2to3.tests.test_fixers.Test_apply) ... ok test_complex_2 (lib2to3.tests.test_fixers.Test_apply) ... ok test_complex_3 (lib2to3.tests.test_fixers.Test_apply) ... ok test_dotted_name (lib2to3.tests.test_fixers.Test_apply) ... ok test_extreme (lib2to3.tests.test_fixers.Test_apply) ... ok test_space_1 (lib2to3.tests.test_fixers.Test_apply) ... ok test_space_2 (lib2to3.tests.test_fixers.Test_apply) ... ok test_subscript (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_1 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_2 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_3 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_4 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_5 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_6 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_7 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_8 (lib2to3.tests.test_fixers.Test_apply) ... ok test_unchanged_9 (lib2to3.tests.test_fixers.Test_apply) ... ok test_weird_comments (lib2to3.tests.test_fixers.Test_apply) ... ok test_basestring (lib2to3.tests.test_fixers.Test_basestring) ... ok test_buffer (lib2to3.tests.test_fixers.Test_buffer) ... ok test_slicing (lib2to3.tests.test_fixers.Test_buffer) ... ok test_callable_call (lib2to3.tests.test_fixers.Test_callable) ... ok test_callable_should_not_change (lib2to3.tests.test_fixers.Test_callable) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_callable) ... ok test_01 (lib2to3.tests.test_fixers.Test_dict) ... ok test_02 (lib2to3.tests.test_fixers.Test_dict) ... ok test_03 (lib2to3.tests.test_fixers.Test_dict) ... ok test_04 (lib2to3.tests.test_fixers.Test_dict) ... ok test_05 (lib2to3.tests.test_fixers.Test_dict) ... ok test_06 (lib2to3.tests.test_fixers.Test_dict) ... ok test_07 (lib2to3.tests.test_fixers.Test_dict) ... ok test_08 (lib2to3.tests.test_fixers.Test_dict) ... ok test_09 (lib2to3.tests.test_fixers.Test_dict) ... ok test_10 (lib2to3.tests.test_fixers.Test_dict) ... ok test_11 (lib2to3.tests.test_fixers.Test_dict) ... ok test_12 (lib2to3.tests.test_fixers.Test_dict) ... ok test_13 (lib2to3.tests.test_fixers.Test_dict) ... ok test_14 (lib2to3.tests.test_fixers.Test_dict) ... ok test_15 (lib2to3.tests.test_fixers.Test_dict) ... ok test_16 (lib2to3.tests.test_fixers.Test_dict) ... ok test_17 (lib2to3.tests.test_fixers.Test_dict) ... ok test_18 (lib2to3.tests.test_fixers.Test_dict) ... ok test_19 (lib2to3.tests.test_fixers.Test_dict) ... ok test_20 (lib2to3.tests.test_fixers.Test_dict) ... ok test_21 (lib2to3.tests.test_fixers.Test_dict) ... ok test_22 (lib2to3.tests.test_fixers.Test_dict) ... ok test_23 (lib2to3.tests.test_fixers.Test_dict) ... ok test_24 (lib2to3.tests.test_fixers.Test_dict) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_dict) ... ok test_trailing_comment (lib2to3.tests.test_fixers.Test_dict) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_dict) ... ok test_bare_except (lib2to3.tests.test_fixers.Test_except) ... ok test_bare_except_and_else_finally (lib2to3.tests.test_fixers.Test_except) ... ok test_list_unpack (lib2to3.tests.test_fixers.Test_except) ... ok test_multi_class (lib2to3.tests.test_fixers.Test_except) ... ok test_multi_fixed_excepts_before_bare_except (lib2to3.tests.test_fixers.Test_except) ... ok test_one_line_suites (lib2to3.tests.test_fixers.Test_except) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_except) ... ok test_simple (lib2to3.tests.test_fixers.Test_except) ... ok test_simple_no_space_before_target (lib2to3.tests.test_fixers.Test_except) ... ok test_tuple_unpack (lib2to3.tests.test_fixers.Test_except) ... ok test_unchanged_1 (lib2to3.tests.test_fixers.Test_except) ... ok test_unchanged_2 (lib2to3.tests.test_fixers.Test_except) ... ok test_unchanged_3 (lib2to3.tests.test_fixers.Test_except) ... ok test_weird_target_1 (lib2to3.tests.test_fixers.Test_except) ... ok test_weird_target_2 (lib2to3.tests.test_fixers.Test_except) ... ok test_weird_target_3 (lib2to3.tests.test_fixers.Test_except) ... ok test_basic (lib2to3.tests.test_fixers.Test_exec) ... ok test_complex_1 (lib2to3.tests.test_fixers.Test_exec) ... ok test_complex_2 (lib2to3.tests.test_fixers.Test_exec) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_exec) ... ok test_unchanged_1 (lib2to3.tests.test_fixers.Test_exec) ... ok test_unchanged_2 (lib2to3.tests.test_fixers.Test_exec) ... ok test_unchanged_3 (lib2to3.tests.test_fixers.Test_exec) ... ok test_unchanged_4 (lib2to3.tests.test_fixers.Test_exec) ... ok test_with_globals (lib2to3.tests.test_fixers.Test_exec) ... ok test_with_globals_locals (lib2to3.tests.test_fixers.Test_exec) ... ok test_conversion (lib2to3.tests.test_fixers.Test_execfile) ... ok test_spacing (lib2to3.tests.test_fixers.Test_execfile) ... ok test_filter_basic (lib2to3.tests.test_fixers.Test_filter) ... ok test_filter_nochange (lib2to3.tests.test_fixers.Test_filter) ... ok test_future_builtins (lib2to3.tests.test_fixers.Test_filter) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_filter) ... ok test (lib2to3.tests.test_fixers.Test_funcattrs) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_funcattrs) ... ok test_future (lib2to3.tests.test_fixers.Test_future) ... ok test_run_order (lib2to3.tests.test_fixers.Test_future) ... ok test_basic (lib2to3.tests.test_fixers.Test_getcwdu) ... ok test_comment (lib2to3.tests.test_fixers.Test_getcwdu) ... ok test_indentation (lib2to3.tests.test_fixers.Test_getcwdu) ... ok test_multilation (lib2to3.tests.test_fixers.Test_getcwdu) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_getcwdu) ... ok test_1 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_10 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_11 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_2 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_3 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_4 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_5 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_6 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_7 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_8 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_9 (lib2to3.tests.test_fixers.Test_has_key) ... ok test_eq_expression (lib2to3.tests.test_fixers.Test_idioms) ... ok test_eq_reverse (lib2to3.tests.test_fixers.Test_idioms) ... ok test_eq_simple (lib2to3.tests.test_fixers.Test_idioms) ... ok test_is_expression (lib2to3.tests.test_fixers.Test_idioms) ... ok test_is_not_expression (lib2to3.tests.test_fixers.Test_idioms) ... ok test_is_not_reverse (lib2to3.tests.test_fixers.Test_idioms) ... ok test_is_not_simple (lib2to3.tests.test_fixers.Test_idioms) ... ok test_is_reverse (lib2to3.tests.test_fixers.Test_idioms) ... ok test_is_simple (lib2to3.tests.test_fixers.Test_idioms) ... ok test_ne_expression (lib2to3.tests.test_fixers.Test_idioms) ... ok test_ne_reverse (lib2to3.tests.test_fixers.Test_idioms) ... ok test_ne_simple (lib2to3.tests.test_fixers.Test_idioms) ... ok test_sort_list_call (lib2to3.tests.test_fixers.Test_idioms) ... ok test_sort_simple_expr (lib2to3.tests.test_fixers.Test_idioms) ... ok test_sort_unchanged (lib2to3.tests.test_fixers.Test_idioms) ... ok test_type_unchanged (lib2to3.tests.test_fixers.Test_idioms) ... ok test_while (lib2to3.tests.test_fixers.Test_idioms) ... ok test_while_unchanged (lib2to3.tests.test_fixers.Test_idioms) ... ok test_comments_and_indent (lib2to3.tests.test_fixers.Test_import) ... ok test_dotted_from (lib2to3.tests.test_fixers.Test_import) ... ok test_dotted_import (lib2to3.tests.test_fixers.Test_import) ... ok test_dotted_import_as (lib2to3.tests.test_fixers.Test_import) ... ok test_files_checked (lib2to3.tests.test_fixers.Test_import) ... ok test_from (lib2to3.tests.test_fixers.Test_import) ... ok test_from_as (lib2to3.tests.test_fixers.Test_import) ... ok test_import (lib2to3.tests.test_fixers.Test_import) ... ok test_import_as (lib2to3.tests.test_fixers.Test_import) ... ok test_import_from_package (lib2to3.tests.test_fixers.Test_import) ... ok test_in_package (lib2to3.tests.test_fixers.Test_import) ... ok test_local_and_absolute (lib2to3.tests.test_fixers.Test_import) ... ok test_not_in_package (lib2to3.tests.test_fixers.Test_import) ... ok test_prefix (lib2to3.tests.test_fixers.Test_import) ... ok test_import_from (lib2to3.tests.test_fixers.Test_imports) ... ok test_import_from_as (lib2to3.tests.test_fixers.Test_imports) ... ok test_import_module (lib2to3.tests.test_fixers.Test_imports) ... ok test_import_module_as (lib2to3.tests.test_fixers.Test_imports) ... ok test_import_module_usage (lib2to3.tests.test_fixers.Test_imports) ... ok test_multiple_imports (lib2to3.tests.test_fixers.Test_imports) ... ok test_multiple_imports_as (lib2to3.tests.test_fixers.Test_imports) ... ok test_star (lib2to3.tests.test_fixers.Test_imports) ... ok test_import_from (lib2to3.tests.test_fixers.Test_imports2) ... ok test_import_from_as (lib2to3.tests.test_fixers.Test_imports2) ... ok test_import_module (lib2to3.tests.test_fixers.Test_imports2) ... ok test_import_module_as (lib2to3.tests.test_fixers.Test_imports2) ... ok test_import_module_usage (lib2to3.tests.test_fixers.Test_imports2) ... ok test_star (lib2to3.tests.test_fixers.Test_imports2) ... ok test_after_local_imports_refactoring (lib2to3.tests.test_fixers.Test_imports_fixer_order) ... ok test_import_from (lib2to3.tests.test_fixers.Test_imports_fixer_order) ... ok test_import_from_as (lib2to3.tests.test_fixers.Test_imports_fixer_order) ... ok test_import_module (lib2to3.tests.test_fixers.Test_imports_fixer_order) ... ok test_import_module_as (lib2to3.tests.test_fixers.Test_imports_fixer_order) ... ok test_import_module_usage (lib2to3.tests.test_fixers.Test_imports_fixer_order) ... ok test_star (lib2to3.tests.test_fixers.Test_imports_fixer_order) ... ok test_1 (lib2to3.tests.test_fixers.Test_input) ... ok test_2 (lib2to3.tests.test_fixers.Test_input) ... ok test_3 (lib2to3.tests.test_fixers.Test_input) ... ok test_4 (lib2to3.tests.test_fixers.Test_input) ... ok test_idempotency (lib2to3.tests.test_fixers.Test_input) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_input) ... ok test_trailing_comment (lib2to3.tests.test_fixers.Test_input) ... ok test (lib2to3.tests.test_fixers.Test_intern) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_intern) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_intern) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_isinstance) ... ok test_remove_multiple_items (lib2to3.tests.test_fixers.Test_isinstance) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_isinstance) ... ok test_0 (lib2to3.tests.test_fixers.Test_itertools) ... ok test_1 (lib2to3.tests.test_fixers.Test_itertools) ... ok test_2 (lib2to3.tests.test_fixers.Test_itertools) ... ok test_4 (lib2to3.tests.test_fixers.Test_itertools) ... ok test_run_order (lib2to3.tests.test_fixers.Test_itertools) ... ok test_space_1 (lib2to3.tests.test_fixers.Test_itertools) ... ok test_space_2 (lib2to3.tests.test_fixers.Test_itertools) ... ok test_comments (lib2to3.tests.test_fixers.Test_itertools_imports) ... ok test_ifilter (lib2to3.tests.test_fixers.Test_itertools_imports) ... ok test_import_as (lib2to3.tests.test_fixers.Test_itertools_imports) ... ok test_none (lib2to3.tests.test_fixers.Test_itertools_imports) ... ok test_reduced (lib2to3.tests.test_fixers.Test_itertools_imports) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_itertools_imports) ... ok test_1 (lib2to3.tests.test_fixers.Test_long) ... ok test_2 (lib2to3.tests.test_fixers.Test_long) ... ok test_3 (lib2to3.tests.test_fixers.Test_long) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_long) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_long) ... ok test_future_builtins (lib2to3.tests.test_fixers.Test_map) ... ok test_map_basic (lib2to3.tests.test_fixers.Test_map) ... ok test_map_nochange (lib2to3.tests.test_fixers.Test_map) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_map) ... ok test_trailing_comment (lib2to3.tests.test_fixers.Test_map) ... ok test_comments (lib2to3.tests.test_fixers.Test_metaclass) ... ok test_meta (lib2to3.tests.test_fixers.Test_metaclass) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_metaclass) ... ok test (lib2to3.tests.test_fixers.Test_methodattrs) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_methodattrs) ... ok test_basic (lib2to3.tests.test_fixers.Test_ne) ... ok test_chained (lib2to3.tests.test_fixers.Test_ne) ... ok test_no_spaces (lib2to3.tests.test_fixers.Test_ne) ... ok test_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_3 (lib2to3.tests.test_fixers.Test_next) ... ok test_4 (lib2to3.tests.test_fixers.Test_next) ... ok test_5 (lib2to3.tests.test_fixers.Test_next) ... ok test_6 (lib2to3.tests.test_fixers.Test_next) ... ok test_assign_to_next (lib2to3.tests.test_fixers.Test_next) ... ok test_assign_to_next_in_list (lib2to3.tests.test_fixers.Test_next) ... ok test_assign_to_next_in_tuple (lib2to3.tests.test_fixers.Test_next) ... ok test_builtin_assign (lib2to3.tests.test_fixers.Test_next) ... ok test_builtin_assign_in_list (lib2to3.tests.test_fixers.Test_next) ... ok test_builtin_assign_in_tuple (lib2to3.tests.test_fixers.Test_next) ... ok test_method_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_method_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_method_3 (lib2to3.tests.test_fixers.Test_next) ... ok test_method_4 (lib2to3.tests.test_fixers.Test_next) ... ok test_method_unchanged (lib2to3.tests.test_fixers.Test_next) ... ok test_noncall_access_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_noncall_access_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_noncall_access_3 (lib2to3.tests.test_fixers.Test_next) ... ok test_prefix_preservation_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_prefix_preservation_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_prefix_preservation_3 (lib2to3.tests.test_fixers.Test_next) ... ok test_prefix_preservation_4 (lib2to3.tests.test_fixers.Test_next) ... ok test_prefix_preservation_5 (lib2to3.tests.test_fixers.Test_next) ... ok test_prefix_preservation_6 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_assign_list_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_assign_list_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_assign_simple (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_assign_tuple_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_assign_tuple_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_for_simple (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_for_tuple_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_for_tuple_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_funcdef_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_funcdef_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_global_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_global_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_import_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_import_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_import_3 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_import_from_1 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_import_from_2 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_import_from_3 (lib2to3.tests.test_fixers.Test_next) ... ok test_shadowing_import_from_4 (lib2to3.tests.test_fixers.Test_next) ... ok test_1 (lib2to3.tests.test_fixers.Test_nonzero) ... ok test_2 (lib2to3.tests.test_fixers.Test_nonzero) ... ok test_unchanged_1 (lib2to3.tests.test_fixers.Test_nonzero) ... ok test_unchanged_2 (lib2to3.tests.test_fixers.Test_nonzero) ... ok test_unchanged_func (lib2to3.tests.test_fixers.Test_nonzero) ... ok test_comments_and_spacing (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_long_hex (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_long_int_1 (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_long_int_2 (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_octal_1 (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_complex_bare (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_complex_float (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_complex_int (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_exp (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_float (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_hex (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_int (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_unchanged_octal (lib2to3.tests.test_fixers.Test_numliterals) ... ok test_bare_isCallable (lib2to3.tests.test_fixers.Test_operator) ... ok test_bare_sequenceIncludes (lib2to3.tests.test_fixers.Test_operator) ... ok test_operator_isCallable (lib2to3.tests.test_fixers.Test_operator) ... ok test_operator_sequenceIncludes (lib2to3.tests.test_fixers.Test_operator) ... ok test_0 (lib2to3.tests.test_fixers.Test_paren) ... ok test_1 (lib2to3.tests.test_fixers.Test_paren) ... ok test_2 (lib2to3.tests.test_fixers.Test_paren) ... ok test_3 (lib2to3.tests.test_fixers.Test_paren) ... ok test_4 (lib2to3.tests.test_fixers.Test_paren) ... ok test_5 (lib2to3.tests.test_fixers.Test_paren) ... ok test_6 (lib2to3.tests.test_fixers.Test_paren) ... ok test_unchanged_0 (lib2to3.tests.test_fixers.Test_paren) ... ok test_unchanged_1 (lib2to3.tests.test_fixers.Test_paren) ... ok test_unchanged_2 (lib2to3.tests.test_fixers.Test_paren) ... ok test_unchanged_3 (lib2to3.tests.test_fixers.Test_paren) ... ok test_unchanged_4 (lib2to3.tests.test_fixers.Test_paren) ... ok test_1 (lib2to3.tests.test_fixers.Test_print) ... ok test_2 (lib2to3.tests.test_fixers.Test_print) ... ok test_3 (lib2to3.tests.test_fixers.Test_print) ... ok test_4 (lib2to3.tests.test_fixers.Test_print) ... ok test_5 (lib2to3.tests.test_fixers.Test_print) ... ok test_idempotency (lib2to3.tests.test_fixers.Test_print) ... ok test_idempotency_print_as_function (lib2to3.tests.test_fixers.Test_print) ... ok test_no_trailing_comma (lib2to3.tests.test_fixers.Test_print) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_print) ... ok test_spaces_before_file (lib2to3.tests.test_fixers.Test_print) ... ok test_trailing_comma_1 (lib2to3.tests.test_fixers.Test_print) ... ok test_trailing_comma_2 (lib2to3.tests.test_fixers.Test_print) ... ok test_trailing_comma_3 (lib2to3.tests.test_fixers.Test_print) ... ok test_tuple (lib2to3.tests.test_fixers.Test_print) ... ok test_vargs_without_trailing_comma (lib2to3.tests.test_fixers.Test_print) ... ok test_with_future_print_function (lib2to3.tests.test_fixers.Test_print) ... ok test_with_trailing_comma (lib2to3.tests.test_fixers.Test_print) ... ok test_basic (lib2to3.tests.test_fixers.Test_raise) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_raise) ... ok test_string_exc (lib2to3.tests.test_fixers.Test_raise) ... ok test_string_exc_val (lib2to3.tests.test_fixers.Test_raise) ... ok test_string_exc_val_tb (lib2to3.tests.test_fixers.Test_raise) ... ok test_tb_1 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tb_2 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tb_3 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tb_4 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tb_5 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tb_6 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tuple_detection (lib2to3.tests.test_fixers.Test_raise) ... ok test_tuple_exc_1 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tuple_exc_2 (lib2to3.tests.test_fixers.Test_raise) ... ok test_tuple_value (lib2to3.tests.test_fixers.Test_raise) ... ok test_with_comments (lib2to3.tests.test_fixers.Test_raise) ... ok test_1 (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_2 (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_3 (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_4 (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_5 (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_6 (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_8 (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_raw_input) ... ok test_call_with_lambda (lib2to3.tests.test_fixers.Test_reduce) ... ok test_simple_call (lib2to3.tests.test_fixers.Test_reduce) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_reduce) ... ok test_import_from (lib2to3.tests.test_fixers.Test_renames) ... ok test_import_from_as (lib2to3.tests.test_fixers.Test_renames) ... ok test_import_module_usage (lib2to3.tests.test_fixers.Test_renames) ... ok test_complex (lib2to3.tests.test_fixers.Test_repr) ... ok test_nested (lib2to3.tests.test_fixers.Test_repr) ... ok test_nested_tuples (lib2to3.tests.test_fixers.Test_repr) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_repr) ... ok test_simple_1 (lib2to3.tests.test_fixers.Test_repr) ... ok test_simple_2 (lib2to3.tests.test_fixers.Test_repr) ... ok test_tuple (lib2to3.tests.test_fixers.Test_repr) ... ok test_basic (lib2to3.tests.test_fixers.Test_set_literal) ... ok test_comments (lib2to3.tests.test_fixers.Test_set_literal) ... ok test_listcomps (lib2to3.tests.test_fixers.Test_set_literal) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_set_literal) ... ok test_whitespace (lib2to3.tests.test_fixers.Test_set_literal) ... ok test (lib2to3.tests.test_fixers.Test_standarderror) ... ok test_0 (lib2to3.tests.test_fixers.Test_sys_exc) ... ok test_1 (lib2to3.tests.test_fixers.Test_sys_exc) ... ok test_2 (lib2to3.tests.test_fixers.Test_sys_exc) ... ok test_3 (lib2to3.tests.test_fixers.Test_sys_exc) ... ok test_4 (lib2to3.tests.test_fixers.Test_sys_exc) ... ok test_5 (lib2to3.tests.test_fixers.Test_sys_exc) ... ok test_1 (lib2to3.tests.test_fixers.Test_throw) ... ok test_2 (lib2to3.tests.test_fixers.Test_throw) ... ok test_3 (lib2to3.tests.test_fixers.Test_throw) ... ok test_4 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_1 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_2 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_3 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_4 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_5 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_6 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_7 (lib2to3.tests.test_fixers.Test_throw) ... ok test_tb_8 (lib2to3.tests.test_fixers.Test_throw) ... ok test_untouched_1 (lib2to3.tests.test_fixers.Test_throw) ... ok test_untouched_2 (lib2to3.tests.test_fixers.Test_throw) ... ok test_untouched_3 (lib2to3.tests.test_fixers.Test_throw) ... ok test_warn_1 (lib2to3.tests.test_fixers.Test_throw) ... ok test_warn_2 (lib2to3.tests.test_fixers.Test_throw) ... ok test_warn_3 (lib2to3.tests.test_fixers.Test_throw) ... ok test_1 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_2 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_3 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_docstring (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_keywords (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_nested (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_nested_multi_use (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_no_change (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_one_tuple (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_parens_single_arg (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_simple (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_simple_multi_use (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_lambda_simple_reverse (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_multi_1 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_multi_2 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_semicolon (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_unchanged_1 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_unchanged_2 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_unchanged_3 (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_varargs (lib2to3.tests.test_fixers.Test_tuple_params) ... ok test_basic_types_convert (lib2to3.tests.test_fixers.Test_types) ... ok test_unichr (lib2to3.tests.test_fixers.Test_unicode) ... ok test_unicode_call (lib2to3.tests.test_fixers.Test_unicode) ... ok test_unicode_literal_1 (lib2to3.tests.test_fixers.Test_unicode) ... ok test_unicode_literal_2 (lib2to3.tests.test_fixers.Test_unicode) ... ok test_unicode_literal_3 (lib2to3.tests.test_fixers.Test_unicode) ... ok test_whitespace (lib2to3.tests.test_fixers.Test_unicode) ... ok test_import_from (lib2to3.tests.test_fixers.Test_urllib) ... ok test_import_from_as (lib2to3.tests.test_fixers.Test_urllib) ... ok test_import_module (lib2to3.tests.test_fixers.Test_urllib) ... ok test_import_module_as (lib2to3.tests.test_fixers.Test_urllib) ... ok test_import_module_usage (lib2to3.tests.test_fixers.Test_urllib) ... ok test_star (lib2to3.tests.test_fixers.Test_urllib) ... ok test_in_consuming_context (lib2to3.tests.test_fixers.Test_xrange) ... ok test_in_contains_test (lib2to3.tests.test_fixers.Test_xrange) ... ok test_prefix_preservation (lib2to3.tests.test_fixers.Test_xrange) ... ok test_range_in_for (lib2to3.tests.test_fixers.Test_xrange) ... ok test_single_arg (lib2to3.tests.test_fixers.Test_xrange) ... ok test_three_args (lib2to3.tests.test_fixers.Test_xrange) ... ok test_two_args (lib2to3.tests.test_fixers.Test_xrange) ... ok test_wrap_in_list (lib2to3.tests.test_fixers.Test_xrange) ... ok test_xrange_in_for (lib2to3.tests.test_fixers.Test_xrange) ... ok test_attr_ref (lib2to3.tests.test_fixers.Test_xreadlines) ... ok test_call (lib2to3.tests.test_fixers.Test_xreadlines) ... ok test_unchanged (lib2to3.tests.test_fixers.Test_xreadlines) ... ok test_future_builtins (lib2to3.tests.test_fixers.Test_zip) ... ok test_zip_basic (lib2to3.tests.test_fixers.Test_zip) ... ok test_zip_nochange (lib2to3.tests.test_fixers.Test_zip) ... ok test_changed (lib2to3.tests.test_pytree.TestNodes) ... ok test_deprecated_prefix_methods (lib2to3.tests.test_pytree.TestNodes) ... ok test_get_suffix (lib2to3.tests.test_pytree.TestNodes) ... ok test_instantiate_base (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_constructor_prefix (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_equality (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_next_sibling (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_prefix (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_prev_sibling (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_repr (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_str (lib2to3.tests.test_pytree.TestNodes) ... ok test_leaf_str_numeric_value (lib2to3.tests.test_pytree.TestNodes) ... ok test_node (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_append_child (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_constructor_prefix (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_equality (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_insert_child (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_next_sibling (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_prefix (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_prev_sibling (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_recursive_equality (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_repr (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_set_child (lib2to3.tests.test_pytree.TestNodes) ... ok test_node_str (lib2to3.tests.test_pytree.TestNodes) ... ok test_post_order (lib2to3.tests.test_pytree.TestNodes) ... ok test_pre_order (lib2to3.tests.test_pytree.TestNodes) ... ok test_remove (lib2to3.tests.test_pytree.TestNodes) ... ok test_remove_parentless (lib2to3.tests.test_pytree.TestNodes) ... ok test_replace (lib2to3.tests.test_pytree.TestNodes) ... ok test_replace_with_list (lib2to3.tests.test_pytree.TestNodes) ... ok test_basic_patterns (lib2to3.tests.test_pytree.TestPatterns) ... ok test_generate_matches (lib2to3.tests.test_pytree.TestPatterns) ... ok test_has_key_example (lib2to3.tests.test_pytree.TestPatterns) ... ok test_wildcard (lib2to3.tests.test_pytree.TestPatterns) ... ok test (lib2to3.tests.test_util.Test_Attr) ... ok test_returns (lib2to3.tests.test_util.Test_Attr) ... ok test (lib2to3.tests.test_util.Test_Call) ... ok test (lib2to3.tests.test_util.Test_Name) ... ok test_in_function (lib2to3.tests.test_util.Test_does_tree_import) ... /home/exarkun/Projects/python/trunk/Lib/lib2to3/pgen2/tokenize.py:376: DeprecationWarning: classic int division elif line[pos] == '\t': column = (column/tabsize + 1)*tabsize ok test_class_def (lib2to3.tests.test_util.Test_find_binding) ... ok test_for (lib2to3.tests.test_util.Test_find_binding) ... ok test_for_nested (lib2to3.tests.test_util.Test_find_binding) ... ok test_from_import (lib2to3.tests.test_util.Test_find_binding) ... ok test_from_import_as (lib2to3.tests.test_util.Test_find_binding) ... ok test_from_import_as_with_package (lib2to3.tests.test_util.Test_find_binding) ... ok test_from_import_with_package (lib2to3.tests.test_util.Test_find_binding) ... ok test_function_def (lib2to3.tests.test_util.Test_find_binding) ... ok test_if (lib2to3.tests.test_util.Test_find_binding) ... ok test_if_nested (lib2to3.tests.test_util.Test_find_binding) ... ok test_import_as (lib2to3.tests.test_util.Test_find_binding) ... ok test_import_as_with_package (lib2to3.tests.test_util.Test_find_binding) ... ok test_invalid_assignments (lib2to3.tests.test_util.Test_find_binding) ... ok test_list_assignment (lib2to3.tests.test_util.Test_find_binding) ... ok test_simple_assignment (lib2to3.tests.test_util.Test_find_binding) ... ok test_simple_import (lib2to3.tests.test_util.Test_find_binding) ... ok test_simple_import_with_package (lib2to3.tests.test_util.Test_find_binding) ... ok test_try_except (lib2to3.tests.test_util.Test_find_binding) ... ok test_try_except_finally (lib2to3.tests.test_util.Test_find_binding) ... ok test_try_except_finally_nested (lib2to3.tests.test_util.Test_find_binding) ... ok test_try_except_nested (lib2to3.tests.test_util.Test_find_binding) ... ok test_tuple_assignment (lib2to3.tests.test_util.Test_find_binding) ... ok test_while (lib2to3.tests.test_util.Test_find_binding) ... ok test_while_nested (lib2to3.tests.test_util.Test_find_binding) ... ok test_invalid (lib2to3.tests.test_util.Test_is_list) ... ok test_valid (lib2to3.tests.test_util.Test_is_list) ... ok test_invalid (lib2to3.tests.test_util.Test_is_tuple) ... ok test_valid (lib2to3.tests.test_util.Test_is_tuple) ... ok test_after_docstring (lib2to3.tests.test_util.Test_touch_import) ... ok test_after_imports (lib2to3.tests.test_util.Test_touch_import) ... ok test_beginning (lib2to3.tests.test_util.Test_touch_import) ... ok test_from_import (lib2to3.tests.test_util.Test_touch_import) ... ok test_name_import (lib2to3.tests.test_util.Test_touch_import) ... ok test_crlf_newlines (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_detect_future_print (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_explicit (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_file_encoding (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_fixer_loading (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_fixer_loading_helpers (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_get_headnode_dict (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_naughty_fixers (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_print_function_option (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_refactor_dir (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_refactor_docstring (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_refactor_file (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_refactor_stdin (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok test_refactor_string (lib2to3.tests.test_refactor.TestRefactoringTool) ... ok ---------------------------------------------------------------------- Ran 505 tests in 6.063s OK test_linecache test_checkcache (test.test_linecache.LineCacheTests) ... ok test_clearcache (test.test_linecache.LineCacheTests) ... ok test_getline (test.test_linecache.LineCacheTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.014s OK test_linuxaudiodev /home/exarkun/Projects/python/trunk/Lib/test/test_linuxaudiodev.py:9: DeprecationWarning: the sunaudio module has been removed in Python 3.0; use the sunau module instead import sunaudio test_errors (test.test_linuxaudiodev.LinuxAudioDevTests) ... ok test_methods (test.test_linuxaudiodev.LinuxAudioDevTests) ... ok test_play_sound_file (test.test_linuxaudiodev.LinuxAudioDevTests) ... ERROR ====================================================================== ERROR: test_play_sound_file (test.test_linuxaudiodev.LinuxAudioDevTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_linuxaudiodev.py", line 52, in test_play_sound_file self.dev.write(data) error: (0, 'Error') ---------------------------------------------------------------------- Ran 3 tests in 3.305s FAILED (errors=1) test test_linuxaudiodev failed -- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_linuxaudiodev.py", line 52, in test_play_sound_file self.dev.write(data) error: (0, 'Error') test_list test_addmul (test.test_list.ListTest) ... ok test_append (test.test_list.ListTest) ... ok test_basic (test.test_list.ListTest) ... ok test_bigrepeat (test.test_list.ListTest) ... ok test_constructor_exception_handling (test.test_list.ListTest) ... ok test_constructors (test.test_list.ListTest) ... ok test_contains (test.test_list.ListTest) ... ok test_contains_fake (test.test_list.ListTest) ... ok test_contains_order (test.test_list.ListTest) ... ok test_count (test.test_list.ListTest) ... ok test_delitem (test.test_list.ListTest) ... ok test_delslice (test.test_list.ListTest) ... ok test_extend (test.test_list.ListTest) ... ok test_extendedslicing (test.test_list.ListTest) ... ok test_getitem (test.test_list.ListTest) ... ok test_getitemoverwriteiter (test.test_list.ListTest) ... ok test_getslice (test.test_list.ListTest) ... ok test_iadd (test.test_list.ListTest) ... ok test_identity (test.test_list.ListTest) ... ok test_imul (test.test_list.ListTest) ... ok test_index (test.test_list.ListTest) ... ok test_init (test.test_list.ListTest) ... ok test_insert (test.test_list.ListTest) ... ok test_len (test.test_list.ListTest) ... ok test_minmax (test.test_list.ListTest) ... ok test_overflow (test.test_list.ListTest) ... ok test_pop (test.test_list.ListTest) ... ok test_print (test.test_list.ListTest) ... ok test_remove (test.test_list.ListTest) ... ok test_repeat (test.test_list.ListTest) ... ok test_repr (test.test_list.ListTest) ... ok test_reverse (test.test_list.ListTest) ... ok test_reversed (test.test_list.ListTest) ... ok test_set_subscript (test.test_list.ListTest) ... ok test_setitem (test.test_list.ListTest) ... ok test_setslice (test.test_list.ListTest) ... ok test_slice (test.test_list.ListTest) ... ok test_sort (test.test_list.ListTest) ... /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: the cmp argument is not supported in 3.x callableObj(*args, **kwargs) /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:436: DeprecationWarning: the cmp argument is not supported in 3.x u.sort(revcmp) /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:443: DeprecationWarning: the cmp argument is not supported in 3.x z.sort(myComparison) ok test_subscript (test.test_list.ListTest) ... ok test_truth (test.test_list.ListTest) ... ok ---------------------------------------------------------------------- Ran 40 tests in 0.011s OK test_locale test_getpreferredencoding (test.test_locale.TestMiscellaneous) ... ok test_strcoll_3303 (test.test_locale.TestMiscellaneous) ... ok test_onlyOnePattern (test.test_locale.TestFormatPatternArg) ... ok test_complex_formatting (test.test_locale.TestEnUSNumberFormatting) ... ok test_currency (test.test_locale.TestEnUSNumberFormatting) ... ok test_grouping (test.test_locale.TestEnUSNumberFormatting) ... ok test_grouping_and_padding (test.test_locale.TestEnUSNumberFormatting) ... ok test_integer_grouping (test.test_locale.TestEnUSNumberFormatting) ... ok test_integer_grouping_and_padding (test.test_locale.TestEnUSNumberFormatting) ... ok test_padding (test.test_locale.TestEnUSNumberFormatting) ... ok test_simple (test.test_locale.TestEnUSNumberFormatting) ... ok test_grouping (test.test_locale.TestCNumberFormatting) ... ok test_grouping_and_padding (test.test_locale.TestCNumberFormatting) ... ok test_currency (test.test_locale.TestFrFRNumberFormatting) ... ok test_decimal_point (test.test_locale.TestFrFRNumberFormatting) ... ok test_grouping (test.test_locale.TestFrFRNumberFormatting) ... ok test_grouping_and_padding (test.test_locale.TestFrFRNumberFormatting) ... ok test_integer_grouping (test.test_locale.TestFrFRNumberFormatting) ... ok test_integer_grouping_and_padding (test.test_locale.TestFrFRNumberFormatting) ... ok test_complex_formatting (test.test_locale.TestNumberFormatting) ... testing with "en_US.UTF-8"...ok test_grouping (test.test_locale.TestNumberFormatting) ... testing with "en_US.UTF-8"...ok test_grouping_and_padding (test.test_locale.TestNumberFormatting) ... testing with "en_US.UTF-8"...ok test_integer_grouping (test.test_locale.TestNumberFormatting) ... testing with "en_US.UTF-8"...ok test_integer_grouping_and_padding (test.test_locale.TestNumberFormatting) ... testing with "en_US.UTF-8"...ok test_padding (test.test_locale.TestNumberFormatting) ... testing with "en_US.UTF-8"...ok test_simple (test.test_locale.TestNumberFormatting) ... testing with "en_US.UTF-8"...ok test_isalnum (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_isalpha (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_islower (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_isspace (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_isupper (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_lower (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_split (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_strip (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok test_upper (test.test_locale.TestStringMethods) ... testing with "en_US.UTF-8"...ok ---------------------------------------------------------------------- Ran 35 tests in 0.006s OK test_logging test_flat (test.test_logging.BuiltinLevelsTest) ... ok test_nested_explicit (test.test_logging.BuiltinLevelsTest) ... ok test_nested_inherited (test.test_logging.BuiltinLevelsTest) ... ok test_nested_with_virtual_parent (test.test_logging.BuiltinLevelsTest) ... ok test_filter (test.test_logging.BasicFilterTest) ... ok test_handler_filter (test.test_logging.CustomLevelsAndFiltersTest) ... ok test_logger_filter (test.test_logging.CustomLevelsAndFiltersTest) ... ok test_specific_filters (test.test_logging.CustomLevelsAndFiltersTest) ... ok test_flush (test.test_logging.MemoryHandlerTest) ... ok test_config0_ok (test.test_logging.ConfigFileTest) ... ok test_config1_ok (test.test_logging.ConfigFileTest) ... ok test_config2_failure (test.test_logging.ConfigFileTest) ... ok test_config3_failure (test.test_logging.ConfigFileTest) ... ok test_config4_ok (test.test_logging.ConfigFileTest) ... ok test_config5_ok (test.test_logging.ConfigFileTest) ... ok test_config6_ok (test.test_logging.ConfigFileTest) ... ok test_output (test.test_logging.SocketHandlerTest) ... ok test_persistent_loggers (test.test_logging.MemoryTest) ... ok test_encoding_cyrillic_unicode (test.test_logging.EncodingTest) ... ok test_encoding_plain_file (test.test_logging.EncodingTest) ... ok test_warnings (test.test_logging.WarningsTest) ... ok ---------------------------------------------------------------------- Ran 21 tests in 0.239s OK test_long test_auto_overflow (test.test_long.LongTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_long.py:622: DeprecationWarning: classic long division expected = longx / longy /home/exarkun/Projects/python/trunk/Lib/test/test_long.py:623: DeprecationWarning: classic int division got = x / y /home/exarkun/Projects/python/trunk/Lib/test/test_long.py:623: DeprecationWarning: classic long division got = x / y ok test_bit_length (test.test_long.LongTest) ... ok test_bitop_identities (test.test_long.LongTest) ... ok test_conversion (test.test_long.LongTest) ... ok test_division (test.test_long.LongTest) ... ok test_float_conversion (test.test_long.LongTest) ... ok test_float_overflow (test.test_long.LongTest) ... ok test_format (test.test_long.LongTest) ... ok test_karatsuba (test.test_long.LongTest) ... ok test_logs (test.test_long.LongTest) ... ok test_long (test.test_long.LongTest) ... ok test_misc (test.test_long.LongTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_long.py:578: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(X()[-5L:7L], (-5, 7)) /home/exarkun/Projects/python/trunk/Lib/test/test_long.py:581: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ slicemin, slicemax = X()[-2L**100:2L**100] /home/exarkun/Projects/python/trunk/Lib/test/test_long.py:582: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(X()[slicemin:slicemax], (slicemin, slicemax)) ok test_mixed_compares (test.test_long.LongTest) ... ok test_nan_inf (test.test_long.LongTest) ... ok ---------------------------------------------------------------------- Ran 14 tests in 1.934s OK test_long_future test (test.test_long_future.TrueDivisionTests) ... :1: DeprecationWarning: classic long division ok ---------------------------------------------------------------------- Ran 1 test in 0.001s OK test_longexp test_longexp (test.test_longexp.LongExpText) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.169s OK test_macos test_macos skipped -- No module named MacOS test_macostools test_macostools skipped -- No module named MacOS test_macpath test_abspath (test.test_macpath.MacPathTestCase) ... ok test_commonprefix (test.test_macpath.MacPathTestCase) ... ok test_isabs (test.test_macpath.MacPathTestCase) ... ok test_split (test.test_macpath.MacPathTestCase) ... ok test_splitdrive (test.test_macpath.MacPathTestCase) ... ok test_splitext (test.test_macpath.MacPathTestCase) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.000s OK test_mailbox test_notimplemented (test.test_mailbox.TestMailboxSuperclass) ... ok test_add (test.test_mailbox.TestMaildir) ... ok test_add_MM (test.test_mailbox.TestMaildir) ... ok test_add_and_remove_folders (test.test_mailbox.TestMaildir) ... ok test_clean (test.test_mailbox.TestMaildir) ... ok test_clear (test.test_mailbox.TestMaildir) ... ok test_close (test.test_mailbox.TestMaildir) ... ok test_consistent_factory (test.test_mailbox.TestMaildir) ... ok test_contains (test.test_mailbox.TestMaildir) ... ok test_create_tmp (test.test_mailbox.TestMaildir) ... ok test_delitem (test.test_mailbox.TestMaildir) ... ok test_directory_in_folder (test.test_mailbox.TestMaildir) ... ok test_discard (test.test_mailbox.TestMaildir) ... ok test_dump_message (test.test_mailbox.TestMaildir) ... ok test_file_permissions (test.test_mailbox.TestMaildir) ... ok test_flush (test.test_mailbox.TestMaildir) ... ok test_folder (test.test_mailbox.TestMaildir) ... ok test_folder_file_perms (test.test_mailbox.TestMaildir) ... ok test_get (test.test_mailbox.TestMaildir) ... ok test_get_MM (test.test_mailbox.TestMaildir) ... ok test_get_file (test.test_mailbox.TestMaildir) ... ok test_get_folder (test.test_mailbox.TestMaildir) ... ok test_get_message (test.test_mailbox.TestMaildir) ... ok test_get_string (test.test_mailbox.TestMaildir) ... ok test_getitem (test.test_mailbox.TestMaildir) ... ok test_has_key (test.test_mailbox.TestMaildir) ... ok test_initialize_existing (test.test_mailbox.TestMaildir) ... ok test_initialize_new (test.test_mailbox.TestMaildir) ... ok test_items (test.test_mailbox.TestMaildir) ... ok test_iter (test.test_mailbox.TestMaildir) ... ok test_iteritems (test.test_mailbox.TestMaildir) ... ok test_iterkeys (test.test_mailbox.TestMaildir) ... ok test_itervalues (test.test_mailbox.TestMaildir) ... ok test_keys (test.test_mailbox.TestMaildir) ... ok test_len (test.test_mailbox.TestMaildir) ... ok test_list_folders (test.test_mailbox.TestMaildir) ... ok test_lock_unlock (test.test_mailbox.TestMaildir) ... ok test_lookup (test.test_mailbox.TestMaildir) ... ok test_pop (test.test_mailbox.TestMaildir) ... ok test_popitem (test.test_mailbox.TestMaildir) ... ok test_refresh (test.test_mailbox.TestMaildir) ... ok test_remove (test.test_mailbox.TestMaildir) ... ok test_reread (test.test_mailbox.TestMaildir) ... ok test_set_MM (test.test_mailbox.TestMaildir) ... ok test_set_item (test.test_mailbox.TestMaildir) ... ok test_update (test.test_mailbox.TestMaildir) ... ok test_values (test.test_mailbox.TestMaildir) ... ok test_add (test.test_mailbox.TestMbox) ... ok test_add_and_close (test.test_mailbox.TestMbox) ... ok test_add_from_string (test.test_mailbox.TestMbox) ... ok test_add_mbox_or_mmdf_message (test.test_mailbox.TestMbox) ... ok test_clear (test.test_mailbox.TestMbox) ... ok test_close (test.test_mailbox.TestMbox) ... ok test_contains (test.test_mailbox.TestMbox) ... ok test_delitem (test.test_mailbox.TestMbox) ... ok test_discard (test.test_mailbox.TestMbox) ... ok test_dump_message (test.test_mailbox.TestMbox) ... ok test_file_perms (test.test_mailbox.TestMbox) ... ok test_flush (test.test_mailbox.TestMbox) ... ok test_get (test.test_mailbox.TestMbox) ... ok test_get_file (test.test_mailbox.TestMbox) ... ok test_get_message (test.test_mailbox.TestMbox) ... ok test_get_string (test.test_mailbox.TestMbox) ... ok test_getitem (test.test_mailbox.TestMbox) ... ok test_has_key (test.test_mailbox.TestMbox) ... ok test_items (test.test_mailbox.TestMbox) ... ok test_iter (test.test_mailbox.TestMbox) ... ok test_iteritems (test.test_mailbox.TestMbox) ... ok test_iterkeys (test.test_mailbox.TestMbox) ... ok test_itervalues (test.test_mailbox.TestMbox) ... ok test_keys (test.test_mailbox.TestMbox) ... ok test_len (test.test_mailbox.TestMbox) ... ok test_lock_conflict (test.test_mailbox.TestMbox) ... ok test_lock_unlock (test.test_mailbox.TestMbox) ... ok test_open_close_open (test.test_mailbox.TestMbox) ... ok test_pop (test.test_mailbox.TestMbox) ... ok test_popitem (test.test_mailbox.TestMbox) ... ok test_relock (test.test_mailbox.TestMbox) ... ok test_remove (test.test_mailbox.TestMbox) ... ok test_set_item (test.test_mailbox.TestMbox) ... ok test_update (test.test_mailbox.TestMbox) ... ok test_values (test.test_mailbox.TestMbox) ... ok test_add (test.test_mailbox.TestMMDF) ... ok test_add_and_close (test.test_mailbox.TestMMDF) ... ok test_add_from_string (test.test_mailbox.TestMMDF) ... ok test_add_mbox_or_mmdf_message (test.test_mailbox.TestMMDF) ... ok test_clear (test.test_mailbox.TestMMDF) ... ok test_close (test.test_mailbox.TestMMDF) ... ok test_contains (test.test_mailbox.TestMMDF) ... ok test_delitem (test.test_mailbox.TestMMDF) ... ok test_discard (test.test_mailbox.TestMMDF) ... ok test_dump_message (test.test_mailbox.TestMMDF) ... ok test_flush (test.test_mailbox.TestMMDF) ... ok test_get (test.test_mailbox.TestMMDF) ... ok test_get_file (test.test_mailbox.TestMMDF) ... ok test_get_message (test.test_mailbox.TestMMDF) ... ok test_get_string (test.test_mailbox.TestMMDF) ... ok test_getitem (test.test_mailbox.TestMMDF) ... ok test_has_key (test.test_mailbox.TestMMDF) ... ok test_items (test.test_mailbox.TestMMDF) ... ok test_iter (test.test_mailbox.TestMMDF) ... ok test_iteritems (test.test_mailbox.TestMMDF) ... ok test_iterkeys (test.test_mailbox.TestMMDF) ... ok test_itervalues (test.test_mailbox.TestMMDF) ... ok test_keys (test.test_mailbox.TestMMDF) ... ok test_len (test.test_mailbox.TestMMDF) ... ok test_lock_conflict (test.test_mailbox.TestMMDF) ... ok test_lock_unlock (test.test_mailbox.TestMMDF) ... ok test_open_close_open (test.test_mailbox.TestMMDF) ... ok test_pop (test.test_mailbox.TestMMDF) ... ok test_popitem (test.test_mailbox.TestMMDF) ... ok test_relock (test.test_mailbox.TestMMDF) ... ok test_remove (test.test_mailbox.TestMMDF) ... ok test_set_item (test.test_mailbox.TestMMDF) ... ok test_update (test.test_mailbox.TestMMDF) ... ok test_values (test.test_mailbox.TestMMDF) ... ok test_add (test.test_mailbox.TestMH) ... ok test_add_and_remove_folders (test.test_mailbox.TestMH) ... ok test_clear (test.test_mailbox.TestMH) ... ok test_close (test.test_mailbox.TestMH) ... ok test_contains (test.test_mailbox.TestMH) ... ok test_delitem (test.test_mailbox.TestMH) ... ok test_discard (test.test_mailbox.TestMH) ... ok test_dump_message (test.test_mailbox.TestMH) ... ok test_flush (test.test_mailbox.TestMH) ... ok test_get (test.test_mailbox.TestMH) ... ok test_get_file (test.test_mailbox.TestMH) ... ok test_get_folder (test.test_mailbox.TestMH) ... ok test_get_message (test.test_mailbox.TestMH) ... ok test_get_string (test.test_mailbox.TestMH) ... ok test_getitem (test.test_mailbox.TestMH) ... ok test_has_key (test.test_mailbox.TestMH) ... ok test_issue2625 (test.test_mailbox.TestMH) ... ok test_items (test.test_mailbox.TestMH) ... ok test_iter (test.test_mailbox.TestMH) ... ok test_iteritems (test.test_mailbox.TestMH) ... ok test_iterkeys (test.test_mailbox.TestMH) ... ok test_itervalues (test.test_mailbox.TestMH) ... ok test_keys (test.test_mailbox.TestMH) ... ok test_len (test.test_mailbox.TestMH) ... ok test_list_folders (test.test_mailbox.TestMH) ... ok test_lock_unlock (test.test_mailbox.TestMH) ... ok test_pack (test.test_mailbox.TestMH) ... ok test_pop (test.test_mailbox.TestMH) ... ok test_popitem (test.test_mailbox.TestMH) ... ok test_remove (test.test_mailbox.TestMH) ... ok test_sequences (test.test_mailbox.TestMH) ... ok test_set_item (test.test_mailbox.TestMH) ... ok test_update (test.test_mailbox.TestMH) ... ok test_values (test.test_mailbox.TestMH) ... ok test_add (test.test_mailbox.TestBabyl) ... ok test_clear (test.test_mailbox.TestBabyl) ... ok test_close (test.test_mailbox.TestBabyl) ... ok test_contains (test.test_mailbox.TestBabyl) ... ok test_delitem (test.test_mailbox.TestBabyl) ... ok test_discard (test.test_mailbox.TestBabyl) ... ok test_dump_message (test.test_mailbox.TestBabyl) ... ok test_flush (test.test_mailbox.TestBabyl) ... ok test_get (test.test_mailbox.TestBabyl) ... ok test_get_file (test.test_mailbox.TestBabyl) ... ok test_get_message (test.test_mailbox.TestBabyl) ... ok test_get_string (test.test_mailbox.TestBabyl) ... ok test_getitem (test.test_mailbox.TestBabyl) ... ok test_has_key (test.test_mailbox.TestBabyl) ... ok test_items (test.test_mailbox.TestBabyl) ... ok test_iter (test.test_mailbox.TestBabyl) ... ok test_iteritems (test.test_mailbox.TestBabyl) ... ok test_iterkeys (test.test_mailbox.TestBabyl) ... ok test_itervalues (test.test_mailbox.TestBabyl) ... ok test_keys (test.test_mailbox.TestBabyl) ... ok test_labels (test.test_mailbox.TestBabyl) ... ok test_len (test.test_mailbox.TestBabyl) ... ok test_lock_unlock (test.test_mailbox.TestBabyl) ... ok test_pop (test.test_mailbox.TestBabyl) ... ok test_popitem (test.test_mailbox.TestBabyl) ... ok test_remove (test.test_mailbox.TestBabyl) ... ok test_set_item (test.test_mailbox.TestBabyl) ... ok test_update (test.test_mailbox.TestBabyl) ... ok test_values (test.test_mailbox.TestBabyl) ... ok test_become_message (test.test_mailbox.TestMessage) ... ok test_explain_to (test.test_mailbox.TestMessage) ... ok test_initialize_incorrectly (test.test_mailbox.TestMessage) ... ok test_initialize_with_eMM (test.test_mailbox.TestMessage) ... ok test_initialize_with_file (test.test_mailbox.TestMessage) ... ok test_initialize_with_nothing (test.test_mailbox.TestMessage) ... ok test_initialize_with_string (test.test_mailbox.TestMessage) ... ok test_become_message (test.test_mailbox.TestMaildirMessage) ... ok test_date (test.test_mailbox.TestMaildirMessage) ... ok test_explain_to (test.test_mailbox.TestMaildirMessage) ... ok test_flags (test.test_mailbox.TestMaildirMessage) ... ok test_info (test.test_mailbox.TestMaildirMessage) ... ok test_info_and_flags (test.test_mailbox.TestMaildirMessage) ... ok test_initialize_incorrectly (test.test_mailbox.TestMaildirMessage) ... ok test_initialize_with_eMM (test.test_mailbox.TestMaildirMessage) ... ok test_initialize_with_file (test.test_mailbox.TestMaildirMessage) ... ok test_initialize_with_nothing (test.test_mailbox.TestMaildirMessage) ... ok test_initialize_with_string (test.test_mailbox.TestMaildirMessage) ... ok test_subdir (test.test_mailbox.TestMaildirMessage) ... ok test_become_message (test.test_mailbox.TestMboxMessage) ... ok test_explain_to (test.test_mailbox.TestMboxMessage) ... ok test_flags (test.test_mailbox.TestMboxMessage) ... ok test_from (test.test_mailbox.TestMboxMessage) ... ok test_initialize_incorrectly (test.test_mailbox.TestMboxMessage) ... ok test_initialize_with_eMM (test.test_mailbox.TestMboxMessage) ... ok test_initialize_with_file (test.test_mailbox.TestMboxMessage) ... ok test_initialize_with_nothing (test.test_mailbox.TestMboxMessage) ... ok test_initialize_with_string (test.test_mailbox.TestMboxMessage) ... ok test_initialize_with_unixfrom (test.test_mailbox.TestMboxMessage) ... ok test_become_message (test.test_mailbox.TestMHMessage) ... ok test_explain_to (test.test_mailbox.TestMHMessage) ... ok test_initialize_incorrectly (test.test_mailbox.TestMHMessage) ... ok test_initialize_with_eMM (test.test_mailbox.TestMHMessage) ... ok test_initialize_with_file (test.test_mailbox.TestMHMessage) ... ok test_initialize_with_nothing (test.test_mailbox.TestMHMessage) ... ok test_initialize_with_string (test.test_mailbox.TestMHMessage) ... ok test_sequences (test.test_mailbox.TestMHMessage) ... ok test_become_message (test.test_mailbox.TestBabylMessage) ... ok test_explain_to (test.test_mailbox.TestBabylMessage) ... ok test_initialize_incorrectly (test.test_mailbox.TestBabylMessage) ... ok test_initialize_with_eMM (test.test_mailbox.TestBabylMessage) ... ok test_initialize_with_file (test.test_mailbox.TestBabylMessage) ... ok test_initialize_with_nothing (test.test_mailbox.TestBabylMessage) ... ok test_initialize_with_string (test.test_mailbox.TestBabylMessage) ... ok test_labels (test.test_mailbox.TestBabylMessage) ... ok test_visible (test.test_mailbox.TestBabylMessage) ... ok test_become_message (test.test_mailbox.TestMMDFMessage) ... ok test_explain_to (test.test_mailbox.TestMMDFMessage) ... ok test_flags (test.test_mailbox.TestMMDFMessage) ... ok test_from (test.test_mailbox.TestMMDFMessage) ... ok test_initialize_incorrectly (test.test_mailbox.TestMMDFMessage) ... ok test_initialize_with_eMM (test.test_mailbox.TestMMDFMessage) ... ok test_initialize_with_file (test.test_mailbox.TestMMDFMessage) ... ok test_initialize_with_nothing (test.test_mailbox.TestMMDFMessage) ... ok test_initialize_with_string (test.test_mailbox.TestMMDFMessage) ... ok test_initialize_with_unixfrom (test.test_mailbox.TestMMDFMessage) ... ok test_babyl_to_babyl (test.test_mailbox.TestMessageConversion) ... ok test_babyl_to_maildir (test.test_mailbox.TestMessageConversion) ... ok test_babyl_to_mboxmmdf (test.test_mailbox.TestMessageConversion) ... ok test_babyl_to_mh (test.test_mailbox.TestMessageConversion) ... ok test_maildir_to_babyl (test.test_mailbox.TestMessageConversion) ... ok test_maildir_to_maildir (test.test_mailbox.TestMessageConversion) ... ok test_maildir_to_mboxmmdf (test.test_mailbox.TestMessageConversion) ... ok test_maildir_to_mh (test.test_mailbox.TestMessageConversion) ... ok test_mboxmmdf_to_babyl (test.test_mailbox.TestMessageConversion) ... ok test_mboxmmdf_to_maildir (test.test_mailbox.TestMessageConversion) ... ok test_mboxmmdf_to_mboxmmdf (test.test_mailbox.TestMessageConversion) ... ok test_mboxmmdf_to_mh (test.test_mailbox.TestMessageConversion) ... ok test_mh_to_babyl (test.test_mailbox.TestMessageConversion) ... ok test_mh_to_maildir (test.test_mailbox.TestMessageConversion) ... ok test_mh_to_mboxmmdf (test.test_mailbox.TestMessageConversion) ... ok test_mh_to_mh (test.test_mailbox.TestMessageConversion) ... ok test_plain_to_x (test.test_mailbox.TestMessageConversion) ... ok test_x_to_invalid (test.test_mailbox.TestMessageConversion) ... ok test_x_to_plain (test.test_mailbox.TestMessageConversion) ... ok test_close (test.test_mailbox.TestProxyFile) ... ok test_initialize (test.test_mailbox.TestProxyFile) ... ok test_iteration (test.test_mailbox.TestProxyFile) ... ok test_read (test.test_mailbox.TestProxyFile) ... ok test_readline (test.test_mailbox.TestProxyFile) ... ok test_readlines (test.test_mailbox.TestProxyFile) ... ok test_seek_and_tell (test.test_mailbox.TestProxyFile) ... ok test_close (test.test_mailbox.TestPartialFile) ... ok test_initialize (test.test_mailbox.TestPartialFile) ... ok test_iteration (test.test_mailbox.TestPartialFile) ... ok test_read (test.test_mailbox.TestPartialFile) ... ok test_readline (test.test_mailbox.TestPartialFile) ... ok test_readlines (test.test_mailbox.TestPartialFile) ... ok test_seek_and_tell (test.test_mailbox.TestPartialFile) ... ok test_empty_maildir (test.test_mailbox.MaildirTestCase) Test an empty maildir mailbox ... ok test_nonempty_maildir_both (test.test_mailbox.MaildirTestCase) ... ok test_nonempty_maildir_cur (test.test_mailbox.MaildirTestCase) ... ok test_nonempty_maildir_new (test.test_mailbox.MaildirTestCase) ... ok test_unix_mbox (test.test_mailbox.MaildirTestCase) ... ok ---------------------------------------------------------------------- Ran 273 tests in 8.185s OK test_marshal test_bool (test.test_marshal.IntTestCase) ... ok test_int64 (test.test_marshal.IntTestCase) ... ok test_ints (test.test_marshal.IntTestCase) ... ok test_floats (test.test_marshal.FloatTestCase) ... ok test_buffer (test.test_marshal.StringTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_marshal.py:132: DeprecationWarning: buffer() not supported in 3.x b = buffer(s) ok test_string (test.test_marshal.StringTestCase) ... ok test_unicode (test.test_marshal.StringTestCase) ... ok test_code (test.test_marshal.CodeTestCase) ... ok test_dict (test.test_marshal.ContainerTestCase) ... ok test_list (test.test_marshal.ContainerTestCase) ... ok test_sets (test.test_marshal.ContainerTestCase) ... ok test_tuple (test.test_marshal.ContainerTestCase) ... ok test_exceptions (test.test_marshal.ExceptionTestCase) ... ok test_bug_5888452 (test.test_marshal.BugsTestCase) ... ok test_exact_type_match (test.test_marshal.BugsTestCase) ... ok test_fuzz (test.test_marshal.BugsTestCase) ... ok test_invalid_longs (test.test_marshal.BugsTestCase) ... ok test_large_marshal (test.test_marshal.BugsTestCase) ... ok test_loads_recursion (test.test_marshal.BugsTestCase) ... ok test_patch_873224 (test.test_marshal.BugsTestCase) ... ok test_recursion_limit (test.test_marshal.BugsTestCase) ... ok test_version_argument (test.test_marshal.BugsTestCase) ... ok ---------------------------------------------------------------------- Ran 22 tests in 0.074s OK test_math testAcos (test.test_math.MathTests) ... ok testAcosh (test.test_math.MathTests) ... ok testAsin (test.test_math.MathTests) ... ok testAsinh (test.test_math.MathTests) ... ok testAtan (test.test_math.MathTests) ... ok testAtan2 (test.test_math.MathTests) ... ok testAtanh (test.test_math.MathTests) ... ok testCeil (test.test_math.MathTests) ... ok testConstants (test.test_math.MathTests) ... ok testCopysign (test.test_math.MathTests) ... ok testCos (test.test_math.MathTests) ... ok testCosh (test.test_math.MathTests) ... ok testDegrees (test.test_math.MathTests) ... ok testExp (test.test_math.MathTests) ... ok testFabs (test.test_math.MathTests) ... ok testFactorial (test.test_math.MathTests) ... ok testFloor (test.test_math.MathTests) ... ok testFmod (test.test_math.MathTests) ... ok testFrexp (test.test_math.MathTests) ... ok testFsum (test.test_math.MathTests) ... skipped 'fsum is not exact on machines with double rounding' testHypot (test.test_math.MathTests) ... ok testIsinf (test.test_math.MathTests) ... ok testIsnan (test.test_math.MathTests) ... ok testLdexp (test.test_math.MathTests) ... ok testLog (test.test_math.MathTests) ... ok testLog10 (test.test_math.MathTests) ... ok testLog1p (test.test_math.MathTests) ... ok testModf (test.test_math.MathTests) ... ok testPow (test.test_math.MathTests) ... ok testRadians (test.test_math.MathTests) ... ok testSin (test.test_math.MathTests) ... ok testSinh (test.test_math.MathTests) ... ok testSqrt (test.test_math.MathTests) ... ok testTan (test.test_math.MathTests) ... ok testTanh (test.test_math.MathTests) ... ok test_exceptions (test.test_math.MathTests) ... ok test_mtestfile (test.test_math.MathTests) ... ok test_testfile (test.test_math.MathTests) ... ok test_trunc (test.test_math.MathTests) ... ok Doctest: ieee754.txt ... ok ---------------------------------------------------------------------- Ran 40 tests in 0.026s OK (skipped=1) test_md5 test_basics (test.test_md5.MD5_Test) ... ok test_hexdigest (test.test_md5.MD5_Test) ... ok test_large_update (test.test_md5.MD5_Test) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK test_memoryio testInit (test.test_memoryio.PyBytesIOTest) ... ok testRead (test.test_memoryio.PyBytesIOTest) ... ok testReadNoArgs (test.test_memoryio.PyBytesIOTest) ... ok testSeek (test.test_memoryio.PyBytesIOTest) ... ok testTell (test.test_memoryio.PyBytesIOTest) ... ok test_bytes_array (test.test_memoryio.PyBytesIOTest) ... ok test_detach (test.test_memoryio.PyBytesIOTest) ... ok test_flags (test.test_memoryio.PyBytesIOTest) ... ok test_flush (test.test_memoryio.PyBytesIOTest) ... ok test_getvalue (test.test_memoryio.PyBytesIOTest) ... ok test_init (test.test_memoryio.PyBytesIOTest) ... ok test_iterator (test.test_memoryio.PyBytesIOTest) ... ok test_overseek (test.test_memoryio.PyBytesIOTest) ... ok test_read (test.test_memoryio.PyBytesIOTest) ... ok test_read1 (test.test_memoryio.PyBytesIOTest) ... ok test_readinto (test.test_memoryio.PyBytesIOTest) ... ok test_readline (test.test_memoryio.PyBytesIOTest) ... ok test_readlines (test.test_memoryio.PyBytesIOTest) ... ok test_relative_seek (test.test_memoryio.PyBytesIOTest) ... ok test_seek (test.test_memoryio.PyBytesIOTest) ... ok test_subclassing (test.test_memoryio.PyBytesIOTest) ... ok test_tell (test.test_memoryio.PyBytesIOTest) ... ok test_truncate (test.test_memoryio.PyBytesIOTest) ... /home/exarkun/Projects/python/trunk/Lib/_pyio.py:852: DeprecationWarning: comparing unequal types not supported in 3.x elif pos < 0: ok test_unicode (test.test_memoryio.PyBytesIOTest) ... ok test_write (test.test_memoryio.PyBytesIOTest) ... ok test_writelines (test.test_memoryio.PyBytesIOTest) ... ok test_writelines_error (test.test_memoryio.PyBytesIOTest) ... ok testInit (test.test_memoryio.PyStringIOTest) ... ok testRead (test.test_memoryio.PyStringIOTest) ... ok testReadNoArgs (test.test_memoryio.PyStringIOTest) ... ok testSeek (test.test_memoryio.PyStringIOTest) ... ok testTell (test.test_memoryio.PyStringIOTest) ... ok test_detach (test.test_memoryio.PyStringIOTest) ... ok test_flags (test.test_memoryio.PyStringIOTest) ... ok test_flush (test.test_memoryio.PyStringIOTest) ... ok test_getvalue (test.test_memoryio.PyStringIOTest) ... ok test_init (test.test_memoryio.PyStringIOTest) ... ok test_issue5265 (test.test_memoryio.PyStringIOTest) ... ok test_iterator (test.test_memoryio.PyStringIOTest) ... ok test_newline_cr (test.test_memoryio.PyStringIOTest) ... ok test_newline_crlf (test.test_memoryio.PyStringIOTest) ... ok test_newline_empty (test.test_memoryio.PyStringIOTest) ... ok test_newline_lf (test.test_memoryio.PyStringIOTest) ... ok test_newline_none (test.test_memoryio.PyStringIOTest) ... ok test_newlines_property (test.test_memoryio.PyStringIOTest) ... ok test_overseek (test.test_memoryio.PyStringIOTest) ... ok test_read (test.test_memoryio.PyStringIOTest) ... /home/exarkun/Projects/python/trunk/Lib/_pyio.py:1803: DeprecationWarning: comparing unequal types not supported in 3.x if n < 0: ok test_readline (test.test_memoryio.PyStringIOTest) ... ok test_readlines (test.test_memoryio.PyStringIOTest) ... ok test_relative_seek (test.test_memoryio.PyStringIOTest) ... ok test_seek (test.test_memoryio.PyStringIOTest) ... ok test_subclassing (test.test_memoryio.PyStringIOTest) ... ok test_tell (test.test_memoryio.PyStringIOTest) ... ok test_textio_properties (test.test_memoryio.PyStringIOTest) ... ok test_truncate (test.test_memoryio.PyStringIOTest) ... /home/exarkun/Projects/python/trunk/Lib/_pyio.py:1751: DeprecationWarning: comparing unequal types not supported in 3.x if cookie < 0: ok test_write (test.test_memoryio.PyStringIOTest) ... ok test_writelines (test.test_memoryio.PyStringIOTest) ... ok test_writelines_error (test.test_memoryio.PyStringIOTest) ... ok testInit (test.test_memoryio.CBytesIOTest) ... ok testRead (test.test_memoryio.CBytesIOTest) ... ok testReadNoArgs (test.test_memoryio.CBytesIOTest) ... ok testSeek (test.test_memoryio.CBytesIOTest) ... ok testTell (test.test_memoryio.CBytesIOTest) ... ok test_bytes_array (test.test_memoryio.CBytesIOTest) ... skipped 'array.array() does not have the new buffer API' test_detach (test.test_memoryio.CBytesIOTest) ... ok test_flags (test.test_memoryio.CBytesIOTest) ... ok test_flush (test.test_memoryio.CBytesIOTest) ... ok test_getvalue (test.test_memoryio.CBytesIOTest) ... ok test_init (test.test_memoryio.CBytesIOTest) ... ok test_iterator (test.test_memoryio.CBytesIOTest) ... ok test_overseek (test.test_memoryio.CBytesIOTest) ... ok test_read (test.test_memoryio.CBytesIOTest) ... ok test_read1 (test.test_memoryio.CBytesIOTest) ... ok test_readinto (test.test_memoryio.CBytesIOTest) ... ok test_readline (test.test_memoryio.CBytesIOTest) ... ok test_readlines (test.test_memoryio.CBytesIOTest) ... ok test_relative_seek (test.test_memoryio.CBytesIOTest) ... ok test_seek (test.test_memoryio.CBytesIOTest) ... ok test_subclassing (test.test_memoryio.CBytesIOTest) ... ok test_tell (test.test_memoryio.CBytesIOTest) ... ok test_truncate (test.test_memoryio.CBytesIOTest) ... ok test_unicode (test.test_memoryio.CBytesIOTest) ... ok test_write (test.test_memoryio.CBytesIOTest) ... ok test_writelines (test.test_memoryio.CBytesIOTest) ... ok test_writelines_error (test.test_memoryio.CBytesIOTest) ... ok testInit (test.test_memoryio.CStringIOTest) ... ok testRead (test.test_memoryio.CStringIOTest) ... ok testReadNoArgs (test.test_memoryio.CStringIOTest) ... ok testSeek (test.test_memoryio.CStringIOTest) ... ok testTell (test.test_memoryio.CStringIOTest) ... ok test_detach (test.test_memoryio.CStringIOTest) ... ok test_flags (test.test_memoryio.CStringIOTest) ... ok test_flush (test.test_memoryio.CStringIOTest) ... ok test_getvalue (test.test_memoryio.CStringIOTest) ... ok test_init (test.test_memoryio.CStringIOTest) ... ok test_issue5265 (test.test_memoryio.CStringIOTest) ... ok test_iterator (test.test_memoryio.CStringIOTest) ... ok test_newline_cr (test.test_memoryio.CStringIOTest) ... ok test_newline_crlf (test.test_memoryio.CStringIOTest) ... ok test_newline_empty (test.test_memoryio.CStringIOTest) ... ok test_newline_lf (test.test_memoryio.CStringIOTest) ... ok test_newline_none (test.test_memoryio.CStringIOTest) ... ok test_newlines_property (test.test_memoryio.CStringIOTest) ... ok test_overseek (test.test_memoryio.CStringIOTest) ... ok test_read (test.test_memoryio.CStringIOTest) ... ok test_readline (test.test_memoryio.CStringIOTest) ... ok test_readlines (test.test_memoryio.CStringIOTest) ... ok test_relative_seek (test.test_memoryio.CStringIOTest) ... ok test_seek (test.test_memoryio.CStringIOTest) ... ok test_subclassing (test.test_memoryio.CStringIOTest) ... ok test_tell (test.test_memoryio.CStringIOTest) ... ok test_textio_properties (test.test_memoryio.CStringIOTest) ... ok test_truncate (test.test_memoryio.CStringIOTest) ... ok test_widechar (test.test_memoryio.CStringIOTest) ... ok test_write (test.test_memoryio.CStringIOTest) ... ok test_writelines (test.test_memoryio.CStringIOTest) ... ok test_writelines_error (test.test_memoryio.CStringIOTest) ... ok ---------------------------------------------------------------------- Ran 117 tests in 0.021s OK (skipped=1) test_memoryview test_attributes_readonly (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_attributes_writable (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_compare (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_gc (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_getitem (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_iter (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_setitem_readonly (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_setitem_writable (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_tobytes (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_tolist (test.test_memoryview.BytesMemorySliceSliceTest) ... ok test_attributes_readonly (test.test_memoryview.BytesMemorySliceTest) ... ok test_attributes_writable (test.test_memoryview.BytesMemorySliceTest) ... ok test_compare (test.test_memoryview.BytesMemorySliceTest) ... ok test_gc (test.test_memoryview.BytesMemorySliceTest) ... ok test_getitem (test.test_memoryview.BytesMemorySliceTest) ... ok test_iter (test.test_memoryview.BytesMemorySliceTest) ... ok test_refs (test.test_memoryview.BytesMemorySliceTest) ... ok test_setitem_readonly (test.test_memoryview.BytesMemorySliceTest) ... ok test_setitem_writable (test.test_memoryview.BytesMemorySliceTest) ... ok test_tobytes (test.test_memoryview.BytesMemorySliceTest) ... ok test_tolist (test.test_memoryview.BytesMemorySliceTest) ... ok test_attributes_readonly (test.test_memoryview.BytesMemoryviewTest) ... ok test_attributes_writable (test.test_memoryview.BytesMemoryviewTest) ... ok test_compare (test.test_memoryview.BytesMemoryviewTest) ... ok test_constructor (test.test_memoryview.BytesMemoryviewTest) ... ok test_gc (test.test_memoryview.BytesMemoryviewTest) ... ok test_getitem (test.test_memoryview.BytesMemoryviewTest) ... ok test_iter (test.test_memoryview.BytesMemoryviewTest) ... ok test_setitem_readonly (test.test_memoryview.BytesMemoryviewTest) ... ok test_setitem_writable (test.test_memoryview.BytesMemoryviewTest) ... ok test_tobytes (test.test_memoryview.BytesMemoryviewTest) ... ok test_tolist (test.test_memoryview.BytesMemoryviewTest) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.181s OK test_mhlib test_basic (test.test_mhlib.MhlibTests) ... ok test_listfolders (test.test_mhlib.MhlibTests) ... ok test_modify (test.test_mhlib.MhlibTests) ... ok test_read (test.test_mhlib.MhlibTests) ... ok test_sequence (test.test_mhlib.MhlibTests) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.100s OK test_mimetools test_boundary (test.test_mimetools.MimeToolsTest) ... ok test_decodeencode (test.test_mimetools.MimeToolsTest) ... ok test_message (test.test_mimetools.MimeToolsTest) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.002s OK test_mimetypes test_data_urls (test.test_mimetypes.MimeTypesTestCase) ... ok test_default_data (test.test_mimetypes.MimeTypesTestCase) ... ok test_file_parsing (test.test_mimetypes.MimeTypesTestCase) ... ok test_guess_all_types (test.test_mimetypes.MimeTypesTestCase) ... ok test_non_standard_types (test.test_mimetypes.MimeTypesTestCase) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.002s OK test_minidom testAAA (test.test_minidom.MinidomTest) ... ok testAAB (test.test_minidom.MinidomTest) ... ok testAddAttr (test.test_minidom.MinidomTest) ... ok testAltNewline (test.test_minidom.MinidomTest) ... ok testAppendChild (test.test_minidom.MinidomTest) ... ok testAppendChildFragment (test.test_minidom.MinidomTest) ... ok testAttrListItem (test.test_minidom.MinidomTest) ... ok testAttrListItemNS (test.test_minidom.MinidomTest) ... ok testAttrListItems (test.test_minidom.MinidomTest) ... ok testAttrListKeys (test.test_minidom.MinidomTest) ... ok testAttrListKeysNS (test.test_minidom.MinidomTest) ... ok testAttrListLength (test.test_minidom.MinidomTest) ... ok testAttrListValues (test.test_minidom.MinidomTest) ... ok testAttrList__getitem__ (test.test_minidom.MinidomTest) ... ok testAttrList__setitem__ (test.test_minidom.MinidomTest) ... ok testAttributeRepr (test.test_minidom.MinidomTest) ... ok testBug1433694 (test.test_minidom.MinidomTest) ... ok testChangeAttr (test.test_minidom.MinidomTest) ... ok testChildNodes (test.test_minidom.MinidomTest) ... ok testCloneAttributeDeep (test.test_minidom.MinidomTest) ... ok testCloneAttributeShallow (test.test_minidom.MinidomTest) ... ok testCloneDocumentDeep (test.test_minidom.MinidomTest) ... ok testCloneDocumentShallow (test.test_minidom.MinidomTest) ... ok testCloneDocumentTypeDeepNotOk (test.test_minidom.MinidomTest) ... ok testCloneDocumentTypeDeepOk (test.test_minidom.MinidomTest) ... ok testCloneDocumentTypeShallowNotOk (test.test_minidom.MinidomTest) ... ok testCloneDocumentTypeShallowOk (test.test_minidom.MinidomTest) ... ok testCloneElementDeep (test.test_minidom.MinidomTest) ... ok testCloneElementShallow (test.test_minidom.MinidomTest) ... ok testClonePIDeep (test.test_minidom.MinidomTest) ... ok testClonePIShallow (test.test_minidom.MinidomTest) ... ok testComment (test.test_minidom.MinidomTest) ... ok testCreateAttributeNS (test.test_minidom.MinidomTest) ... ok testCreateElementNS (test.test_minidom.MinidomTest) ... ok testDeleteAttr (test.test_minidom.MinidomTest) ... ok testDocumentElement (test.test_minidom.MinidomTest) ... ok testElement (test.test_minidom.MinidomTest) ... ok testElementReprAndStr (test.test_minidom.MinidomTest) ... ok testElementReprAndStrUnicode (test.test_minidom.MinidomTest) ... ok testElementReprAndStrUnicodeNS (test.test_minidom.MinidomTest) ... ok testEncodings (test.test_minidom.MinidomTest) ... ok testFirstChild (test.test_minidom.MinidomTest) ... ok testGetAttrLength (test.test_minidom.MinidomTest) ... ok testGetAttrList (test.test_minidom.MinidomTest) ... ok testGetAttrValues (test.test_minidom.MinidomTest) ... ok testGetAttribute (test.test_minidom.MinidomTest) ... ok testGetAttributeNS (test.test_minidom.MinidomTest) ... ok testGetAttributeNode (test.test_minidom.MinidomTest) ... ok testGetElementsByTagName (test.test_minidom.MinidomTest) ... ok testGetElementsByTagNameNS (test.test_minidom.MinidomTest) ... ok testGetEmptyNodeListFromElementsByTagNameNS (test.test_minidom.MinidomTest) ... ok testHasChildNodes (test.test_minidom.MinidomTest) ... ok testImportDocumentDeep (test.test_minidom.MinidomTest) ... ok testImportDocumentShallow (test.test_minidom.MinidomTest) ... ok testImportDocumentTypeDeep (test.test_minidom.MinidomTest) ... ok testImportDocumentTypeShallow (test.test_minidom.MinidomTest) ... ok testInsertBefore (test.test_minidom.MinidomTest) ... ok testInsertBeforeFragment (test.test_minidom.MinidomTest) ... ok testLegalChildren (test.test_minidom.MinidomTest) ... ok testNamedNodeMapSetItem (test.test_minidom.MinidomTest) ... ok testNodeListItem (test.test_minidom.MinidomTest) ... ok testNonZero (test.test_minidom.MinidomTest) ... ok testNormalize (test.test_minidom.MinidomTest) ... ok testNormalizeCombineAndNextSibling (test.test_minidom.MinidomTest) ... ok testNormalizeDeleteAndCombine (test.test_minidom.MinidomTest) ... ok testNormalizeDeleteWithNextSibling (test.test_minidom.MinidomTest) ... ok testNormalizeDeleteWithPrevSibling (test.test_minidom.MinidomTest) ... ok testNormalizeDeleteWithTwoNonTextSiblings (test.test_minidom.MinidomTest) ... ok testNormalizeRecursion (test.test_minidom.MinidomTest) ... ok testParents (test.test_minidom.MinidomTest) ... ok testParse (test.test_minidom.MinidomTest) ... ok testParseAttributeNamespaces (test.test_minidom.MinidomTest) ... ok testParseAttributes (test.test_minidom.MinidomTest) ... ok testParseElement (test.test_minidom.MinidomTest) ... ok testParseElementNamespaces (test.test_minidom.MinidomTest) ... ok testParseFromFile (test.test_minidom.MinidomTest) ... ok testParseProcessingInstructions (test.test_minidom.MinidomTest) ... ok testParseString (test.test_minidom.MinidomTest) ... ok testPatch1094164 (test.test_minidom.MinidomTest) ... ok testPickledDocument (test.test_minidom.MinidomTest) ... ok testProcessingInstruction (test.test_minidom.MinidomTest) ... ok testProcessingInstructionRepr (test.test_minidom.MinidomTest) ... ok testRemoveAttr (test.test_minidom.MinidomTest) ... ok testRemoveAttrNS (test.test_minidom.MinidomTest) ... ok testRemoveAttributeNode (test.test_minidom.MinidomTest) ... ok testRemoveNamedItem (test.test_minidom.MinidomTest) ... ok testRemoveNamedItemNS (test.test_minidom.MinidomTest) ... ok testRenameAttribute (test.test_minidom.MinidomTest) ... ok testRenameElement (test.test_minidom.MinidomTest) ... ok testRenameOther (test.test_minidom.MinidomTest) ... ok testReplaceChildFragment (test.test_minidom.MinidomTest) ... ok testReplaceWholeText (test.test_minidom.MinidomTest) ... ok testSAX2DOM (test.test_minidom.MinidomTest) ... ok testSchemaType (test.test_minidom.MinidomTest) ... ok testSerializeCommentNodeWithDoubleHyphen (test.test_minidom.MinidomTest) ... ok testSetAttrValueandNodeValue (test.test_minidom.MinidomTest) ... ok testSetIdAttribute (test.test_minidom.MinidomTest) ... ok testSetIdAttributeNS (test.test_minidom.MinidomTest) ... ok testSetIdAttributeNode (test.test_minidom.MinidomTest) ... ok testSiblings (test.test_minidom.MinidomTest) ... ok testTextNodeRepr (test.test_minidom.MinidomTest) ... ok testTextRepr (test.test_minidom.MinidomTest) ... ok testTooManyDocumentElements (test.test_minidom.MinidomTest) ... ok testUnlink (test.test_minidom.MinidomTest) ... ok testUserData (test.test_minidom.MinidomTest) ... ok testWholeText (test.test_minidom.MinidomTest) ... ok testWriteText (test.test_minidom.MinidomTest) ... ok testWriteXML (test.test_minidom.MinidomTest) ... ok ---------------------------------------------------------------------- Ran 108 tests in 0.028s OK test_mmap test_access_parameter (test.test_mmap.MmapTests) ... ok test_anonymous (test.test_mmap.MmapTests) ... ok test_bad_file_desc (test.test_mmap.MmapTests) ... ok test_basic (test.test_mmap.MmapTests) ... ok test_double_close (test.test_mmap.MmapTests) ... ok test_entire_file (test.test_mmap.MmapTests) ... ok test_error (test.test_mmap.MmapTests) ... ok test_extended_getslice (test.test_mmap.MmapTests) ... ok test_extended_set_del_slice (test.test_mmap.MmapTests) ... ok test_find_end (test.test_mmap.MmapTests) ... ok test_io_methods (test.test_mmap.MmapTests) ... ok test_move (test.test_mmap.MmapTests) ... ok test_offset (test.test_mmap.MmapTests) ... ok test_prot_readonly (test.test_mmap.MmapTests) ... ok test_rfind (test.test_mmap.MmapTests) ... ok test_subclass (test.test_mmap.MmapTests) ... ok test_tougher_find (test.test_mmap.MmapTests) ... ok ---------------------------------------------------------------------- Ran 17 tests in 0.077s OK test_module test_ascii_docstring (test.test_module.ModuleTests) ... ok test_no_docstring (test.test_module.ModuleTests) ... ok test_reinit (test.test_module.ModuleTests) ... ok test_unicode_docstring (test.test_module.ModuleTests) ... ok test_uninitialized (test.test_module.ModuleTests) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.000s OK test_modulefinder test_absolute_imports (test.test_modulefinder.ModuleFinderTest) ... ok test_maybe (test.test_modulefinder.ModuleFinderTest) ... ok test_maybe_new (test.test_modulefinder.ModuleFinderTest) ... ok test_package (test.test_modulefinder.ModuleFinderTest) ... ok test_relative_imports (test.test_modulefinder.ModuleFinderTest) ... ok test_relative_imports_2 (test.test_modulefinder.ModuleFinderTest) ... ok test_relative_imports_3 (test.test_modulefinder.ModuleFinderTest) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.019s OK test_multibytecodec test_bug1572832 (test.test_multibytecodec.Test_ISO2022) ... ok test_g2 (test.test_multibytecodec.Test_ISO2022) ... ok test_iso2022_jp_g0 (test.test_multibytecodec.Test_ISO2022) ... ok test_dbcs (test.test_multibytecodec.Test_IncrementalDecoder) ... ok test_dbcs_keep_buffer (test.test_multibytecodec.Test_IncrementalDecoder) ... ok test_iso2022 (test.test_multibytecodec.Test_IncrementalDecoder) ... ok test_stateful (test.test_multibytecodec.Test_IncrementalEncoder) ... ok test_stateful_keep_buffer (test.test_multibytecodec.Test_IncrementalEncoder) ... ok test_stateless (test.test_multibytecodec.Test_IncrementalEncoder) ... ok test_codingspec (test.test_multibytecodec.Test_MultibyteCodec) ... ok test_errorcallback_longindex (test.test_multibytecodec.Test_MultibyteCodec) ... ok test_init_segfault (test.test_multibytecodec.Test_MultibyteCodec) ... ok test_nullcoding (test.test_multibytecodec.Test_MultibyteCodec) ... ok test_str_decode (test.test_multibytecodec.Test_MultibyteCodec) ... ok test_bug1728403 (test.test_multibytecodec.Test_StreamReader) ... ok test_gb18030 (test.test_multibytecodec.Test_StreamWriter) ... ok test_streamwriter_strwrite (test.test_multibytecodec.Test_StreamWriter) ... ok test_utf_8 (test.test_multibytecodec.Test_StreamWriter) ... ok ---------------------------------------------------------------------- Ran 18 tests in 2.471s OK test_multibytecodec_support test_multifile test_multiprocessing test_array (test.test_multiprocessing.WithProcessesTestArray) ... /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:868: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(list(arr[2:7]), list(seq[2:7])) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:870: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ arr[4:8] = seq[4:8] = array.array('i', [1, 2, 3, 4]) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:872: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(list(arr[:]), seq) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:880: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(list(arr[:]), seq) ok test_getobj_getlock_obj (test.test_multiprocessing.WithProcessesTestArray) ... ok test_rawarray (test.test_multiprocessing.WithProcessesTestArray) ... ok test_notify (test.test_multiprocessing.WithProcessesTestCondition) ... ok test_notify_all (test.test_multiprocessing.WithProcessesTestCondition) ... ok test_timeout (test.test_multiprocessing.WithProcessesTestCondition) ... ok test_connection (test.test_multiprocessing.WithProcessesTestConnection) ... ok test_duplex_false (test.test_multiprocessing.WithProcessesTestConnection) ... ok test_sendbytes (test.test_multiprocessing.WithProcessesTestConnection) ... ok test_spawn_close (test.test_multiprocessing.WithProcessesTestConnection) ... ok test_event (test.test_multiprocessing.WithProcessesTestEvent) ... ok test_finalize (test.test_multiprocessing.WithProcessesTestFinalize) ... ok test_heap (test.test_multiprocessing.WithProcessesTestHeap) ... ok test_import (test.test_multiprocessing.WithProcessesTestImportStar) ... ok test_listener_client (test.test_multiprocessing.WithProcessesTestListenerClient) ... ok test_lock (test.test_multiprocessing.WithProcessesTestLock) ... ok test_lock_context (test.test_multiprocessing.WithProcessesTestLock) ... ok test_rlock (test.test_multiprocessing.WithProcessesTestLock) ... ok test_enable_logging (test.test_multiprocessing.WithProcessesTestLogging) ... ok test_level (test.test_multiprocessing.WithProcessesTestLogging) ... ok test_rapid_restart (test.test_multiprocessing.WithProcessesTestManagerRestart) ... ok test_apply (test.test_multiprocessing.WithProcessesTestPool) ... ok test_async (test.test_multiprocessing.WithProcessesTestPool) ... ok test_async_timeout (test.test_multiprocessing.WithProcessesTestPool) ... ok test_imap (test.test_multiprocessing.WithProcessesTestPool) ... ok test_imap_unordered (test.test_multiprocessing.WithProcessesTestPool) ... ok test_make_pool (test.test_multiprocessing.WithProcessesTestPool) ... ok test_map (test.test_multiprocessing.WithProcessesTestPool) ... ok test_map_chunksize (test.test_multiprocessing.WithProcessesTestPool) ... ok test_terminate (test.test_multiprocessing.WithProcessesTestPool) ... ok test_active_children (test.test_multiprocessing.WithProcessesTestProcess) ... ok test_cpu_count (test.test_multiprocessing.WithProcessesTestProcess) ... ok test_current (test.test_multiprocessing.WithProcessesTestProcess) ... ok test_process (test.test_multiprocessing.WithProcessesTestProcess) ... ok test_recursion (test.test_multiprocessing.WithProcessesTestProcess) ... ok test_terminate (test.test_multiprocessing.WithProcessesTestProcess) ... ok test_fork (test.test_multiprocessing.WithProcessesTestQueue) ... ok test_get (test.test_multiprocessing.WithProcessesTestQueue) ... ok test_put (test.test_multiprocessing.WithProcessesTestQueue) ... ok test_qsize (test.test_multiprocessing.WithProcessesTestQueue) ... ok test_task_done (test.test_multiprocessing.WithProcessesTestQueue) ... ok test_bounded_semaphore (test.test_multiprocessing.WithProcessesTestSemaphore) ... ok test_semaphore (test.test_multiprocessing.WithProcessesTestSemaphore) ... ok test_timeout (test.test_multiprocessing.WithProcessesTestSemaphore) ... ok test_copy (test.test_multiprocessing.WithProcessesTestSharedCTypes) ... ok test_sharedctypes (test.test_multiprocessing.WithProcessesTestSharedCTypes) ... ok test_synchronize (test.test_multiprocessing.WithProcessesTestSharedCTypes) ... ok test_subclassing (test.test_multiprocessing.WithProcessesTestSubclassingProcess) ... ok test_getobj_getlock (test.test_multiprocessing.WithProcessesTestValue) ... ok test_rawvalue (test.test_multiprocessing.WithProcessesTestValue) ... ok test_value (test.test_multiprocessing.WithProcessesTestValue) ... ok test_array (test.test_multiprocessing.WithThreadsTestArray) ... ok test_getobj_getlock_obj (test.test_multiprocessing.WithThreadsTestArray) ... ok test_rawarray (test.test_multiprocessing.WithThreadsTestArray) ... ok test_notify (test.test_multiprocessing.WithThreadsTestCondition) ... ok test_notify_all (test.test_multiprocessing.WithThreadsTestCondition) ... ok test_timeout (test.test_multiprocessing.WithThreadsTestCondition) ... ok test_connection (test.test_multiprocessing.WithThreadsTestConnection) ... ok test_duplex_false (test.test_multiprocessing.WithThreadsTestConnection) ... ok test_sendbytes (test.test_multiprocessing.WithThreadsTestConnection) ... ok test_spawn_close (test.test_multiprocessing.WithThreadsTestConnection) ... ok test_event (test.test_multiprocessing.WithThreadsTestEvent) ... ok test_listener_client (test.test_multiprocessing.WithThreadsTestListenerClient) ... ok test_lock (test.test_multiprocessing.WithThreadsTestLock) ... ok test_lock_context (test.test_multiprocessing.WithThreadsTestLock) ... ok test_rlock (test.test_multiprocessing.WithThreadsTestLock) ... ok test_rapid_restart (test.test_multiprocessing.WithThreadsTestManagerRestart) ... ok test_apply (test.test_multiprocessing.WithThreadsTestPool) ... ok test_async (test.test_multiprocessing.WithThreadsTestPool) ... ok test_async_timeout (test.test_multiprocessing.WithThreadsTestPool) ... ok test_imap (test.test_multiprocessing.WithThreadsTestPool) ... ok test_imap_unordered (test.test_multiprocessing.WithThreadsTestPool) ... ok test_make_pool (test.test_multiprocessing.WithThreadsTestPool) ... ok test_map (test.test_multiprocessing.WithThreadsTestPool) ... ok test_map_chunksize (test.test_multiprocessing.WithThreadsTestPool) ... ok test_terminate (test.test_multiprocessing.WithThreadsTestPool) ... ok test_active_children (test.test_multiprocessing.WithThreadsTestProcess) ... ok test_cpu_count (test.test_multiprocessing.WithThreadsTestProcess) ... ok test_current (test.test_multiprocessing.WithThreadsTestProcess) ... ok test_process (test.test_multiprocessing.WithThreadsTestProcess) ... ok test_recursion (test.test_multiprocessing.WithThreadsTestProcess) ... ok test_terminate (test.test_multiprocessing.WithThreadsTestProcess) ... ok test_fork (test.test_multiprocessing.WithThreadsTestQueue) ... ok test_get (test.test_multiprocessing.WithThreadsTestQueue) ... ok test_put (test.test_multiprocessing.WithThreadsTestQueue) ... ok test_qsize (test.test_multiprocessing.WithThreadsTestQueue) ... ok test_task_done (test.test_multiprocessing.WithThreadsTestQueue) ... ok test_bounded_semaphore (test.test_multiprocessing.WithThreadsTestSemaphore) ... ok test_semaphore (test.test_multiprocessing.WithThreadsTestSemaphore) ... ok test_timeout (test.test_multiprocessing.WithThreadsTestSemaphore) ... ok test_getobj_getlock (test.test_multiprocessing.WithThreadsTestValue) ... ok test_rawvalue (test.test_multiprocessing.WithThreadsTestValue) ... ok test_value (test.test_multiprocessing.WithThreadsTestValue) ... ok test_array (test.test_multiprocessing.WithManagerTestArray) ... ok test_getobj_getlock_obj (test.test_multiprocessing.WithManagerTestArray) ... ok test_rawarray (test.test_multiprocessing.WithManagerTestArray) ... ok test_notify (test.test_multiprocessing.WithManagerTestCondition) ... ok test_notify_all (test.test_multiprocessing.WithManagerTestCondition) ... ok test_timeout (test.test_multiprocessing.WithManagerTestCondition) ... ok test_dict (test.test_multiprocessing.WithManagerTestContainers) ... ok test_list (test.test_multiprocessing.WithManagerTestContainers) ... /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:923: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(a[:], range(10)) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:926: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(b[:], []) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:929: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(b[:], range(5)) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:932: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(b[2:10], [2,3,4]) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:935: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(b[:], [0, 1, 2, 3, 4, 0, 1, 2, 3, 4]) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:939: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(a[:], range(10)) /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:944: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ e[:], /home/exarkun/Projects/python/trunk/Lib/test/test_multiprocessing.py:950: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(f[:], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'hello']]) ok test_namespace (test.test_multiprocessing.WithManagerTestContainers) ... ok test_event (test.test_multiprocessing.WithManagerTestEvent) ... ok test_lock (test.test_multiprocessing.WithManagerTestLock) ... ok test_lock_context (test.test_multiprocessing.WithManagerTestLock) ... ok test_rlock (test.test_multiprocessing.WithManagerTestLock) ... ok test_rapid_restart (test.test_multiprocessing.WithManagerTestManagerRestart) ... ok test_mymanager (test.test_multiprocessing.WithManagerTestMyManager) ... ok test_apply (test.test_multiprocessing.WithManagerTestPool) ... ok test_async (test.test_multiprocessing.WithManagerTestPool) ... ok test_async_timeout (test.test_multiprocessing.WithManagerTestPool) ... ok test_imap (test.test_multiprocessing.WithManagerTestPool) ... ok test_imap_unordered (test.test_multiprocessing.WithManagerTestPool) ... ok test_make_pool (test.test_multiprocessing.WithManagerTestPool) ... ok test_map (test.test_multiprocessing.WithManagerTestPool) ... ok test_map_chunksize (test.test_multiprocessing.WithManagerTestPool) ... ok test_terminate (test.test_multiprocessing.WithManagerTestPool) ... ok test_fork (test.test_multiprocessing.WithManagerTestQueue) ... ok test_get (test.test_multiprocessing.WithManagerTestQueue) ... ok test_put (test.test_multiprocessing.WithManagerTestQueue) ... ok test_qsize (test.test_multiprocessing.WithManagerTestQueue) ... ok test_task_done (test.test_multiprocessing.WithManagerTestQueue) ... ok test_remote (test.test_multiprocessing.WithManagerTestRemoteManager) ... ok test_bounded_semaphore (test.test_multiprocessing.WithManagerTestSemaphore) ... ok test_semaphore (test.test_multiprocessing.WithManagerTestSemaphore) ... ok test_timeout (test.test_multiprocessing.WithManagerTestSemaphore) ... ok test_getobj_getlock (test.test_multiprocessing.WithManagerTestValue) ... ok test_rawvalue (test.test_multiprocessing.WithManagerTestValue) ... ok test_value (test.test_multiprocessing.WithManagerTestValue) ... ok test_number_of_objects (test.test_multiprocessing.WithManagerTestZZZNumberOfObjects) ... ok test_answer_challenge_auth_failure (test.test_multiprocessing.OtherTest) ... ok test_deliver_challenge_auth_failure (test.test_multiprocessing.OtherTest) ... ok test_invalid_handles (test.test_multiprocessing.TestInvalidHandle) ... ok test_manager_initializer (test.test_multiprocessing.TestInitializers) ... ok test_pool_initializer (test.test_multiprocessing.TestInitializers) ... ok test_flushing (test.test_multiprocessing.TestStdinBadfiledescriptor) ... ok test_pool_in_process (test.test_multiprocessing.TestStdinBadfiledescriptor) ... ok test_queue_in_process (test.test_multiprocessing.TestStdinBadfiledescriptor) ... ok ---------------------------------------------------------------------- Ran 138 tests in 10.334s OK test_mutants trying w/ lengths 43 42 trying w/ lengths 27 29 trying w/ lengths 2 1 trying w/ lengths 52 55 trying w/ lengths 51 53 trying w/ lengths 8 7 trying w/ lengths 2 2 . trying w/ lengths 44 36 trying w/ lengths 1 1 . trying w/ lengths 52 50 trying w/ lengths 41 40 trying w/ lengths 37 36 trying w/ lengths 15 16 trying w/ lengths 21 21 . . trying w/ lengths 12 17 trying w/ lengths 16 15 trying w/ lengths 39 36 trying w/ lengths 56 52 trying w/ lengths 1 1 . trying w/ lengths 11 13 trying w/ lengths 19 21 trying w/ lengths 29 28 trying w/ lengths 31 33 trying w/ lengths 54 54 . trying w/ lengths 24 26 trying w/ lengths 27 23 trying w/ lengths 16 13 trying w/ lengths 14 11 trying w/ lengths 48 43 trying w/ lengths 21 19 trying w/ lengths 40 38 trying w/ lengths 44 44 . trying w/ lengths 27 30 trying w/ lengths 42 46 trying w/ lengths 6 9 trying w/ lengths 22 22 . trying w/ lengths 50 52 trying w/ lengths 36 42 trying w/ lengths 4 4 . trying w/ lengths 54 57 trying w/ lengths 6 7 trying w/ lengths 61 63 trying w/ lengths 36 34 trying w/ lengths 21 21 . trying w/ lengths 11 12 trying w/ lengths 38 31 trying w/ lengths 52 57 trying w/ lengths 53 50 trying w/ lengths 48 49 trying w/ lengths 4 4 . trying w/ lengths 50 52 trying w/ lengths 49 51 trying w/ lengths 11 12 trying w/ lengths 4 3 trying w/ lengths 59 55 trying w/ lengths 31 32 trying w/ lengths 53 51 trying w/ lengths 12 13 trying w/ lengths 40 38 trying w/ lengths 14 13 trying w/ lengths 51 56 trying w/ lengths 41 44 trying w/ lengths 59 62 trying w/ lengths 51 52 trying w/ lengths 13 10 trying w/ lengths 4 3 trying w/ lengths 51 50 trying w/ lengths 15 14 trying w/ lengths 54 56 trying w/ lengths 30 31 trying w/ lengths 60 57 trying w/ lengths 51 48 trying w/ lengths 48 48 . trying w/ lengths 5 6 trying w/ lengths 7 6 trying w/ lengths 54 56 trying w/ lengths 14 11 trying w/ lengths 58 57 trying w/ lengths 56 56 . trying w/ lengths 14 15 trying w/ lengths 43 38 trying w/ lengths 30 32 trying w/ lengths 21 17 trying w/ lengths 62 60 trying w/ lengths 59 60 trying w/ lengths 36 33 trying w/ lengths 55 58 trying w/ lengths 39 38 trying w/ lengths 51 53 trying w/ lengths 10 10 . trying w/ lengths 9 9 . trying w/ lengths 45 48 trying w/ lengths 42 41 trying w/ lengths 2 2 . trying w/ lengths 32 32 . trying w/ lengths 61 60 trying w/ lengths 13 14 trying w/ lengths 52 49 trying w/ lengths 25 26 trying w/ lengths 29 33 test_mutex test_lock_and_unlock (test.test_mutex.MutexTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_netrc test_case_1 (test.test_netrc.NetrcTestCase) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_new test_code (test.test_new.NewTest) ... ok test_function (test.test_new.NewTest) ... ok test_scope (test.test_new.NewTest) ... ok test_spam (test.test_new.NewTest) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.001s OK test_nis test_maps (test.test_nis.NisTests) ... Test Skipped: Local domain name not set ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_normalization test_bug_834676 (test.test_normalization.NormalizationTest) ... ok test_main (test.test_normalization.NormalizationTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.859s OK test_ntpath test_abspath (test.test_ntpath.TestNtpath) ... ok test_commonprefix (test.test_ntpath.TestNtpath) ... ok test_expandvars (test.test_ntpath.TestNtpath) ... ok test_isabs (test.test_ntpath.TestNtpath) ... ok test_join (test.test_ntpath.TestNtpath) ... ok test_normpath (test.test_ntpath.TestNtpath) ... ok test_relpath (test.test_ntpath.TestNtpath) ... ok test_split (test.test_ntpath.TestNtpath) ... ok test_splitdrive (test.test_ntpath.TestNtpath) ... ok test_splitext (test.test_ntpath.TestNtpath) ... ok test_splitunc (test.test_ntpath.TestNtpath) ... ok ---------------------------------------------------------------------- Ran 11 tests in 0.005s OK test_old_mailbox test_empty_maildir (test.test_old_mailbox.MaildirTestCase) Test an empty maildir mailbox ... ok test_nonempty_maildir_both (test.test_old_mailbox.MaildirTestCase) ... ok test_nonempty_maildir_cur (test.test_old_mailbox.MaildirTestCase) ... ok test_nonempty_maildir_new (test.test_old_mailbox.MaildirTestCase) ... ok test_unix_mbox (test.test_old_mailbox.MaildirTestCase) ... ok test_from_regex (test.test_old_mailbox.MboxTestCase) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.005s OK test_openpty test (test.test_openpty.OpenptyTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_operator test_abs (test.test_operator.OperatorTestCase) ... ok test_add (test.test_operator.OperatorTestCase) ... ok test_attrgetter (test.test_operator.OperatorTestCase) ... ok test_bitwise_and (test.test_operator.OperatorTestCase) ... ok test_bitwise_or (test.test_operator.OperatorTestCase) ... ok test_bitwise_xor (test.test_operator.OperatorTestCase) ... ok test_concat (test.test_operator.OperatorTestCase) ... ok test_contains (test.test_operator.OperatorTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_operator.py:309: DeprecationWarning: operator.sequenceIncludes() is not supported in 3.x. Use operator.contains(). self.assertTrue(operator.sequenceIncludes(range(4), 2)) /home/exarkun/Projects/python/trunk/Lib/test/test_operator.py:310: DeprecationWarning: operator.sequenceIncludes() is not supported in 3.x. Use operator.contains(). self.assertFalse(operator.sequenceIncludes(range(4), 5)) ok test_countOf (test.test_operator.OperatorTestCase) ... ok test_delitem (test.test_operator.OperatorTestCase) ... ok test_delslice (test.test_operator.OperatorTestCase) ... ok test_div (test.test_operator.OperatorTestCase) ... ok test_eq (test.test_operator.OperatorTestCase) ... ok test_floordiv (test.test_operator.OperatorTestCase) ... ok test_ge (test.test_operator.OperatorTestCase) ... ok test_getitem (test.test_operator.OperatorTestCase) ... ok test_getslice (test.test_operator.OperatorTestCase) ... ok test_gt (test.test_operator.OperatorTestCase) ... ok test_indexOf (test.test_operator.OperatorTestCase) ... ok test_inplace (test.test_operator.OperatorTestCase) ... ok test_invert (test.test_operator.OperatorTestCase) ... ok test_is (test.test_operator.OperatorTestCase) ... ok test_isCallable (test.test_operator.OperatorTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_operator.py:195: DeprecationWarning: operator.isCallable() is not supported in 3.x. Use hasattr(obj, '__call__'). self.assertTrue(operator.isCallable(o) == callable(o) == v) /home/exarkun/Projects/python/trunk/Lib/test/test_operator.py:195: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') self.assertTrue(operator.isCallable(o) == callable(o) == v) ok test_isMappingType (test.test_operator.OperatorTestCase) ... ok test_isNumberType (test.test_operator.OperatorTestCase) ... ok test_isSequenceType (test.test_operator.OperatorTestCase) ... ok test_is_not (test.test_operator.OperatorTestCase) ... ok test_itemgetter (test.test_operator.OperatorTestCase) ... ok test_le (test.test_operator.OperatorTestCase) ... ok test_lshift (test.test_operator.OperatorTestCase) ... ok test_lt (test.test_operator.OperatorTestCase) ... ok test_methodcaller (test.test_operator.OperatorTestCase) ... ok test_mod (test.test_operator.OperatorTestCase) ... ok test_mul (test.test_operator.OperatorTestCase) ... ok test_ne (test.test_operator.OperatorTestCase) ... ok test_neg (test.test_operator.OperatorTestCase) ... ok test_pos (test.test_operator.OperatorTestCase) ... ok test_pow (test.test_operator.OperatorTestCase) ... ok test_repeat (test.test_operator.OperatorTestCase) ... ok test_rshift (test.test_operator.OperatorTestCase) ... ok test_setitem (test.test_operator.OperatorTestCase) ... ok test_setslice (test.test_operator.OperatorTestCase) ... ok test_sub (test.test_operator.OperatorTestCase) ... ok test_truediv (test.test_operator.OperatorTestCase) ... ok test_truth (test.test_operator.OperatorTestCase) ... ok ---------------------------------------------------------------------- Ran 45 tests in 0.003s OK test_optparse test_bool_default (test.test_optparse.TestBool) ... ok test_bool_false (test.test_optparse.TestBool) ... ok test_bool_flicker_on_and_off (test.test_optparse.TestBool) ... ok test_bool_true (test.test_optparse.TestBool) ... ok test_callback (test.test_optparse.TestCallback) ... ok test_callback_help (test.test_optparse.TestCallback) ... ok test_abbrev_callback_expansion (test.test_optparse.TestCallbackCheckAbbrev) ... ok test_callback_extra_args (test.test_optparse.TestCallbackExtraArgs) ... ok test_many_args (test.test_optparse.TestCallbackManyArgs) ... ok test_callback_meddle_args (test.test_optparse.TestCallbackMeddleArgs) ... ok test_callback_meddle_args_separator (test.test_optparse.TestCallbackMeddleArgs) ... ok test_consume_separator_stop_at_option (test.test_optparse.TestCallbackVarArgs) ... ok test_positional_arg_and_variable_args (test.test_optparse.TestCallbackVarArgs) ... ok test_stop_at_invalid_option (test.test_optparse.TestCallbackVarArgs) ... ok test_stop_at_option (test.test_optparse.TestCallbackVarArgs) ... ok test_variable_args (test.test_optparse.TestCallbackVarArgs) ... ok test_add_choice_option (test.test_optparse.TestChoice) ... ok test_invalid_choice (test.test_optparse.TestChoice) ... ok test_valid_choice (test.test_optparse.TestChoice) ... ok test_conflict_error (test.test_optparse.TestConflict) ... ok test_conflict_error_group (test.test_optparse.TestConflict) ... ok test_no_such_conflict_handler (test.test_optparse.TestConflict) ... ok test_conflict_override_args (test.test_optparse.TestConflictOverride) ... ok test_conflict_override_help (test.test_optparse.TestConflictOverride) ... ok test_conflict_override_opts (test.test_optparse.TestConflictOverride) ... ok test_conflict_resolve (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_help (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_long_opt (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_long_opts (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_short_opt (test.test_optparse.TestConflictResolve) ... ok test_conflict_default (test.test_optparse.TestConflictingDefaults) ... ok test_conflict_default_none (test.test_optparse.TestConflictingDefaults) ... ok test_count_interspersed_args (test.test_optparse.TestCount) ... ok test_count_no_interspersed_args (test.test_optparse.TestCount) ... ok test_count_no_such_option (test.test_optparse.TestCount) ... ok test_count_one (test.test_optparse.TestCount) ... ok test_count_option_no_value (test.test_optparse.TestCount) ... ok test_count_override_amount (test.test_optparse.TestCount) ... ok test_count_override_quiet (test.test_optparse.TestCount) ... ok test_count_overriding (test.test_optparse.TestCount) ... ok test_count_overriding_default (test.test_optparse.TestCount) ... ok test_count_three (test.test_optparse.TestCount) ... ok test_count_three_apart (test.test_optparse.TestCount) ... ok test_count_with_default (test.test_optparse.TestCount) ... ok test_empty (test.test_optparse.TestCount) ... ok test_basic_defaults (test.test_optparse.TestDefaultValues) ... ok test_mixed_defaults_post (test.test_optparse.TestDefaultValues) ... ok test_mixed_defaults_pre (test.test_optparse.TestDefaultValues) ... ok test_process_default (test.test_optparse.TestDefaultValues) ... ok test_alt_expand (test.test_optparse.TestExpandDefaults) ... ok test_default_none_1 (test.test_optparse.TestExpandDefaults) ... ok test_default_none_2 (test.test_optparse.TestExpandDefaults) ... ok test_float_default (test.test_optparse.TestExpandDefaults) ... ok test_no_default (test.test_optparse.TestExpandDefaults) ... ok test_no_expand (test.test_optparse.TestExpandDefaults) ... ok test_option_default (test.test_optparse.TestExpandDefaults) ... ok test_parser_default_1 (test.test_optparse.TestExpandDefaults) ... ok test_parser_default_2 (test.test_optparse.TestExpandDefaults) ... ok test_extend_add_action (test.test_optparse.TestExtendAddActions) ... ok test_extend_add_action_normal (test.test_optparse.TestExtendAddActions) ... ok test_filetype_noexist (test.test_optparse.TestExtendAddTypes) ... ok test_filetype_notfile (test.test_optparse.TestExtendAddTypes) ... ok test_filetype_ok (test.test_optparse.TestExtendAddTypes) ... ok test_help (test.test_optparse.TestHelp) ... ok test_help_description_groups (test.test_optparse.TestHelp) ... ok test_help_long_opts_first (test.test_optparse.TestHelp) ... ok test_help_old_usage (test.test_optparse.TestHelp) ... ok test_help_title_formatter (test.test_optparse.TestHelp) ... ok test_help_unicode (test.test_optparse.TestHelp) ... ok test_help_unicode_description (test.test_optparse.TestHelp) ... ok test_wrap_columns (test.test_optparse.TestHelp) ... ok test_match_abbrev (test.test_optparse.TestMatchAbbrev) ... ok test_match_abbrev_error (test.test_optparse.TestMatchAbbrev) ... ok test_nargs_invalid_float_value (test.test_optparse.TestMultipleArgs) ... ok test_nargs_long_opt (test.test_optparse.TestMultipleArgs) ... ok test_nargs_required_values (test.test_optparse.TestMultipleArgs) ... ok test_nargs_with_positional_args (test.test_optparse.TestMultipleArgs) ... ok test_nargs_append (test.test_optparse.TestMultipleArgsAppend) ... ok test_nargs_append_const (test.test_optparse.TestMultipleArgsAppend) ... ok test_nargs_append_required_values (test.test_optparse.TestMultipleArgsAppend) ... ok test_nargs_append_simple (test.test_optparse.TestMultipleArgsAppend) ... ok test_action_invalid (test.test_optparse.TestOptionChecks) ... ok test_attr_invalid (test.test_optparse.TestOptionChecks) ... ok test_bad_choices_list (test.test_optparse.TestOptionChecks) ... ok test_callback_args_no_tuple (test.test_optparse.TestOptionChecks) ... ok test_callback_kwargs_no_dict (test.test_optparse.TestOptionChecks) ... ok test_callback_not_callable (test.test_optparse.TestOptionChecks) ... ok test_no_callback_args_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_callback_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_callback_kwargs_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_choices_for_type (test.test_optparse.TestOptionChecks) ... ok test_no_choices_list (test.test_optparse.TestOptionChecks) ... ok test_no_const_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_nargs_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_type_for_action (test.test_optparse.TestOptionChecks) ... ok test_opt_string_empty (test.test_optparse.TestOptionChecks) ... ok test_opt_string_long_invalid (test.test_optparse.TestOptionChecks) ... ok test_opt_string_short_invalid (test.test_optparse.TestOptionChecks) ... ok test_opt_string_too_short (test.test_optparse.TestOptionChecks) ... ok test_type_invalid (test.test_optparse.TestOptionChecks) ... ok test_add_group_invalid_arguments (test.test_optparse.TestOptionGroup) ... ok test_add_group_no_group (test.test_optparse.TestOptionGroup) ... ok test_add_group_wrong_parser (test.test_optparse.TestOptionGroup) ... ok test_group_manipulate (test.test_optparse.TestOptionGroup) ... ok test_option_group_create_instance (test.test_optparse.TestOptionGroup) ... ok test_add_option_invalid_arguments (test.test_optparse.TestOptionParser) ... ok test_add_option_no_Option (test.test_optparse.TestOptionParser) ... ok test_get_option (test.test_optparse.TestOptionParser) ... ok test_get_option_equals (test.test_optparse.TestOptionParser) ... ok test_has_option (test.test_optparse.TestOptionParser) ... ok test_refleak (test.test_optparse.TestOptionParser) ... ok test_remove_long_opt (test.test_optparse.TestOptionParser) ... ok test_remove_nonexistent (test.test_optparse.TestOptionParser) ... ok test_remove_short_opt (test.test_optparse.TestOptionParser) ... ok test_basics (test.test_optparse.TestOptionValues) ... ok test_numeric_options (test.test_optparse.TestParseNumber) ... ok test_parse_num_fail (test.test_optparse.TestParseNumber) ... ok test_parse_num_ok (test.test_optparse.TestParseNumber) ... ok test_custom_progname (test.test_optparse.TestProgName) ... ok test_default_progname (test.test_optparse.TestProgName) ... ok test_abbrev_long_option (test.test_optparse.TestStandard) ... ok test_ambiguous_option (test.test_optparse.TestStandard) ... ok test_defaults (test.test_optparse.TestStandard) ... ok test_empty (test.test_optparse.TestStandard) ... ok test_hyphen_becomes_positional_arg (test.test_optparse.TestStandard) ... ok test_invalid_integer (test.test_optparse.TestStandard) ... ok test_long_invalid_integer (test.test_optparse.TestStandard) ... ok test_long_option_append (test.test_optparse.TestStandard) ... ok test_long_option_argument_joined (test.test_optparse.TestStandard) ... ok test_long_option_argument_split (test.test_optparse.TestStandard) ... ok test_long_option_short_option (test.test_optparse.TestStandard) ... ok test_no_append_versus_append (test.test_optparse.TestStandard) ... ok test_no_such_option (test.test_optparse.TestStandard) ... ok test_option_argument_joined (test.test_optparse.TestStandard) ... ok test_option_argument_joined_integer (test.test_optparse.TestStandard) ... ok test_option_argument_split (test.test_optparse.TestStandard) ... ok test_option_argument_split_negative_integer (test.test_optparse.TestStandard) ... ok test_option_consumes_optionlike_string (test.test_optparse.TestStandard) ... ok test_required_value (test.test_optparse.TestStandard) ... ok test_short_and_long_option_split (test.test_optparse.TestStandard) ... ok test_short_option_consumes_separator (test.test_optparse.TestStandard) ... ok test_short_option_joined_and_separator (test.test_optparse.TestStandard) ... ok test_short_option_split_long_option_append (test.test_optparse.TestStandard) ... ok test_short_option_split_one_positional_arg (test.test_optparse.TestStandard) ... ok test_shortopt_empty_longopt_append (test.test_optparse.TestStandard) ... ok test_new_type_object (test.test_optparse.TestTypeAliases) ... ok test_old_type_object (test.test_optparse.TestTypeAliases) ... ok test_str_aliases_string (test.test_optparse.TestTypeAliases) ... ok test_no_version (test.test_optparse.TestVersion) ... ok test_version (test.test_optparse.TestVersion) ... ok ---------------------------------------------------------------------- Ran 150 tests in 0.070s OK test_os test_access (test.test_os.FileTests) ... ok test_closerange (test.test_os.FileTests) ... ok test_rename (test.test_os.FileTests) ... ok test_tempnam (test.test_os.TemporaryFileTests) ... ok test_tmpfile (test.test_os.TemporaryFileTests) ... ok test_tmpnam (test.test_os.TemporaryFileTests) ... ok test_stat_attributes (test.test_os.StatAttributeTests) ... ok test_statvfs_attributes (test.test_os.StatAttributeTests) ... ok test_utime_dir (test.test_os.StatAttributeTests) ... ok test_bool (test.test_os.EnvironTests) ... ok test_constructor (test.test_os.EnvironTests) ... ok test_get (test.test_os.EnvironTests) ... ok test_getitem (test.test_os.EnvironTests) ... ok test_items (test.test_os.EnvironTests) ... ok test_keys (test.test_os.EnvironTests) ... ok test_len (test.test_os.EnvironTests) ... ok test_pop (test.test_os.EnvironTests) ... ok test_popitem (test.test_os.EnvironTests) ... ok test_read (test.test_os.EnvironTests) ... ok test_setdefault (test.test_os.EnvironTests) ... ok test_update (test.test_os.EnvironTests) ... ok test_update2 (test.test_os.EnvironTests) ... ok test_values (test.test_os.EnvironTests) ... ok test_write (test.test_os.EnvironTests) ... ok test_traversal (test.test_os.WalkTests) ... ok test_makedir (test.test_os.MakedirTests) ... ok test_devnull (test.test_os.DevNullTests) ... ok test_urandom (test.test_os.URandomTests) ... ok test_closerange (test.test_os.TestInvalidFD) ... ok test_dup (test.test_os.TestInvalidFD) ... ok test_dup2 (test.test_os.TestInvalidFD) ... ok test_fchdir (test.test_os.TestInvalidFD) ... ok test_fchmod (test.test_os.TestInvalidFD) ... ok test_fchown (test.test_os.TestInvalidFD) ... ok test_fdatasync (test.test_os.TestInvalidFD) ... ok test_fdopen (test.test_os.TestInvalidFD) ... ok test_fpathconf (test.test_os.TestInvalidFD) ... ok test_fstat (test.test_os.TestInvalidFD) ... ok test_fstatvfs (test.test_os.TestInvalidFD) ... ok test_fsync (test.test_os.TestInvalidFD) ... ok test_ftruncate (test.test_os.TestInvalidFD) ... ok test_isatty (test.test_os.TestInvalidFD) ... ok test_lseek (test.test_os.TestInvalidFD) ... ok test_read (test.test_os.TestInvalidFD) ... ok test_tcgetpgrp (test.test_os.TestInvalidFD) ... ok test_tcsetpgrpt (test.test_os.TestInvalidFD) ... ok test_ttyname (test.test_os.TestInvalidFD) ... ok test_write (test.test_os.TestInvalidFD) ... ok test_setegid (test.test_os.PosixUidGidTests) ... ok test_seteuid (test.test_os.PosixUidGidTests) ... ok test_setgid (test.test_os.PosixUidGidTests) ... ok test_setregid (test.test_os.PosixUidGidTests) ... ok test_setreuid (test.test_os.PosixUidGidTests) ... ok test_setuid (test.test_os.PosixUidGidTests) ... ok ---------------------------------------------------------------------- Ran 54 tests in 0.020s OK test_ossaudiodev test_playback (test.test_ossaudiodev.OSSAudioDevTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_ossaudiodev.py:74: DeprecationWarning: classic int division expected_time = float(len(data)) / (ssize/8) / nchannels / rate FAIL test_set_parameters (test.test_ossaudiodev.OSSAudioDevTests) ... ok ====================================================================== FAIL: test_playback (test.test_ossaudiodev.OSSAudioDevTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_ossaudiodev.py", line 146, in test_playback self.play_sound_file(*sound_info) File "/home/exarkun/Projects/python/trunk/Lib/test/test_ossaudiodev.py", line 87, in play_sound_file "elapsed time > 10% off of expected time") AssertionError: elapsed time > 10% off of expected time ---------------------------------------------------------------------- Ran 2 tests in 3.775s FAILED (failures=1) test test_ossaudiodev failed -- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_ossaudiodev.py", line 146, in test_playback self.play_sound_file(*sound_info) File "/home/exarkun/Projects/python/trunk/Lib/test/test_ossaudiodev.py", line 87, in play_sound_file "elapsed time > 10% off of expected time") AssertionError: elapsed time > 10% off of expected time test_parser test_assert (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_basic_import_statement (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_class_defs (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_expressions (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_flags_passed (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_function_defs (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_import_from_statement (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_pep263 (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_position (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_print (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_simple_assignments (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_simple_augmented_assignments (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_simple_expression (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_try_stmt (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_with (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_yield_statement (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok test_a_comma_comma_c (test.test_parser.IllegalSyntaxTestCase) ... ok test_illegal_operator (test.test_parser.IllegalSyntaxTestCase) ... ok test_illegal_yield_1 (test.test_parser.IllegalSyntaxTestCase) ... ok test_illegal_yield_2 (test.test_parser.IllegalSyntaxTestCase) ... ok test_junk (test.test_parser.IllegalSyntaxTestCase) ... ok test_malformed_global (test.test_parser.IllegalSyntaxTestCase) ... ok test_print_chevron_comma (test.test_parser.IllegalSyntaxTestCase) ... ok test_compile_badunicode (test.test_parser.CompileTestCase) ... ok test_compile_error (test.test_parser.CompileTestCase) ... ok test_compile_expr (test.test_parser.CompileTestCase) ... ok test_compile_suite (test.test_parser.CompileTestCase) ... ok test_deeply_nested_list (test.test_parser.ParserStackLimitTestCase) ... ok test_trigger_memory_error (test.test_parser.ParserStackLimitTestCase) ... Expecting 's_push: parser stack overflow' in next line s_push: parser stack overflow ok ---------------------------------------------------------------------- Ran 29 tests in 0.012s OK test_pdb Trying: def test_function(foo, bar): import pdb; pdb.Pdb().set_trace() pass Expecting nothing ok Trying: with PdbTestInput([ 'foo', 'bar', 'for i in range(5): write(i)', 'continue', ]): test_function(1, None) Expecting: > (3)test_function() -> pass (Pdb) foo 1 (Pdb) bar (Pdb) for i in range(5): write(i) 0 1 2 3 4 (Pdb) continue ok Trying: def skip_module(): import string import pdb; pdb.Pdb(skip=['string*']).set_trace() string.lower('FOO') Expecting nothing ok Trying: with PdbTestInput([ 'step', 'continue', ]): skip_module() Expecting: > (4)skip_module() -> string.lower('FOO') (Pdb) step --Return-- > (4)skip_module()->None -> string.lower('FOO') (Pdb) continue ok Trying: def skip_module(): def callback(): return None import pdb; pdb.Pdb(skip=['module_to_skip*']).set_trace() mod.foo_pony(callback) Expecting nothing ok Trying: with PdbTestInput([ 'step', 'step', 'step', 'step', 'step', 'continue', ]): skip_module() pass # provides something to "step" to Expecting: > (5)skip_module() -> mod.foo_pony(callback) (Pdb) step --Call-- > (2)callback() -> def callback(): (Pdb) step > (3)callback() -> return None (Pdb) step --Return-- > (3)callback()->None -> return None (Pdb) step --Return-- > (5)skip_module()->None -> mod.foo_pony(callback) (Pdb) step > (10)() -> pass # provides something to "step" to (Pdb) continue ok 7 items had no tests: test.test_pdb test.test_pdb.PdbTestInput test.test_pdb.PdbTestInput.__enter__ test.test_pdb.PdbTestInput.__exit__ test.test_pdb.PdbTestInput.__init__ test.test_pdb.test_main test.test_pdb.write 3 items passed all tests: 2 tests in test.test_pdb.test_pdb_displayhook 2 tests in test.test_pdb.test_pdb_skip_modules 2 tests in test.test_pdb.test_pdb_skip_modules_with_callback 6 tests in 10 items. 6 passed and 0 failed. Test passed. doctest (test.test_pdb) ... 6 tests with zero failures test_peepholer test_elim_extra_return (test.test_peepholer.TestTranforms) ... ok test_elim_inversion_of_is_or_in (test.test_peepholer.TestTranforms) ... ok test_elim_jump_after_return1 (test.test_peepholer.TestTranforms) ... ok test_elim_jump_after_return2 (test.test_peepholer.TestTranforms) ... ok test_elim_jump_to_return (test.test_peepholer.TestTranforms) ... ok test_folding_of_binops_on_constants (test.test_peepholer.TestTranforms) ... ok test_folding_of_tuples_of_constants (test.test_peepholer.TestTranforms) ... ok test_folding_of_unaryops_on_constants (test.test_peepholer.TestTranforms) ... :1: SyntaxWarning: backquote not supported in 3.x; use repr() ok test_none_as_constant (test.test_peepholer.TestTranforms) ... ok test_pack_unpack (test.test_peepholer.TestTranforms) ... ok test_unot (test.test_peepholer.TestTranforms) ... ok test_while_one (test.test_peepholer.TestTranforms) ... ok ---------------------------------------------------------------------- Ran 12 tests in 0.011s OK test_pep247 test_hmac (test.test_pep247.Pep247Test) ... ok test_md5 (test.test_pep247.Pep247Test) ... ok test_sha (test.test_pep247.Pep247Test) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.001s OK test_pep263 test_compilestring (test.test_pep263.PEP263Test) ... ok test_pep263 (test.test_pep263.PEP263Test) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test_pep277 test_pep277 skipped -- test works only on NT+ test_pep292 test_SafeTemplate (test.test_pep292.TestTemplate) ... ok test_delimiter_override (test.test_pep292.TestTemplate) ... ok test_escapes (test.test_pep292.TestTemplate) ... ok test_idpattern_override (test.test_pep292.TestTemplate) ... ok test_invalid_placeholders (test.test_pep292.TestTemplate) ... ok test_keyword_arguments (test.test_pep292.TestTemplate) ... ok test_keyword_arguments_safe (test.test_pep292.TestTemplate) ... ok test_pattern_override (test.test_pep292.TestTemplate) ... ok test_percents (test.test_pep292.TestTemplate) ... ok test_regular_templates (test.test_pep292.TestTemplate) ... ok test_regular_templates_with_braces (test.test_pep292.TestTemplate) ... ok test_stringification (test.test_pep292.TestTemplate) ... ok test_tupleargs (test.test_pep292.TestTemplate) ... ok test_unicode_values (test.test_pep292.TestTemplate) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.010s OK test_pep352 test_builtins_new_style (test.test_pep352.ExceptionClassTests) ... ok test_inheritance (test.test_pep352.ExceptionClassTests) ... ok test_interface_multi_arg (test.test_pep352.ExceptionClassTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_pep352.py:118: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute [exc[-1], args[-1]]) ok test_interface_no_arg (test.test_pep352.ExceptionClassTests) ... ok test_interface_single_arg (test.test_pep352.ExceptionClassTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_pep352.py:103: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute [repr(exc), exc.__class__.__name__ + repr(exc.args)], [exc[0], ok test_message_deprecation (test.test_pep352.ExceptionClassTests) ... ok test_catch_string (test.test_pep352.UsageTests) ... ok test_raise_classic (test.test_pep352.UsageTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_pep352.py:187: DeprecationWarning: exceptions must derive from BaseException in 3.x raise ClassicClass /home/exarkun/Projects/python/trunk/Lib/test/test_pep352.py:188: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except ClassicClass: /home/exarkun/Projects/python/trunk/Lib/test/test_pep352.py:193: DeprecationWarning: exceptions must derive from BaseException in 3.x raise ClassicClass() /home/exarkun/Projects/python/trunk/Lib/test/test_pep352.py:194: DeprecationWarning: catching classes that don't inherit from BaseException is not allowed in 3.x except ClassicClass: ok test_raise_new_style_non_exception (test.test_pep352.UsageTests) ... ok test_raise_string (test.test_pep352.UsageTests) ... ok ---------------------------------------------------------------------- Ran 10 tests in 0.003s OK test_pickle test_attribute_name_interning (test.test_pickle.PickleTests) ... ok test_callapi (test.test_pickle.PickleTests) ... ok test_dict_chunking (test.test_pickle.PickleTests) ... ok test_dump_closed_file (test.test_pickle.PickleTests) ... ok test_float (test.test_pickle.PickleTests) ... ok test_float_format (test.test_pickle.PickleTests) ... ok test_garyp (test.test_pickle.PickleTests) ... ok test_getinitargs (test.test_pickle.PickleTests) ... ok test_global_ext1 (test.test_pickle.PickleTests) ... ok test_global_ext2 (test.test_pickle.PickleTests) ... ok test_global_ext4 (test.test_pickle.PickleTests) ... ok test_highest_protocol (test.test_pickle.PickleTests) ... ok test_incomplete_input (test.test_pickle.PickleTests) ... ok test_insecure_strings (test.test_pickle.PickleTests) ... ok test_ints (test.test_pickle.PickleTests) ... ok test_list_chunking (test.test_pickle.PickleTests) ... ok test_load_closed_file (test.test_pickle.PickleTests) ... ok test_load_from_and_dump_to_file (test.test_pickle.PickleTests) ... ok test_load_from_canned_string (test.test_pickle.PickleTests) ... ok test_long (test.test_pickle.PickleTests) ... ok test_long1 (test.test_pickle.PickleTests) ... ok test_long4 (test.test_pickle.PickleTests) ... ok test_many_puts_and_gets (test.test_pickle.PickleTests) ... ok test_maxint64 (test.test_pickle.PickleTests) ... ok test_metaclass (test.test_pickle.PickleTests) ... ok test_misc (test.test_pickle.PickleTests) ... ok test_newobj_generic (test.test_pickle.PickleTests) ... ok test_newobj_list (test.test_pickle.PickleTests) ... ok test_newobj_list_slots (test.test_pickle.PickleTests) ... ok test_newobj_tuple (test.test_pickle.PickleTests) ... ok test_proto (test.test_pickle.PickleTests) ... ok test_recursive_dict (test.test_pickle.PickleTests) ... ok test_recursive_inst (test.test_pickle.PickleTests) ... ok test_recursive_list (test.test_pickle.PickleTests) ... ok test_recursive_multi (test.test_pickle.PickleTests) ... ok test_recursive_tuple (test.test_pickle.PickleTests) ... ok test_reduce (test.test_pickle.PickleTests) ... ok test_reduce_bad_iterator (test.test_pickle.PickleTests) ... ok test_reduce_calls_base (test.test_pickle.PickleTests) ... ok test_reduce_ex_called (test.test_pickle.PickleTests) ... ok test_reduce_ex_calls_base (test.test_pickle.PickleTests) ... ok test_reduce_ex_overrides_reduce (test.test_pickle.PickleTests) ... ok test_reduce_overrides_default_reduce_ex (test.test_pickle.PickleTests) ... ok test_roundtrip_equality (test.test_pickle.PickleTests) ... ok test_short_tuples (test.test_pickle.PickleTests) ... ok test_simple_newobj (test.test_pickle.PickleTests) ... ok test_singletons (test.test_pickle.PickleTests) ... ok test_structseq (test.test_pickle.PickleTests) ... ok test_unicode (test.test_pickle.PickleTests) ... ok test_unicode_high_plane (test.test_pickle.PickleTests) ... ok test_attribute_name_interning (test.test_pickle.PicklerTests) ... ok test_dict_chunking (test.test_pickle.PicklerTests) ... ok test_float (test.test_pickle.PicklerTests) ... ok test_float_format (test.test_pickle.PicklerTests) ... ok test_garyp (test.test_pickle.PicklerTests) ... ok test_getinitargs (test.test_pickle.PicklerTests) ... ok test_global_ext1 (test.test_pickle.PicklerTests) ... ok test_global_ext2 (test.test_pickle.PicklerTests) ... ok test_global_ext4 (test.test_pickle.PicklerTests) ... ok test_insecure_strings (test.test_pickle.PicklerTests) ... ok test_ints (test.test_pickle.PicklerTests) ... ok test_list_chunking (test.test_pickle.PicklerTests) ... ok test_load_from_canned_string (test.test_pickle.PicklerTests) ... ok test_long (test.test_pickle.PicklerTests) ... ok test_long1 (test.test_pickle.PicklerTests) ... ok test_long4 (test.test_pickle.PicklerTests) ... ok test_many_puts_and_gets (test.test_pickle.PicklerTests) ... ok test_maxint64 (test.test_pickle.PicklerTests) ... ok test_metaclass (test.test_pickle.PicklerTests) ... ok test_misc (test.test_pickle.PicklerTests) ... ok test_newobj_generic (test.test_pickle.PicklerTests) ... ok test_newobj_list (test.test_pickle.PicklerTests) ... ok test_newobj_list_slots (test.test_pickle.PicklerTests) ... ok test_newobj_tuple (test.test_pickle.PicklerTests) ... ok test_proto (test.test_pickle.PicklerTests) ... ok test_recursive_dict (test.test_pickle.PicklerTests) ... ok test_recursive_inst (test.test_pickle.PicklerTests) ... ok test_recursive_list (test.test_pickle.PicklerTests) ... ok test_recursive_multi (test.test_pickle.PicklerTests) ... ok test_recursive_tuple (test.test_pickle.PicklerTests) ... ok test_reduce (test.test_pickle.PicklerTests) ... ok test_reduce_bad_iterator (test.test_pickle.PicklerTests) ... ok test_reduce_calls_base (test.test_pickle.PicklerTests) ... ok test_reduce_ex_called (test.test_pickle.PicklerTests) ... ok test_reduce_ex_calls_base (test.test_pickle.PicklerTests) ... ok test_reduce_ex_overrides_reduce (test.test_pickle.PicklerTests) ... ok test_reduce_overrides_default_reduce_ex (test.test_pickle.PicklerTests) ... ok test_roundtrip_equality (test.test_pickle.PicklerTests) ... ok test_short_tuples (test.test_pickle.PicklerTests) ... ok test_simple_newobj (test.test_pickle.PicklerTests) ... ok test_singletons (test.test_pickle.PicklerTests) ... ok test_structseq (test.test_pickle.PicklerTests) ... ok test_unicode (test.test_pickle.PicklerTests) ... ok test_unicode_high_plane (test.test_pickle.PicklerTests) ... ok test_bin_persistence (test.test_pickle.PersPicklerTests) ... ok test_persistence (test.test_pickle.PersPicklerTests) ... ok test_clear_pickler_memo (test.test_pickle.PicklerUnpicklerObjectTests) ... ok test_priming_pickler_memo (test.test_pickle.PicklerUnpicklerObjectTests) ... ok test_priming_unpickler_memo (test.test_pickle.PicklerUnpicklerObjectTests) ... ok test_reusing_unpickler_objects (test.test_pickle.PicklerUnpicklerObjectTests) ... ok ---------------------------------------------------------------------- Ran 100 tests in 0.512s OK Trying: decode_long('') Expecting: 0L ok Trying: decode_long("\xff\x00") Expecting: 255L ok Trying: decode_long("\xff\x7f") Expecting: 32767L ok Trying: decode_long("\x00\xff") Expecting: -256L ok Trying: decode_long("\x00\x80") Expecting: -32768L ok Trying: decode_long("\x80") Expecting: -128L ok Trying: decode_long("\x7f") Expecting: 127L ok Trying: encode_long(0L) Expecting: '' ok Trying: encode_long(255L) Expecting: '\xff\x00' ok Trying: encode_long(32767L) Expecting: '\xff\x7f' ok Trying: encode_long(-256L) Expecting: '\x00\xff' ok Trying: encode_long(-32768L) Expecting: '\x00\x80' ok Trying: encode_long(-128L) Expecting: '\x80' ok Trying: encode_long(127L) Expecting: '\x7f' ok 101 items had no tests: pickle pickle.PickleError pickle.Pickler pickle.Pickler.__init__ pickle.Pickler._batch_appends pickle.Pickler._batch_setitems pickle.Pickler.clear_memo pickle.Pickler.dump pickle.Pickler.get pickle.Pickler.memoize pickle.Pickler.persistent_id pickle.Pickler.put pickle.Pickler.save pickle.Pickler.save_bool pickle.Pickler.save_dict pickle.Pickler.save_empty_tuple pickle.Pickler.save_float pickle.Pickler.save_global pickle.Pickler.save_inst pickle.Pickler.save_int pickle.Pickler.save_list pickle.Pickler.save_long pickle.Pickler.save_none pickle.Pickler.save_pers pickle.Pickler.save_reduce pickle.Pickler.save_string pickle.Pickler.save_tuple pickle.Pickler.save_unicode pickle.PicklingError pickle.Unpickler pickle.Unpickler.__init__ pickle.Unpickler._instantiate pickle.Unpickler.find_class pickle.Unpickler.get_extension pickle.Unpickler.load pickle.Unpickler.load_append pickle.Unpickler.load_appends pickle.Unpickler.load_binfloat pickle.Unpickler.load_binget pickle.Unpickler.load_binint pickle.Unpickler.load_binint1 pickle.Unpickler.load_binint2 pickle.Unpickler.load_binpersid pickle.Unpickler.load_binput pickle.Unpickler.load_binstring pickle.Unpickler.load_binunicode pickle.Unpickler.load_build pickle.Unpickler.load_dict pickle.Unpickler.load_dup pickle.Unpickler.load_empty_dictionary pickle.Unpickler.load_empty_list pickle.Unpickler.load_empty_tuple pickle.Unpickler.load_eof pickle.Unpickler.load_ext1 pickle.Unpickler.load_ext2 pickle.Unpickler.load_ext4 pickle.Unpickler.load_false pickle.Unpickler.load_float pickle.Unpickler.load_get pickle.Unpickler.load_global pickle.Unpickler.load_inst pickle.Unpickler.load_int pickle.Unpickler.load_list pickle.Unpickler.load_long pickle.Unpickler.load_long1 pickle.Unpickler.load_long4 pickle.Unpickler.load_long_binget pickle.Unpickler.load_long_binput pickle.Unpickler.load_mark pickle.Unpickler.load_newobj pickle.Unpickler.load_none pickle.Unpickler.load_obj pickle.Unpickler.load_persid pickle.Unpickler.load_pop pickle.Unpickler.load_pop_mark pickle.Unpickler.load_proto pickle.Unpickler.load_put pickle.Unpickler.load_reduce pickle.Unpickler.load_setitem pickle.Unpickler.load_setitems pickle.Unpickler.load_short_binstring pickle.Unpickler.load_stop pickle.Unpickler.load_string pickle.Unpickler.load_true pickle.Unpickler.load_tuple pickle.Unpickler.load_tuple1 pickle.Unpickler.load_tuple2 pickle.Unpickler.load_tuple3 pickle.Unpickler.load_unicode pickle.Unpickler.marker pickle.UnpicklingError pickle._EmptyClass pickle._Stop pickle._Stop.__init__ pickle._keep_alive pickle._test pickle.dump pickle.dumps pickle.load pickle.loads pickle.whichmodule 2 items passed all tests: 7 tests in pickle.decode_long 7 tests in pickle.encode_long 14 tests in 103 items. 14 passed and 0 failed. Test passed. doctest (pickle) ... 14 tests with zero failures test_pickletools test_attribute_name_interning (test.test_pickletools.OptimizedPickleTests) ... ok test_callapi (test.test_pickletools.OptimizedPickleTests) ... ok test_dict_chunking (test.test_pickletools.OptimizedPickleTests) ... ok test_dump_closed_file (test.test_pickletools.OptimizedPickleTests) ... ok test_float (test.test_pickletools.OptimizedPickleTests) ... ok test_float_format (test.test_pickletools.OptimizedPickleTests) ... ok test_garyp (test.test_pickletools.OptimizedPickleTests) ... ok test_getinitargs (test.test_pickletools.OptimizedPickleTests) ... ok test_global_ext1 (test.test_pickletools.OptimizedPickleTests) ... ok test_global_ext2 (test.test_pickletools.OptimizedPickleTests) ... ok test_global_ext4 (test.test_pickletools.OptimizedPickleTests) ... ok test_highest_protocol (test.test_pickletools.OptimizedPickleTests) ... ok test_incomplete_input (test.test_pickletools.OptimizedPickleTests) ... ok test_insecure_strings (test.test_pickletools.OptimizedPickleTests) ... ok test_ints (test.test_pickletools.OptimizedPickleTests) ... ok test_list_chunking (test.test_pickletools.OptimizedPickleTests) ... ok test_load_closed_file (test.test_pickletools.OptimizedPickleTests) ... ok test_load_from_and_dump_to_file (test.test_pickletools.OptimizedPickleTests) ... ok test_load_from_canned_string (test.test_pickletools.OptimizedPickleTests) ... ok test_long (test.test_pickletools.OptimizedPickleTests) ... ok test_long1 (test.test_pickletools.OptimizedPickleTests) ... ok test_long4 (test.test_pickletools.OptimizedPickleTests) ... ok test_many_puts_and_gets (test.test_pickletools.OptimizedPickleTests) ... ok test_maxint64 (test.test_pickletools.OptimizedPickleTests) ... ok test_metaclass (test.test_pickletools.OptimizedPickleTests) ... ok test_misc (test.test_pickletools.OptimizedPickleTests) ... ok test_newobj_generic (test.test_pickletools.OptimizedPickleTests) ... ok test_newobj_list (test.test_pickletools.OptimizedPickleTests) ... ok test_newobj_list_slots (test.test_pickletools.OptimizedPickleTests) ... ok test_newobj_tuple (test.test_pickletools.OptimizedPickleTests) ... ok test_proto (test.test_pickletools.OptimizedPickleTests) ... ok test_recursive_dict (test.test_pickletools.OptimizedPickleTests) ... ok test_recursive_inst (test.test_pickletools.OptimizedPickleTests) ... ok test_recursive_list (test.test_pickletools.OptimizedPickleTests) ... ok test_recursive_multi (test.test_pickletools.OptimizedPickleTests) ... ok test_recursive_tuple (test.test_pickletools.OptimizedPickleTests) ... ok test_reduce (test.test_pickletools.OptimizedPickleTests) ... ok test_reduce_bad_iterator (test.test_pickletools.OptimizedPickleTests) ... ok test_reduce_calls_base (test.test_pickletools.OptimizedPickleTests) ... ok test_reduce_ex_called (test.test_pickletools.OptimizedPickleTests) ... ok test_reduce_ex_calls_base (test.test_pickletools.OptimizedPickleTests) ... ok test_reduce_ex_overrides_reduce (test.test_pickletools.OptimizedPickleTests) ... ok test_reduce_overrides_default_reduce_ex (test.test_pickletools.OptimizedPickleTests) ... ok test_roundtrip_equality (test.test_pickletools.OptimizedPickleTests) ... ok test_short_tuples (test.test_pickletools.OptimizedPickleTests) ... ok test_simple_newobj (test.test_pickletools.OptimizedPickleTests) ... ok test_singletons (test.test_pickletools.OptimizedPickleTests) ... ok test_structseq (test.test_pickletools.OptimizedPickleTests) ... ok test_unicode (test.test_pickletools.OptimizedPickleTests) ... ok test_unicode_high_plane (test.test_pickletools.OptimizedPickleTests) ... ok ---------------------------------------------------------------------- Ran 50 tests in 0.359s OK Trying: import pickle Expecting nothing ok Trying: from StringIO import StringIO Expecting nothing ok Trying: f = StringIO() Expecting nothing ok Trying: p = pickle.Pickler(f, 2) Expecting nothing ok Trying: x = [1, 2, 3] Expecting nothing ok Trying: p.dump(x) Expecting nothing ok Trying: p.dump(x) Expecting nothing ok Trying: f.seek(0) Expecting nothing ok Trying: memo = {} Expecting nothing ok Trying: dis(f, memo=memo) Expecting: 0: \x80 PROTO 2 2: ] EMPTY_LIST 3: q BINPUT 0 5: ( MARK 6: K BININT1 1 8: K BININT1 2 10: K BININT1 3 12: e APPENDS (MARK at 5) 13: . STOP highest protocol among opcodes = 2 ok Trying: dis(f, memo=memo) Expecting: 14: \x80 PROTO 2 16: h BINGET 0 18: . STOP highest protocol among opcodes = 2 ok Trying: import pickle Expecting nothing ok Trying: x = [1, 2, (3, 4), {'abc': u"def"}] Expecting nothing ok Trying: pkl = pickle.dumps(x, 0) Expecting nothing ok Trying: dis(pkl) Expecting: 0: ( MARK 1: l LIST (MARK at 0) 2: p PUT 0 5: I INT 1 8: a APPEND 9: I INT 2 12: a APPEND 13: ( MARK 14: I INT 3 17: I INT 4 20: t TUPLE (MARK at 13) 21: p PUT 1 24: a APPEND 25: ( MARK 26: d DICT (MARK at 25) 27: p PUT 2 30: S STRING 'abc' 37: p PUT 3 40: V UNICODE u'def' 45: p PUT 4 48: s SETITEM 49: a APPEND 50: . STOP highest protocol among opcodes = 0 ok Trying: pkl = pickle.dumps(x, 1) Expecting nothing ok Trying: dis(pkl) Expecting: 0: ] EMPTY_LIST 1: q BINPUT 0 3: ( MARK 4: K BININT1 1 6: K BININT1 2 8: ( MARK 9: K BININT1 3 11: K BININT1 4 13: t TUPLE (MARK at 8) 14: q BINPUT 1 16: } EMPTY_DICT 17: q BINPUT 2 19: U SHORT_BINSTRING 'abc' 24: q BINPUT 3 26: X BINUNICODE u'def' 34: q BINPUT 4 36: s SETITEM 37: e APPENDS (MARK at 3) 38: . STOP highest protocol among opcodes = 1 ok Trying: import pickletools Expecting nothing ok Trying: dis(pickle.dumps(pickletools.dis, 0)) Expecting: 0: c GLOBAL 'pickletools dis' 17: p PUT 0 20: . STOP highest protocol among opcodes = 0 ok Trying: from pickletools import _Example Expecting nothing ok Trying: x = [_Example(42)] * 2 Expecting nothing ok Trying: dis(pickle.dumps(x, 0)) Expecting: 0: ( MARK 1: l LIST (MARK at 0) 2: p PUT 0 5: ( MARK 6: i INST 'pickletools _Example' (MARK at 5) 28: p PUT 1 31: ( MARK 32: d DICT (MARK at 31) 33: p PUT 2 36: S STRING 'value' 45: p PUT 3 48: I INT 42 52: s SETITEM 53: b BUILD 54: a APPEND 55: g GET 1 58: a APPEND 59: . STOP highest protocol among opcodes = 0 ok Trying: dis(pickle.dumps(x, 1)) Expecting: 0: ] EMPTY_LIST 1: q BINPUT 0 3: ( MARK 4: ( MARK 5: c GLOBAL 'pickletools _Example' 27: q BINPUT 1 29: o OBJ (MARK at 4) 30: q BINPUT 2 32: } EMPTY_DICT 33: q BINPUT 3 35: U SHORT_BINSTRING 'value' 42: q BINPUT 4 44: K BININT1 42 46: s SETITEM 47: b BUILD 48: h BINGET 2 50: e APPENDS (MARK at 3) 51: . STOP highest protocol among opcodes = 1 ok Trying: L = [] Expecting nothing ok Trying: T = L, Expecting nothing ok Trying: L.append(T) Expecting nothing ok Trying: L[0] is T Expecting: True ok Trying: T[0] is L Expecting: True ok Trying: L[0][0] is L Expecting: True ok Trying: T[0][0] is T Expecting: True ok Trying: dis(pickle.dumps(L, 0)) Expecting: 0: ( MARK 1: l LIST (MARK at 0) 2: p PUT 0 5: ( MARK 6: g GET 0 9: t TUPLE (MARK at 5) 10: p PUT 1 13: a APPEND 14: . STOP highest protocol among opcodes = 0 ok Trying: dis(pickle.dumps(L, 1)) Expecting: 0: ] EMPTY_LIST 1: q BINPUT 0 3: ( MARK 4: h BINGET 0 6: t TUPLE (MARK at 3) 7: q BINPUT 1 9: a APPEND 10: . STOP highest protocol among opcodes = 1 ok Trying: dis(pickle.dumps(T, 0)) Expecting: 0: ( MARK 1: ( MARK 2: l LIST (MARK at 1) 3: p PUT 0 6: ( MARK 7: g GET 0 10: t TUPLE (MARK at 6) 11: p PUT 1 14: a APPEND 15: 0 POP 16: 0 POP (MARK at 0) 17: g GET 1 20: . STOP highest protocol among opcodes = 0 ok Trying: dis(pickle.dumps(T, 1)) Expecting: 0: ( MARK 1: ] EMPTY_LIST 2: q BINPUT 0 4: ( MARK 5: h BINGET 0 7: t TUPLE (MARK at 4) 8: q BINPUT 1 10: a APPEND 11: 1 POP_MARK (MARK at 0) 12: h BINGET 1 14: . STOP highest protocol among opcodes = 1 ok Trying: dis(pickle.dumps(L, 2)) Expecting: 0: \x80 PROTO 2 2: ] EMPTY_LIST 3: q BINPUT 0 5: h BINGET 0 7: \x85 TUPLE1 8: q BINPUT 1 10: a APPEND 11: . STOP highest protocol among opcodes = 2 ok Trying: dis(pickle.dumps(T, 2)) Expecting: 0: \x80 PROTO 2 2: ] EMPTY_LIST 3: q BINPUT 0 5: h BINGET 0 7: \x85 TUPLE1 8: q BINPUT 1 10: a APPEND 11: 0 POP 12: h BINGET 1 14: . STOP highest protocol among opcodes = 2 ok Trying: import StringIO Expecting nothing ok Trying: read_decimalnl_long(StringIO.StringIO("1234\n56")) Expecting: Traceback (most recent call last): ... ValueError: trailing 'L' required in '1234' ok Trying: read_decimalnl_long(StringIO.StringIO("1234L\n56")) Expecting: 1234L ok Trying: read_decimalnl_long(StringIO.StringIO("123456789012345678901234L\n6")) Expecting: 123456789012345678901234L ok Trying: import StringIO Expecting nothing ok Trying: read_decimalnl_short(StringIO.StringIO("1234\n56")) Expecting: 1234 ok Trying: read_decimalnl_short(StringIO.StringIO("1234L\n56")) Expecting: Traceback (most recent call last): ... ValueError: trailing 'L' not allowed in '1234L' ok Trying: import StringIO, struct Expecting nothing ok Trying: raw = struct.pack(">d", -1.25) Expecting nothing ok Trying: raw Expecting: '\xbf\xf4\x00\x00\x00\x00\x00\x00' ok Trying: read_float8(StringIO.StringIO(raw + "\n")) Expecting: -1.25 ok Trying: import StringIO Expecting nothing ok Trying: read_floatnl(StringIO.StringIO("-1.25\n6")) Expecting: -1.25 ok Trying: import StringIO Expecting nothing ok Trying: read_int4(StringIO.StringIO('\xff\x00\x00\x00')) Expecting: 255 ok Trying: read_int4(StringIO.StringIO('\x00\x00\x00\x80')) == -(2**31) Expecting: True ok Trying: import StringIO Expecting nothing ok Trying: read_long1(StringIO.StringIO("\x00")) Expecting: 0L ok Trying: read_long1(StringIO.StringIO("\x02\xff\x00")) Expecting: 255L ok Trying: read_long1(StringIO.StringIO("\x02\xff\x7f")) Expecting: 32767L ok Trying: read_long1(StringIO.StringIO("\x02\x00\xff")) Expecting: -256L ok Trying: read_long1(StringIO.StringIO("\x02\x00\x80")) Expecting: -32768L ok Trying: import StringIO Expecting nothing ok Trying: read_long4(StringIO.StringIO("\x02\x00\x00\x00\xff\x00")) Expecting: 255L ok Trying: read_long4(StringIO.StringIO("\x02\x00\x00\x00\xff\x7f")) Expecting: 32767L ok Trying: read_long4(StringIO.StringIO("\x02\x00\x00\x00\x00\xff")) Expecting: -256L ok Trying: read_long4(StringIO.StringIO("\x02\x00\x00\x00\x00\x80")) Expecting: -32768L ok Trying: read_long1(StringIO.StringIO("\x00\x00\x00\x00")) Expecting: 0L ok Trying: import StringIO Expecting nothing ok Trying: read_string1(StringIO.StringIO("\x00")) Expecting: '' ok Trying: read_string1(StringIO.StringIO("\x03abcdef")) Expecting: 'abc' ok Trying: import StringIO Expecting nothing ok Trying: read_string4(StringIO.StringIO("\x00\x00\x00\x00abc")) Expecting: '' ok Trying: read_string4(StringIO.StringIO("\x03\x00\x00\x00abcdef")) Expecting: 'abc' ok Trying: read_string4(StringIO.StringIO("\x00\x00\x00\x03abcdef")) Expecting: Traceback (most recent call last): ... ValueError: expected 50331648 bytes in a string4, but only 6 remain ok Trying: import StringIO Expecting nothing ok Trying: read_stringnl(StringIO.StringIO("'abcd'\nefg\n")) Expecting: 'abcd' ok Trying: read_stringnl(StringIO.StringIO("\n")) Expecting: Traceback (most recent call last): ... ValueError: no string quotes around '' ok Trying: read_stringnl(StringIO.StringIO("\n"), stripquotes=False) Expecting: '' ok Trying: read_stringnl(StringIO.StringIO("''\n")) Expecting: '' ok Trying: read_stringnl(StringIO.StringIO('"abcd"')) Expecting: Traceback (most recent call last): ... ValueError: no newline found when trying to read stringnl ok Trying: read_stringnl(StringIO.StringIO(r"'a\n\\b\x00c\td'" + "\n'e'")) Expecting: 'a\n\\b\x00c\td' ok Trying: import StringIO Expecting nothing ok Trying: read_stringnl_noescape_pair(StringIO.StringIO("Queue\nEmpty\njunk")) Expecting: 'Queue Empty' ok Trying: import StringIO Expecting nothing ok Trying: read_uint1(StringIO.StringIO('\xff')) Expecting: 255 ok Trying: import StringIO Expecting nothing ok Trying: read_uint2(StringIO.StringIO('\xff\x00')) Expecting: 255 ok Trying: read_uint2(StringIO.StringIO('\xff\xff')) Expecting: 65535 ok Trying: import StringIO Expecting nothing ok Trying: s = u'abcd\uabcd' Expecting nothing ok Trying: enc = s.encode('utf-8') Expecting nothing ok Trying: enc Expecting: 'abcd\xea\xaf\x8d' ok Trying: n = chr(len(enc)) + chr(0) * 3 # little-endian 4-byte length Expecting nothing ok Trying: t = read_unicodestring4(StringIO.StringIO(n + enc + 'junk')) Expecting nothing ok Trying: s == t Expecting: True ok Trying: read_unicodestring4(StringIO.StringIO(n + enc[:-1])) Expecting: Traceback (most recent call last): ... ValueError: expected 7 bytes in a unicodestring4, but only 6 remain ok Trying: import StringIO Expecting nothing ok Trying: read_unicodestringnl(StringIO.StringIO("abc\uabcd\njunk")) Expecting: u'abc\uabcd' ok 15 items had no tests: pickletools pickletools.ArgumentDescriptor pickletools.ArgumentDescriptor.__init__ pickletools.OpcodeInfo pickletools.OpcodeInfo.__init__ pickletools.StackObject pickletools.StackObject.__init__ pickletools.StackObject.__repr__ pickletools._Example pickletools._Example.__init__ pickletools._test pickletools.dis pickletools.genops pickletools.optimize pickletools.read_stringnl_noescape 17 items passed all tests: 11 tests in pickletools.__test__.disassembler_memo_test 25 tests in pickletools.__test__.disassembler_test 4 tests in pickletools.read_decimalnl_long 3 tests in pickletools.read_decimalnl_short 4 tests in pickletools.read_float8 2 tests in pickletools.read_floatnl 3 tests in pickletools.read_int4 6 tests in pickletools.read_long1 6 tests in pickletools.read_long4 3 tests in pickletools.read_string1 4 tests in pickletools.read_string4 7 tests in pickletools.read_stringnl 2 tests in pickletools.read_stringnl_noescape_pair 2 tests in pickletools.read_uint1 3 tests in pickletools.read_uint2 8 tests in pickletools.read_unicodestring4 2 tests in pickletools.read_unicodestringnl 95 tests in 32 items. 95 passed and 0 failed. Test passed. doctest (pickletools) ... 95 tests with zero failures test_pipes testBadAppendOptions (test.test_pipes.SimplePipeTests) ... ok testBadOpenMode (test.test_pipes.SimplePipeTests) ... ok testBadPrependOptions (test.test_pipes.SimplePipeTests) ... ok testClone (test.test_pipes.SimplePipeTests) ... ok testEmptyPipeline1 (test.test_pipes.SimplePipeTests) ... ok testEmptyPipeline2 (test.test_pipes.SimplePipeTests) ... ok testEmptyPipeline3 (test.test_pipes.SimplePipeTests) ... ok testQuoting (test.test_pipes.SimplePipeTests) ... ok testReadOpenSink (test.test_pipes.SimplePipeTests) ... ok testRepr (test.test_pipes.SimplePipeTests) ... ok testSetDebug (test.test_pipes.SimplePipeTests) ... ok testSimplePipe1 (test.test_pipes.SimplePipeTests) ... ok testSimplePipe2 (test.test_pipes.SimplePipeTests) ... ok testSimplePipe3 (test.test_pipes.SimplePipeTests) ... ok testWriteOpenSource (test.test_pipes.SimplePipeTests) ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.041s OK test_pkg test_1 (test.test_pkg.Test) ... ok test_2 (test.test_pkg.Test) ... ok test_3 (test.test_pkg.Test) ... ok test_4 (test.test_pkg.Test) ... ok test_5 (test.test_pkg.Test) ... ok test_6 (test.test_pkg.Test) ... ok test_7 (test.test_pkg.Test) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.016s OK test_pkgimport /home/exarkun/Projects/python/trunk/Lib/test/test_pkgimport.py:9: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator while sys.modules.has_key(self.package_name): test_package_import__semantics (test.test_pkgimport.TestImport) ... /home/exarkun/Projects/python/trunk/Lib/test/test_pkgimport.py:55: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(not sys.modules.has_key(self.module_name) and /home/exarkun/Projects/python/trunk/Lib/test/test_pkgimport.py:16: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if sys.modules.has_key(module_name): ok ---------------------------------------------------------------------- Ran 1 test in 0.001s OK test_pkgutil test_getdata_filesys (test.test_pkgutil.PkgutilTests) ... ok test_getdata_zipfile (test.test_pkgutil.PkgutilTests) ... ok test_alreadyloaded (test.test_pkgutil.PkgutilPEP302Tests) ... ok test_getdata_pep302 (test.test_pkgutil.PkgutilPEP302Tests) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.002s OK test_platform test_architecture (test.test_platform.PlatformTest) ... ok test_architecture_via_symlink (test.test_platform.PlatformTest) ... ok test_dist (test.test_platform.PlatformTest) ... ok test_java_ver (test.test_platform.PlatformTest) ... ok test_libc_ver (test.test_platform.PlatformTest) ... ok test_mac_ver (test.test_platform.PlatformTest) ... ok test_machine (test.test_platform.PlatformTest) ... ok test_node (test.test_platform.PlatformTest) ... ok test_parse_release_file (test.test_platform.PlatformTest) ... ok test_platform (test.test_platform.PlatformTest) ... ok test_processor (test.test_platform.PlatformTest) ... ok test_release (test.test_platform.PlatformTest) ... ok test_sys_version (test.test_platform.PlatformTest) ... ok test_system (test.test_platform.PlatformTest) ... ok test_system_alias (test.test_platform.PlatformTest) ... ok test_uname (test.test_platform.PlatformTest) ... ok test_version (test.test_platform.PlatformTest) ... ok test_win32_ver (test.test_platform.PlatformTest) ... ok ---------------------------------------------------------------------- Ran 18 tests in 1.692s OK test_plistlib test_appleformatting (test.test_plistlib.TestPlistlib) ... ok test_appleformattingfromliteral (test.test_plistlib.TestPlistlib) ... ok test_controlcharacters (test.test_plistlib.TestPlistlib) ... ok test_create (test.test_plistlib.TestPlistlib) ... ok test_cstringio (test.test_plistlib.TestPlistlib) ... ok test_io (test.test_plistlib.TestPlistlib) ... ok test_nondictroot (test.test_plistlib.TestPlistlib) ... ok test_string (test.test_plistlib.TestPlistlib) ... ok test_stringio (test.test_plistlib.TestPlistlib) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.013s OK test_poll test_poll1 (test.test_poll.PollTests) ... ok test_poll2 (test.test_poll.PollTests) ... ok test_poll3 (test.test_poll.PollTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 10.031s OK test_popen test_popen (test.test_popen.PopenTest) ... ok test_return_code (test.test_popen.PopenTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.103s OK test_popen2 test_os_popen2 (test.test_popen2.Popen2Test) ... ok test_os_popen3 (test.test_popen2.Popen2Test) ... ok test_os_popen4 (test.test_popen2.Popen2Test) ... ok test_popen2 (test.test_popen2.Popen2Test) ... ok test_popen3 (test.test_popen2.Popen2Test) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.107s OK test_poplib test_dele (test.test_poplib.TestPOP3Class) ... ok test_exceptions (test.test_poplib.TestPOP3Class) ... ok test_getwelcome (test.test_poplib.TestPOP3Class) ... ok test_list (test.test_poplib.TestPOP3Class) ... ok test_noop (test.test_poplib.TestPOP3Class) ... ok test_pass_ (test.test_poplib.TestPOP3Class) ... ok test_retr (test.test_poplib.TestPOP3Class) ... ok test_rpop (test.test_poplib.TestPOP3Class) ... ok test_stat (test.test_poplib.TestPOP3Class) ... ok test_top (test.test_poplib.TestPOP3Class) ... ok test_uidl (test.test_poplib.TestPOP3Class) ... ok test_user (test.test_poplib.TestPOP3Class) ... ok testTimeoutDefault (test.test_poplib.TestTimeouts) ... ok testTimeoutNone (test.test_poplib.TestTimeouts) ... ok testTimeoutValue (test.test_poplib.TestTimeouts) ... ok test__all__ (test.test_poplib.TestPOP3_SSLClass) ... ok test_dele (test.test_poplib.TestPOP3_SSLClass) ... ok test_exceptions (test.test_poplib.TestPOP3_SSLClass) ... ok test_getwelcome (test.test_poplib.TestPOP3_SSLClass) ... ok test_list (test.test_poplib.TestPOP3_SSLClass) ... ok test_noop (test.test_poplib.TestPOP3_SSLClass) ... ok test_pass_ (test.test_poplib.TestPOP3_SSLClass) ... ok test_retr (test.test_poplib.TestPOP3_SSLClass) ... ok test_rpop (test.test_poplib.TestPOP3_SSLClass) ... ok test_stat (test.test_poplib.TestPOP3_SSLClass) ... ok test_top (test.test_poplib.TestPOP3_SSLClass) ... ok test_uidl (test.test_poplib.TestPOP3_SSLClass) ... ok test_user (test.test_poplib.TestPOP3_SSLClass) ... ok ---------------------------------------------------------------------- Ran 28 tests in 2.304s OK test_posix testNoArgFunctions (test.test_posix.PosixTester) ... ok test_access (test.test_posix.PosixTester) ... ok test_chdir (test.test_posix.PosixTester) ... ok test_chflags (test.test_posix.PosixTester) ... ok test_chown (test.test_posix.PosixTester) ... ok test_confstr (test.test_posix.PosixTester) ... ok test_dup (test.test_posix.PosixTester) ... ok test_dup2 (test.test_posix.PosixTester) ... ok test_fdopen (test.test_posix.PosixTester) ... ok test_fstat (test.test_posix.PosixTester) ... ok test_fstatvfs (test.test_posix.PosixTester) ... ok test_ftruncate (test.test_posix.PosixTester) ... ok test_getcwd_long_pathnames (test.test_posix.PosixTester) ... ok test_lchflags (test.test_posix.PosixTester) ... ok test_lsdir (test.test_posix.PosixTester) ... ok test_osexlock (test.test_posix.PosixTester) ... ok test_osshlock (test.test_posix.PosixTester) ... ok test_pipe (test.test_posix.PosixTester) ... ok test_stat (test.test_posix.PosixTester) ... ok test_statvfs (test.test_posix.PosixTester) ... ok test_strerror (test.test_posix.PosixTester) ... ok test_tempnam (test.test_posix.PosixTester) ... ok test_tmpfile (test.test_posix.PosixTester) ... ok test_umask (test.test_posix.PosixTester) ... ok test_utime (test.test_posix.PosixTester) ... ok ---------------------------------------------------------------------- Ran 25 tests in 0.004s OK test_posixpath test_abspath (test.test_posixpath.PosixPathTest) ... ok test_basename (test.test_posixpath.PosixPathTest) ... ok test_commonprefix (test.test_posixpath.PosixPathTest) ... ok test_dirname (test.test_posixpath.PosixPathTest) ... ok test_exists (test.test_posixpath.PosixPathTest) ... ok test_expanduser (test.test_posixpath.PosixPathTest) ... ok test_expandvars (test.test_posixpath.PosixPathTest) ... ok test_getsize (test.test_posixpath.PosixPathTest) ... ok test_isabs (test.test_posixpath.PosixPathTest) ... ok test_isdir (test.test_posixpath.PosixPathTest) ... ok test_isfile (test.test_posixpath.PosixPathTest) ... ok test_islink (test.test_posixpath.PosixPathTest) ... ok test_ismount (test.test_posixpath.PosixPathTest) ... ok test_join (test.test_posixpath.PosixPathTest) ... ok test_normcase (test.test_posixpath.PosixPathTest) ... ok test_normpath (test.test_posixpath.PosixPathTest) ... ok test_realpath (test.test_posixpath.PosixPathTest) ... ok test_realpath_basic (test.test_posixpath.PosixPathTest) ... ok test_realpath_resolve_before_normalizing (test.test_posixpath.PosixPathTest) ... ok test_realpath_resolve_first (test.test_posixpath.PosixPathTest) ... ok test_realpath_resolve_parents (test.test_posixpath.PosixPathTest) ... ok test_realpath_symlink_loops (test.test_posixpath.PosixPathTest) ... ok test_relpath (test.test_posixpath.PosixPathTest) ... ok test_samefile (test.test_posixpath.PosixPathTest) ... ok test_samestat (test.test_posixpath.PosixPathTest) ... ok test_split (test.test_posixpath.PosixPathTest) ... ok test_splitdrive (test.test_posixpath.PosixPathTest) ... ok test_splitext (test.test_posixpath.PosixPathTest) ... ok test_time (test.test_posixpath.PosixPathTest) ... ok ---------------------------------------------------------------------- Ran 29 tests in 0.014s OK test_pow test_bug643260 (test.test_pow.PowTest) ... ok test_bug705231 (test.test_pow.PowTest) ... ok test_other (test.test_pow.PowTest) ... ok test_powfloat (test.test_pow.PowTest) ... ok test_powint (test.test_pow.PowTest) ... ok test_powlong (test.test_pow.PowTest) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.253s OK test_pprint test_basic (test.test_pprint.QueryTestCase) ... ok test_basic_line_wrap (test.test_pprint.QueryTestCase) ... ok test_depth (test.test_pprint.QueryTestCase) ... ok test_knotted (test.test_pprint.QueryTestCase) ... ok test_nested_indentations (test.test_pprint.QueryTestCase) ... ok test_same_as_repr (test.test_pprint.QueryTestCase) ... ok test_set_reprs (test.test_pprint.QueryTestCase) ... ok test_sorted_dict (test.test_pprint.QueryTestCase) ... /home/exarkun/Projects/python/trunk/Lib/pprint.py:277: DeprecationWarning: comparing unequal types not supported in 3.x for k, v in sorted(object.items()): /home/exarkun/Projects/python/trunk/Lib/pprint.py:148: DeprecationWarning: comparing unequal types not supported in 3.x items.sort() ok test_subclassing (test.test_pprint.QueryTestCase) ... ok test_unreadable (test.test_pprint.QueryTestCase) ... ok ---------------------------------------------------------------------- Ran 10 tests in 0.045s OK test_print test_mixed_args (test.test_print.TestPrint) ... ok test_print (test.test_print.TestPrint) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.002s OK test_profile test_calling_conventions (test.test_profile.ProfileTest) ... /home/exarkun/Projects/python/trunk/Lib/pstats.py:445: DeprecationWarning: classic int division print >> self.stream, f8(tt/nc), /home/exarkun/Projects/python/trunk/Lib/pstats.py:450: DeprecationWarning: classic int division print >> self.stream, f8(ct/cc), ok test_cprofile (test.test_profile.ProfileTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.009s OK test_profilehooks test_empty (test.test_profilehooks.TestGetProfile) ... ok test_setget (test.test_profilehooks.TestGetProfile) ... ok test_caught_exception (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:121: DeprecationWarning: classic int division try: 1/0 FAIL test_caught_nested_exception (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:130: DeprecationWarning: classic int division try: 1/0 FAIL test_distant_exception (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:210: DeprecationWarning: classic int division 1/0 FAIL test_exception (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:113: DeprecationWarning: classic int division 1/0 FAIL test_exception_in_except_clause (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:150: DeprecationWarning: classic int division 1/0 FAIL test_exception_propogation (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:169: DeprecationWarning: classic int division 1/0 FAIL test_generator (test.test_profilehooks.ProfileHookTestCase) ... ok test_nested_exception (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:139: DeprecationWarning: classic int division 1/0 FAIL test_raise (test.test_profilehooks.ProfileHookTestCase) ... ok test_raise_reraise (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:193: DeprecationWarning: classic int division try: 1/0 FAIL test_raise_twice (test.test_profilehooks.ProfileHookTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:184: DeprecationWarning: classic int division try: 1/0 /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:185: DeprecationWarning: classic int division except: 1/0 FAIL test_simple (test.test_profilehooks.ProfileHookTestCase) ... ok test_stop_iteration (test.test_profilehooks.ProfileHookTestCase) ... ok test_basic_exception (test.test_profilehooks.ProfileSimulatorTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:295: DeprecationWarning: classic int division 1/0 FAIL test_caught_exception (test.test_profilehooks.ProfileSimulatorTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:303: DeprecationWarning: classic int division try: 1/0 FAIL test_distant_exception (test.test_profilehooks.ProfileSimulatorTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py:312: DeprecationWarning: classic int division 1/0 FAIL test_simple (test.test_profilehooks.ProfileSimulatorTestCase) ... ok ====================================================================== FAIL: test_caught_exception (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 125, in test_caught_exception (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (120, 'f')), (1, 'return', (120, 'f'))] Received events: [(1, 'call', (120, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (6, 'call', (68, 'updatecache')), (6, 'return', (68, 'updatecache')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (1, 'return', (120, 'f'))] ====================================================================== FAIL: test_caught_nested_exception (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 134, in test_caught_nested_exception (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (129, 'f')), (1, 'return', (129, 'f'))] Received events: [(1, 'call', (129, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (1, 'return', (129, 'f'))] ====================================================================== FAIL: test_distant_exception (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 233, in test_distant_exception (1, 'return', j_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (217, 'j')), (2, 'call', (215, 'i')), (3, 'call', (213, 'h')), (4, 'call', (211, 'g')), (5, 'call', (209, 'f')), (5, 'return', (209, 'f')), (4, 'return', (211, 'g')), (3, 'return', (213, 'h')), (2, 'return', (215, 'i')), (1, 'return', (217, 'j'))] Received events: [(1, 'call', (217, 'j')), (2, 'call', (215, 'i')), (3, 'call', (213, 'h')), (4, 'call', (211, 'g')), (5, 'call', (209, 'f')), (6, 'call', (24, '_show_warning')), (7, 'call', (36, 'formatwarning')), (8, 'call', (13, 'getline')), (9, 'call', (33, 'getlines')), (9, 'return', (33, 'getlines')), (8, 'return', (13, 'getline')), (7, 'return', (36, 'formatwarning')), (6, 'return', (24, '_show_warning')), (5, 'return', (209, 'f')), (4, 'return', (211, 'g')), (3, 'return', (213, 'h')), (2, 'return', (215, 'i')), (1, 'return', (217, 'j'))] ====================================================================== FAIL: test_exception (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 116, in test_exception (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (112, 'f')), (1, 'return', (112, 'f'))] Received events: [(1, 'call', (112, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (1, 'return', (112, 'f'))] ====================================================================== FAIL: test_exception_in_except_clause (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 164, in test_exception_in_except_clause (1, 'return', g_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (151, 'g')), (2, 'call', (149, 'f')), (2, 'return', (149, 'f')), (3, 'call', (149, 'f')), (3, 'return', (149, 'f')), (1, 'return', (151, 'g'))] Received events: [(1, 'call', (151, 'g')), (2, 'call', (149, 'f')), (3, 'call', (24, '_show_warning')), (4, 'call', (36, 'formatwarning')), (5, 'call', (13, 'getline')), (6, 'call', (33, 'getlines')), (6, 'return', (33, 'getlines')), (5, 'return', (13, 'getline')), (4, 'return', (36, 'formatwarning')), (3, 'return', (24, '_show_warning')), (2, 'return', (149, 'f')), (7, 'call', (149, 'f')), (7, 'return', (149, 'f')), (1, 'return', (151, 'g'))] ====================================================================== FAIL: test_exception_propogation (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 179, in test_exception_propogation (1, 'return', g_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (170, 'g')), (2, 'call', (168, 'f')), (2, 'return', (168, 'f')), (1, 'falling through', (170, 'g')), (1, 'return', (170, 'g'))] Received events: [(1, 'call', (170, 'g')), (2, 'call', (168, 'f')), (3, 'call', (24, '_show_warning')), (4, 'call', (36, 'formatwarning')), (5, 'call', (13, 'getline')), (6, 'call', (33, 'getlines')), (6, 'return', (33, 'getlines')), (5, 'return', (13, 'getline')), (4, 'return', (36, 'formatwarning')), (3, 'return', (24, '_show_warning')), (2, 'return', (168, 'f')), (1, 'falling through', (170, 'g')), (1, 'return', (170, 'g'))] ====================================================================== FAIL: test_nested_exception (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 145, in test_nested_exception (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (138, 'f')), (1, 'return', (138, 'f'))] Received events: [(1, 'call', (138, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (1, 'return', (138, 'f'))] ====================================================================== FAIL: test_raise_reraise (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 197, in test_raise_reraise (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (192, 'f')), (1, 'return', (192, 'f'))] Received events: [(1, 'call', (192, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (1, 'return', (192, 'f'))] ====================================================================== FAIL: test_raise_twice (test.test_profilehooks.ProfileHookTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 188, in test_raise_twice (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (183, 'f')), (1, 'return', (183, 'f'))] Received events: [(1, 'call', (183, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (6, 'call', (24, '_show_warning')), (7, 'call', (36, 'formatwarning')), (8, 'call', (13, 'getline')), (9, 'call', (33, 'getlines')), (9, 'return', (33, 'getlines')), (8, 'return', (13, 'getline')), (7, 'return', (36, 'formatwarning')), (6, 'return', (24, '_show_warning')), (1, 'return', (183, 'f'))] ====================================================================== FAIL: test_basic_exception (test.test_profilehooks.ProfileSimulatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 298, in test_basic_exception (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (294, 'f')), (1, 'return', (294, 'f'))] Received events: [(1, 'call', (294, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (1, 'return', (294, 'f'))] ====================================================================== FAIL: test_caught_exception (test.test_profilehooks.ProfileSimulatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 307, in test_caught_exception (1, 'return', f_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (302, 'f')), (1, 'return', (302, 'f'))] Received events: [(1, 'call', (302, 'f')), (2, 'call', (24, '_show_warning')), (3, 'call', (36, 'formatwarning')), (4, 'call', (13, 'getline')), (5, 'call', (33, 'getlines')), (5, 'return', (33, 'getlines')), (4, 'return', (13, 'getline')), (3, 'return', (36, 'formatwarning')), (2, 'return', (24, '_show_warning')), (1, 'return', (302, 'f'))] ====================================================================== FAIL: test_distant_exception (test.test_profilehooks.ProfileSimulatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 335, in test_distant_exception (1, 'return', j_ident), File "/home/exarkun/Projects/python/trunk/Lib/test/test_profilehooks.py", line 96, in check_events % (pprint.pformat(expected), pprint.pformat(events))) AssertionError: Expected events: [(1, 'call', (319, 'j')), (2, 'call', (317, 'i')), (3, 'call', (315, 'h')), (4, 'call', (313, 'g')), (5, 'call', (311, 'f')), (5, 'return', (311, 'f')), (4, 'return', (313, 'g')), (3, 'return', (315, 'h')), (2, 'return', (317, 'i')), (1, 'return', (319, 'j'))] Received events: [(1, 'call', (319, 'j')), (2, 'call', (317, 'i')), (3, 'call', (315, 'h')), (4, 'call', (313, 'g')), (5, 'call', (311, 'f')), (6, 'call', (24, '_show_warning')), (7, 'call', (36, 'formatwarning')), (8, 'call', (13, 'getline')), (9, 'call', (33, 'getlines')), (9, 'return', (33, 'getlines')), (8, 'return', (13, 'getline')), (7, 'return', (36, 'formatwarning')), (6, 'return', (24, '_show_warning')), (5, 'return', (311, 'f')), (4, 'return', (313, 'g')), (3, 'return', (315, 'h')), (2, 'return', (317, 'i')), (1, 'return', (319, 'j'))] ---------------------------------------------------------------------- Ran 19 tests in 0.034s FAILED (failures=12) test test_profilehooks failed -- errors occurred; run in verbose mode for details test_property test_property_decorator_baseclass (test.test_property.PropertyTests) ... ok test_property_decorator_doc (test.test_property.PropertyTests) ... ok test_property_decorator_subclass (test.test_property.PropertyTests) ... ok test_property_getter_doc_override (test.test_property.PropertyTests) ... ok test_docstring_copy (test.test_property.PropertySubclassTests) ... ok test_property_new_getter_new_docstring (test.test_property.PropertySubclassTests) ... ok test_property_setter_copies_getter_docstring (test.test_property.PropertySubclassTests) ... ok test_slots_docstring_copy_exception (test.test_property.PropertySubclassTests) ... ok ---------------------------------------------------------------------- Ran 8 tests in 0.001s OK test_pstats test_combine_results (test.test_pstats.AddCallersTestCase) pstats.add_callers should combine the call results of both target ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_pty test_basic (test.test_pty.PtyTest) ... Calling master_open() Got master_fd '6', slave_name '/dev/pts/9' Calling slave_open('/dev/pts/9') Got slave_fd '7' Writing to slave_fd Writing chunked output ok test_fork (test.test_pty.PtyTest) ... calling pty.fork() Waiting for child (29924) to finish. Child (29924) exited with status 4 (1024). ok ---------------------------------------------------------------------- Ran 2 tests in 0.006s OK test_pwd test_errors (test.test_pwd.PwdTest) ... ok test_values (test.test_pwd.PwdTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.005s OK test_py3kwarn test_backquote (test.test_py3kwarn.TestPy3KWarnings) ... ok test_buffer (test.test_py3kwarn.TestPy3KWarnings) ... ok test_builtin_function_or_method_comparisons (test.test_py3kwarn.TestPy3KWarnings) ... ok test_cell_inequality_comparisons (test.test_py3kwarn.TestPy3KWarnings) ... ok test_code_inequality_comparisons (test.test_py3kwarn.TestPy3KWarnings) ... ok test_dict_inequality_comparisons (test.test_py3kwarn.TestPy3KWarnings) ... ok test_file_xreadlines (test.test_py3kwarn.TestPy3KWarnings) ... ok test_forbidden_names (test.test_py3kwarn.TestPy3KWarnings) ... ok test_frame_attributes (test.test_py3kwarn.TestPy3KWarnings) ... ok test_hash_inheritance (test.test_py3kwarn.TestPy3KWarnings) ... ok test_methods_members (test.test_py3kwarn.TestPy3KWarnings) ... ok test_object_inequality_comparisons (test.test_py3kwarn.TestPy3KWarnings) ... ok test_operator (test.test_py3kwarn.TestPy3KWarnings) ... ok test_slice_methods (test.test_py3kwarn.TestPy3KWarnings) ... ok test_softspace (test.test_py3kwarn.TestPy3KWarnings) ... ok test_sort_cmp_arg (test.test_py3kwarn.TestPy3KWarnings) ... ok test_sys_exc_clear (test.test_py3kwarn.TestPy3KWarnings) ... ok test_tuple_parameter_unpacking (test.test_py3kwarn.TestPy3KWarnings) ... ok test_type_inequality_comparisons (test.test_py3kwarn.TestPy3KWarnings) ... ok test_mutablestring_removal (test.test_py3kwarn.TestStdlibRemovals) ... ok test_optional_module_removals (test.test_py3kwarn.TestStdlibRemovals) ... FAIL test_os_path_walk (test.test_py3kwarn.TestStdlibRemovals) ... ok test_platform_independent_removals (test.test_py3kwarn.TestStdlibRemovals) ... ok test_platform_specific_removals (test.test_py3kwarn.TestStdlibRemovals) ... ok test_reduce_move (test.test_py3kwarn.TestStdlibRemovals) ... FAIL ====================================================================== FAIL: test_optional_module_removals (test.test_py3kwarn.TestStdlibRemovals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_py3kwarn.py", line 366, in test_optional_module_removals self.check_removal(module_name, optional=True) File "/home/exarkun/Projects/python/trunk/Lib/test/test_py3kwarn.py", line 350, in check_removal .format(module_name)) AssertionError: DeprecationWarning not raised for dl ====================================================================== FAIL: test_reduce_move (test.test_py3kwarn.TestStdlibRemovals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/exarkun/Projects/python/trunk/Lib/test/test_py3kwarn.py", line 384, in test_reduce_move self.assertRaises(DeprecationWarning, reduce, add, range(10)) AssertionError: DeprecationWarning not raised ---------------------------------------------------------------------- Ran 25 tests in 0.015s FAILED (failures=2) test test_py3kwarn failed -- errors occurred; run in verbose mode for details test_pyclbr test_decorators (test.test_pyclbr.PyclbrTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_pyclbr.py:45: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not obj.has_key(key): /home/exarkun/Projects/python/trunk/Lib/test/test_pyclbr.py:47: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(obj.has_key(key)) ok test_easy (test.test_pyclbr.PyclbrTest) ... ok test_others (test.test_pyclbr.PyclbrTest) ... ok ---------------------------------------------------------------------- Ran 3 tests in 1.144s OK test_pydoc test_badimport (test.test_pydoc.PyDocDocTest) ... ok test_html_doc (test.test_pydoc.PyDocDocTest) ... ok test_input_strip (test.test_pydoc.PyDocDocTest) ... ok test_not_here (test.test_pydoc.PyDocDocTest) ... ok test_text_doc (test.test_pydoc.PyDocDocTest) ... ok test_class (test.test_pydoc.TestDescriptions) ... ok test_classic_class (test.test_pydoc.TestDescriptions) ... ok test_module (test.test_pydoc.TestDescriptions) ... ok ---------------------------------------------------------------------- Ran 8 tests in 0.376s OK test_pyexpat test_ordered_attributes (test.test_pyexpat.SetAttributeTest) ... ok test_returns_unicode (test.test_pyexpat.SetAttributeTest) ... ok test_specified_attributes (test.test_pyexpat.SetAttributeTest) ... ok test_parse_file (test.test_pyexpat.ParseTest) ... ok test_unicode (test.test_pyexpat.ParseTest) ... ok test_utf8 (test.test_pyexpat.ParseTest) ... ok test_illegal (test.test_pyexpat.NamespaceSeparatorTest) ... ok test_legal (test.test_pyexpat.NamespaceSeparatorTest) ... ok test_zero_length (test.test_pyexpat.NamespaceSeparatorTest) ... ok test (test.test_pyexpat.InterningTest) ... ok test1 (test.test_pyexpat.BufferTextTest) ... ok test2 (test.test_pyexpat.BufferTextTest) ... ok test3 (test.test_pyexpat.BufferTextTest) ... ok test4 (test.test_pyexpat.BufferTextTest) ... ok test5 (test.test_pyexpat.BufferTextTest) ... ok test6 (test.test_pyexpat.BufferTextTest) ... ok test7 (test.test_pyexpat.BufferTextTest) ... ok test_buffering_enabled (test.test_pyexpat.BufferTextTest) ... ok test_default_to_disabled (test.test_pyexpat.BufferTextTest) ... ok test (test.test_pyexpat.HandlerExceptionTest) ... ok test (test.test_pyexpat.PositionTest) ... ok test_parse_only_xml_data (test.test_pyexpat.sf1296433Test) ... ok test_1000_bytes (test.test_pyexpat.ChardataBufferTest) ... ok test_1025_bytes (test.test_pyexpat.ChardataBufferTest) ... ok test_change_size_1 (test.test_pyexpat.ChardataBufferTest) ... ok test_change_size_2 (test.test_pyexpat.ChardataBufferTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_pyexpat.py:557: DeprecationWarning: classic int division parser.buffer_size /= 2 ok test_disabling_buffer (test.test_pyexpat.ChardataBufferTest) ... ok test_unchanged_size (test.test_pyexpat.ChardataBufferTest) ... ok test_wrong_size (test.test_pyexpat.ChardataBufferTest) ... ok test1 (test.test_pyexpat.MalformedInputText) ... ok test2 (test.test_pyexpat.MalformedInputText) ... ok ---------------------------------------------------------------------- Ran 31 tests in 0.004s OK test_queue test_queue_join (test.test_queue.QueueTest) ... ok test_queue_task_done (test.test_queue.QueueTest) ... ok test_simple_queue (test.test_queue.QueueTest) ... ok test_queue_join (test.test_queue.LifoQueueTest) ... ok test_queue_task_done (test.test_queue.LifoQueueTest) ... ok test_simple_queue (test.test_queue.LifoQueueTest) ... ok test_queue_join (test.test_queue.PriorityQueueTest) ... ok test_queue_task_done (test.test_queue.PriorityQueueTest) ... ok test_simple_queue (test.test_queue.PriorityQueueTest) ... /home/exarkun/Projects/python/trunk/Lib/Queue.py:225: DeprecationWarning: comparing unequal types not supported in 3.x heappush(self.queue, item) /home/exarkun/Projects/python/trunk/Lib/Queue.py:228: DeprecationWarning: comparing unequal types not supported in 3.x return heappop(self.queue) ok test_failing_queue (test.test_queue.FailingQueueTest) ... ok ---------------------------------------------------------------------- Ran 10 tests in 3.683s OK test_quopri test_decode (test.test_quopri.QuopriTestCase) ... ok test_decode_header (test.test_quopri.QuopriTestCase) ... ok test_decodestring (test.test_quopri.QuopriTestCase) ... ok test_embedded_ws (test.test_quopri.QuopriTestCase) ... ok test_encode (test.test_quopri.QuopriTestCase) ... ok test_encode_header (test.test_quopri.QuopriTestCase) ... ok test_encodestring (test.test_quopri.QuopriTestCase) ... ok test_idempotent_string (test.test_quopri.QuopriTestCase) ... ok test_scriptdecode (test.test_quopri.QuopriTestCase) ... ok test_scriptencode (test.test_quopri.QuopriTestCase) ... ok ---------------------------------------------------------------------- Ran 10 tests in 0.087s OK test_random test_autoseed (test.test_random.WichmannHill_TestBasicOps) ... ok test_bigrand (test.test_random.WichmannHill_TestBasicOps) ... ok test_bug_1727780 (test.test_random.WichmannHill_TestBasicOps) ... ok test_gauss (test.test_random.WichmannHill_TestBasicOps) ... ok test_gauss_with_whseed (test.test_random.WichmannHill_TestBasicOps) ... ok test_jumpahead (test.test_random.WichmannHill_TestBasicOps) ... /home/exarkun/Projects/python/trunk/Lib/random.py:737: DeprecationWarning: comparing unequal types not supported in 3.x if not n >= 0: ok test_pickling (test.test_random.WichmannHill_TestBasicOps) ... ok test_sample (test.test_random.WichmannHill_TestBasicOps) ... ok test_sample_distribution (test.test_random.WichmannHill_TestBasicOps) ... /home/exarkun/Projects/python/trunk/Lib/test/test_random.py:80: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce() return reduce(int.__mul__, xrange(1, n), 1) ok test_sample_inputs (test.test_random.WichmannHill_TestBasicOps) ... ok test_sample_on_dicts (test.test_random.WichmannHill_TestBasicOps) ... ok test_saverestore (test.test_random.WichmannHill_TestBasicOps) ... ok test_seedargs (test.test_random.WichmannHill_TestBasicOps) ... ok test_setstate_first_arg (test.test_random.WichmannHill_TestBasicOps) ... ok test_strong_jumpahead (test.test_random.WichmannHill_TestBasicOps) ... ok test_53_bits_per_float (test.test_random.MersenneTwister_TestBasicOps) ... ok test_autoseed (test.test_random.MersenneTwister_TestBasicOps) ... ok test_bigrand (test.test_random.MersenneTwister_TestBasicOps) ... ok test_bigrand_ranges (test.test_random.MersenneTwister_TestBasicOps) ... ok test_bug_1727780 (test.test_random.MersenneTwister_TestBasicOps) ... ok test_gauss (test.test_random.MersenneTwister_TestBasicOps) ... ok test_genrandbits (test.test_random.MersenneTwister_TestBasicOps) ... ok test_jumpahead (test.test_random.MersenneTwister_TestBasicOps) ... ok test_long_seed (test.test_random.MersenneTwister_TestBasicOps) ... ok test_pickling (test.test_random.MersenneTwister_TestBasicOps) ... ok test_randbelow_logic (test.test_random.MersenneTwister_TestBasicOps) ... ok test_randrange_bug_1590891 (test.test_random.MersenneTwister_TestBasicOps) ... ok test_rangelimits (test.test_random.MersenneTwister_TestBasicOps) ... ok test_referenceImplementation (test.test_random.MersenneTwister_TestBasicOps) ... ok test_sample (test.test_random.MersenneTwister_TestBasicOps) ... ok test_sample_distribution (test.test_random.MersenneTwister_TestBasicOps) ... ok test_sample_inputs (test.test_random.MersenneTwister_TestBasicOps) ... ok test_sample_on_dicts (test.test_random.MersenneTwister_TestBasicOps) ... ok test_saverestore (test.test_random.MersenneTwister_TestBasicOps) ... ok test_seedargs (test.test_random.MersenneTwister_TestBasicOps) ... ok test_setstate_first_arg (test.test_random.MersenneTwister_TestBasicOps) ... ok test_setstate_middle_arg (test.test_random.MersenneTwister_TestBasicOps) ... ok test_strong_reference_implementation (test.test_random.MersenneTwister_TestBasicOps) ... ok test_avg_std (test.test_random.TestDistributions) ... ok test_zeroinputs (test.test_random.TestDistributions) ... ok testMagicConstants (test.test_random.TestModule) ... ok test__all__ (test.test_random.TestModule) ... ok test_random_subclass_with_kwargs (test.test_random.TestModule) ... ok test_53_bits_per_float (test.test_random.SystemRandom_TestBasicOps) ... ok test_autoseed (test.test_random.SystemRandom_TestBasicOps) ... ok test_bigrand (test.test_random.SystemRandom_TestBasicOps) ... ok test_bigrand_ranges (test.test_random.SystemRandom_TestBasicOps) ... ok test_bug_1727780 (test.test_random.SystemRandom_TestBasicOps) ... ok test_gauss (test.test_random.SystemRandom_TestBasicOps) ... ok test_genrandbits (test.test_random.SystemRandom_TestBasicOps) ... ok test_jumpahead (test.test_random.SystemRandom_TestBasicOps) ... ok test_pickling (test.test_random.SystemRandom_TestBasicOps) ... ok test_randbelow_logic (test.test_random.SystemRandom_TestBasicOps) ... ok test_rangelimits (test.test_random.SystemRandom_TestBasicOps) ... ok test_sample (test.test_random.SystemRandom_TestBasicOps) ... ok test_sample_distribution (test.test_random.SystemRandom_TestBasicOps) ... ok test_sample_inputs (test.test_random.SystemRandom_TestBasicOps) ... ok test_sample_on_dicts (test.test_random.SystemRandom_TestBasicOps) ... ok test_saverestore (test.test_random.SystemRandom_TestBasicOps) ... ok test_seedargs (test.test_random.SystemRandom_TestBasicOps) ... ok ---------------------------------------------------------------------- Ran 60 tests in 0.574s OK test_re test_anyall (test.test_re.ReTests) ... ok test_basic_re_sub (test.test_re.ReTests) ... ok test_bigcharset (test.test_re.ReTests) ... ok test_bug_113254 (test.test_re.ReTests) ... ok test_bug_1140 (test.test_re.ReTests) ... ok test_bug_114660 (test.test_re.ReTests) ... ok test_bug_117612 (test.test_re.ReTests) ... ok test_bug_1661 (test.test_re.ReTests) ... ok test_bug_3629 (test.test_re.ReTests) ... ok test_bug_418626 (test.test_re.ReTests) ... ok test_bug_448951 (test.test_re.ReTests) ... ok test_bug_449000 (test.test_re.ReTests) ... ok test_bug_449964 (test.test_re.ReTests) ... ok test_bug_462270 (test.test_re.ReTests) ... ok test_bug_527371 (test.test_re.ReTests) ... ok test_bug_545855 (test.test_re.ReTests) ... ok test_bug_581080 (test.test_re.ReTests) ... ok test_bug_612074 (test.test_re.ReTests) ... ok test_bug_6561 (test.test_re.ReTests) ... ok test_bug_725106 (test.test_re.ReTests) ... ok test_bug_725149 (test.test_re.ReTests) ... ok test_bug_764548 (test.test_re.ReTests) ... ok test_bug_817234 (test.test_re.ReTests) ... ok test_bug_926075 (test.test_re.ReTests) ... ok test_bug_931848 (test.test_re.ReTests) ... ok test_category (test.test_re.ReTests) ... ok test_constants (test.test_re.ReTests) ... ok test_dollar_matches_twice (test.test_re.ReTests) $ matches the end of string, and just before the terminating ... ok test_empty_array (test.test_re.ReTests) ... ok test_expand (test.test_re.ReTests) ... ok test_finditer (test.test_re.ReTests) ... ok test_flags (test.test_re.ReTests) ... ok test_getattr (test.test_re.ReTests) ... ok test_getlower (test.test_re.ReTests) ... ok test_groupdict (test.test_re.ReTests) ... ok test_ignore_case (test.test_re.ReTests) ... ok test_inline_flags (test.test_re.ReTests) ... ok test_non_consuming (test.test_re.ReTests) ... ok test_not_literal (test.test_re.ReTests) ... ok test_pickling (test.test_re.ReTests) ... ok test_qualified_re_split (test.test_re.ReTests) ... ok test_qualified_re_sub (test.test_re.ReTests) ... ok test_re_escape (test.test_re.ReTests) ... ok test_re_findall (test.test_re.ReTests) ... ok test_re_groupref (test.test_re.ReTests) ... ok test_re_groupref_exists (test.test_re.ReTests) ... ok test_re_match (test.test_re.ReTests) ... ok test_re_split (test.test_re.ReTests) ... ok test_re_subn (test.test_re.ReTests) ... ok test_repeat_minmax (test.test_re.ReTests) ... ok test_scanner (test.test_re.ReTests) ... ok test_search_coverage (test.test_re.ReTests) ... ok test_search_star_plus (test.test_re.ReTests) ... ok test_special_escapes (test.test_re.ReTests) ... ok test_sre_character_class_literals (test.test_re.ReTests) ... ok test_sre_character_literals (test.test_re.ReTests) ... ok test_stack_overflow (test.test_re.ReTests) ... ok test_sub_template_numeric_escape (test.test_re.ReTests) ... ok test_symbolic_refs (test.test_re.ReTests) ... ok test_weakref (test.test_re.ReTests) ... ok ---------------------------------------------------------------------- Ran 60 tests in 0.090s OK Running re_tests test suite test_readline testHistoryUpdates (test.test_readline.TestHistoryManipulation) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_repr test_buffer (test.test_repr.ReprTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_repr.py:177: DeprecationWarning: buffer() not supported in 3.x x = buffer('foo') ok test_builtin_function (test.test_repr.ReprTests) ... ok test_cell (test.test_repr.ReprTests) ... ok test_container (test.test_repr.ReprTests) ... ok test_descriptors (test.test_repr.ReprTests) ... ok test_file (test.test_repr.ReprTests) ... ok test_instance (test.test_repr.ReprTests) ... ok test_lambda (test.test_repr.ReprTests) ... ok test_nesting (test.test_repr.ReprTests) ... ok test_numbers (test.test_repr.ReprTests) ... ok test_string (test.test_repr.ReprTests) ... ok test_tuple (test.test_repr.ReprTests) ... ok test_unsortable (test.test_repr.ReprTests) ... ok test_xrange (test.test_repr.ReprTests) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.002s OK test_builtin_function (test.test_repr.LongReprTest) ... ok test_class (test.test_repr.LongReprTest) ... ok test_instance (test.test_repr.LongReprTest) ... ok test_method (test.test_repr.LongReprTest) ... ok test_module (test.test_repr.LongReprTest) ... ok test_object (test.test_repr.LongReprTest) ... ok test_type (test.test_repr.LongReprTest) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.005s OK test_resource test_args (test.test_resource.ResourceTest) ... ok test_fsize_enforced (test.test_resource.ResourceTest) ... ok test_fsize_ismax (test.test_resource.ResourceTest) ... ok test_fsize_toobig (test.test_resource.ResourceTest) ... ok test_getrusage (test.test_resource.ResourceTest) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.000s OK test_rfc822 test_2getaddrlist (test.test_rfc822.MessageTestCase) ... ok test_addr_ipquad (test.test_rfc822.MessageTestCase) ... ok test_basic (test.test_rfc822.MessageTestCase) ... ok test_bogus_to_header (test.test_rfc822.MessageTestCase) ... ok test_commas_in_full_name (test.test_rfc822.MessageTestCase) ... ok test_doublecomment (test.test_rfc822.MessageTestCase) ... ok test_get (test.test_rfc822.MessageTestCase) ... ok test_iter (test.test_rfc822.MessageTestCase) ... ok test_parseaddr (test.test_rfc822.MessageTestCase) ... ok test_quote_unquote (test.test_rfc822.MessageTestCase) ... ok test_quoted_name (test.test_rfc822.MessageTestCase) ... ok test_rfc2822_phrases (test.test_rfc822.MessageTestCase) ... ok test_setdefault (test.test_rfc822.MessageTestCase) ... ok test_twisted (test.test_rfc822.MessageTestCase) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.004s OK test_richcmp test_mixed (test.test_richcmp.VectorTest) ... ok test_basic (test.test_richcmp.NumberTest) ... ok test_values (test.test_richcmp.NumberTest) ... ok test_misbehavin (test.test_richcmp.MiscTest) ... ok test_not (test.test_richcmp.MiscTest) ... ok test_recursion (test.test_richcmp.MiscTest) ... ok test_dicts (test.test_richcmp.DictTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_richcmp.py:88: DeprecationWarning: dict inequality comparisons not supported in 3.x "lt": (lambda a,b: a< b, operator.lt, operator.__lt__), /home/exarkun/Projects/python/trunk/Lib/unittest/case.py:405: DeprecationWarning: dict inequality comparisons not supported in 3.x callableObj(*args, **kwargs) /home/exarkun/Projects/python/trunk/Lib/test/test_richcmp.py:89: DeprecationWarning: dict inequality comparisons not supported in 3.x "le": (lambda a,b: a<=b, operator.le, operator.__le__), /home/exarkun/Projects/python/trunk/Lib/test/test_richcmp.py:92: DeprecationWarning: dict inequality comparisons not supported in 3.x "gt": (lambda a,b: a> b, operator.gt, operator.__gt__), /home/exarkun/Projects/python/trunk/Lib/test/test_richcmp.py:93: DeprecationWarning: dict inequality comparisons not supported in 3.x "ge": (lambda a,b: a>=b, operator.ge, operator.__ge__) ok test_badentry (test.test_richcmp.ListTest) ... ok test_coverage (test.test_richcmp.ListTest) ... ok test_goodentry (test.test_richcmp.ListTest) ... ok ---------------------------------------------------------------------- Ran 10 tests in 0.010s OK test_robotparser RobotTest(1, good, /) ... ok RobotTest(1, good, /test.html) ... ok RobotTest(1, bad, /cyberworld/map/index.html) ... ok RobotTest(1, bad, /tmp/xxx) ... ok RobotTest(1, bad, /foo.html) ... ok RobotTest(2, good, /) ... ok RobotTest(2, good, /test.html) ... ok RobotTest(2, good, ('cybermapper', '/cyberworld/map/index.html')) ... ok RobotTest(2, bad, /cyberworld/map/index.html) ... ok RobotTest(3, bad, /cyberworld/map/index.html) ... ok RobotTest(3, bad, /) ... ok RobotTest(3, bad, /tmp/) ... ok RobotTest(4, bad, /tmp) ... ok RobotTest(4, bad, /tmp.html) ... ok RobotTest(4, bad, /tmp/a.html) ... ok RobotTest(4, bad, /a%3cd.html) ... ok RobotTest(4, bad, /a%3Cd.html) ... ok RobotTest(4, bad, /a%2fb.html) ... ok RobotTest(4, bad, /~joe/index.html) ... ok RobotTest(5, bad, /tmp) ... ok RobotTest(5, bad, /tmp.html) ... ok RobotTest(5, bad, /tmp/a.html) ... ok RobotTest(5, bad, /a%3cd.html) ... ok RobotTest(5, bad, /a%3Cd.html) ... ok RobotTest(5, bad, /a%2fb.html) ... ok RobotTest(5, bad, /~joe/index.html) ... ok RobotTest(6, good, /tmp) ... ok RobotTest(6, bad, /tmp/) ... ok RobotTest(6, bad, /tmp/a.html) ... ok RobotTest(6, bad, /a%3cd.html) ... ok RobotTest(6, bad, /a%3Cd.html) ... ok RobotTest(6, bad, /a/b.html) ... ok RobotTest(6, bad, /%7Ejoe/index.html) ... ok RobotTest(7, good, /foo.html) ... ok RobotTest(8, good, /folder1/myfile.html) ... ok RobotTest(8, bad, /folder1/anotherfile.html) ... ok RobotTest(9, bad, /something.jpg) ... ok RobotTest(10, bad, /something.jpg) ... ok RobotTest(11, bad, /something.jpg) ... ok RobotTest(12, good, /something.jpg) ... ok RobotTest(13, good, /folder1/myfile.html) ... ok RobotTest(13, bad, /folder1/anotherfile.html) ... ok ---------------------------------------------------------------------- Ran 42 tests in 0.002s OK test_runpy test_run_code (test.test_runpy.RunModuleCodeTest) ... ok test_run_module_code (test.test_runpy.RunModuleCodeTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK test_explicit_relative_import (test.test_runpy.RunModuleTest) ... Testing relative imports at depth: 2 Package tree in: /tmp/tmp3T2D0f Updated sys.path: /tmp/tmp3T2D0f Next level in: /tmp/tmp3T2D0f/__runpy_pkg__ Created: /tmp/tmp3T2D0f/__runpy_pkg__/__init__.py Next level in: /tmp/tmp3T2D0f/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmp3T2D0f/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmp3T2D0f/__runpy_pkg__/__runpy_pkg__/runpy_test.py Added sibling module: /tmp/tmp3T2D0f/__runpy_pkg__/__runpy_pkg__/sibling.py Added uncle package: /tmp/tmp3T2D0f/__runpy_pkg__/uncle Added cousin package: /tmp/tmp3T2D0f/__runpy_pkg__/uncle/cousin Added nephew module: /tmp/tmp3T2D0f/__runpy_pkg__/uncle/cousin/nephew.py Running from source: __runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully Testing relative imports at depth: 3 Package tree in: /tmp/tmpF1RubW Updated sys.path: /tmp/tmpF1RubW Next level in: /tmp/tmpF1RubW/__runpy_pkg__ Created: /tmp/tmpF1RubW/__runpy_pkg__/__init__.py Next level in: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/__init__.py Next level in: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/runpy_test.py Added sibling module: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/sibling.py Added uncle package: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/uncle Added cousin package: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/uncle/cousin Added nephew module: /tmp/tmpF1RubW/__runpy_pkg__/__runpy_pkg__/uncle/cousin/nephew.py Running from source: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully Testing relative imports at depth: 4 Package tree in: /tmp/tmpfnNUNV Updated sys.path: /tmp/tmpfnNUNV Next level in: /tmp/tmpfnNUNV/__runpy_pkg__ Created: /tmp/tmpfnNUNV/__runpy_pkg__/__init__.py Next level in: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__init__.py Next level in: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__init__.py Next level in: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/runpy_test.py Added sibling module: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/sibling.py Added uncle package: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/uncle Added cousin package: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/uncle/cousin Added nephew module: /tmp/tmpfnNUNV/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/uncle/cousin/nephew.py Running from source: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully ok test_invalid_names (test.test_runpy.RunModuleTest) ... ok test_library_module (test.test_runpy.RunModuleTest) ... ok test_main_relative_import (test.test_runpy.RunModuleTest) ... Testing main relative imports at depth: 2 Package tree in: /tmp/tmp5GjjYr Updated sys.path: /tmp/tmp5GjjYr Next level in: /tmp/tmp5GjjYr/__runpy_pkg__ Created: /tmp/tmp5GjjYr/__runpy_pkg__/__init__.py Next level in: /tmp/tmp5GjjYr/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmp5GjjYr/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmp5GjjYr/__runpy_pkg__/__runpy_pkg__/runpy_test.py Added sibling module: /tmp/tmp5GjjYr/__runpy_pkg__/__runpy_pkg__/sibling.py Added uncle package: /tmp/tmp5GjjYr/__runpy_pkg__/uncle Added cousin package: /tmp/tmp5GjjYr/__runpy_pkg__/uncle/cousin Added nephew module: /tmp/tmp5GjjYr/__runpy_pkg__/uncle/cousin/nephew.py Running from source: __runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully Testing main relative imports at depth: 3 Package tree in: /tmp/tmpTPyGW3 Updated sys.path: /tmp/tmpTPyGW3 Next level in: /tmp/tmpTPyGW3/__runpy_pkg__ Created: /tmp/tmpTPyGW3/__runpy_pkg__/__init__.py Next level in: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/__init__.py Next level in: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/runpy_test.py Added sibling module: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/sibling.py Added uncle package: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/uncle Added cousin package: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/uncle/cousin Added nephew module: /tmp/tmpTPyGW3/__runpy_pkg__/__runpy_pkg__/uncle/cousin/nephew.py Running from source: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully Testing main relative imports at depth: 4 Package tree in: /tmp/tmpP2blVQ Updated sys.path: /tmp/tmpP2blVQ Next level in: /tmp/tmpP2blVQ/__runpy_pkg__ Created: /tmp/tmpP2blVQ/__runpy_pkg__/__init__.py Next level in: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__init__.py Next level in: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__init__.py Next level in: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/runpy_test.py Added sibling module: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/sibling.py Added uncle package: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/uncle Added cousin package: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/uncle/cousin Added nephew module: /tmp/tmpP2blVQ/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/uncle/cousin/nephew.py Running from source: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully ok test_run_module (test.test_runpy.RunModuleTest) ... Testing package depth: 0 Package tree in: /tmp/tmp2rY0Bu Updated sys.path: /tmp/tmp2rY0Bu Created: /tmp/tmp2rY0Bu/runpy_test.py Running from source: runpy_test Running from compiled: runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully Testing package depth: 1 Package tree in: /tmp/tmpXSdhj9 Updated sys.path: /tmp/tmpXSdhj9 Next level in: /tmp/tmpXSdhj9/__runpy_pkg__ Created: /tmp/tmpXSdhj9/__runpy_pkg__/__init__.py Created: /tmp/tmpXSdhj9/__runpy_pkg__/runpy_test.py Running from source: __runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully Testing package depth: 2 Package tree in: /tmp/tmpy_pqnR Updated sys.path: /tmp/tmpy_pqnR Next level in: /tmp/tmpy_pqnR/__runpy_pkg__ Created: /tmp/tmpy_pqnR/__runpy_pkg__/__init__.py Next level in: /tmp/tmpy_pqnR/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpy_pqnR/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmpy_pqnR/__runpy_pkg__/__runpy_pkg__/runpy_test.py Running from source: __runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully Testing package depth: 3 Package tree in: /tmp/tmpokONFC Updated sys.path: /tmp/tmpokONFC Next level in: /tmp/tmpokONFC/__runpy_pkg__ Created: /tmp/tmpokONFC/__runpy_pkg__/__init__.py Next level in: /tmp/tmpokONFC/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpokONFC/__runpy_pkg__/__runpy_pkg__/__init__.py Next level in: /tmp/tmpokONFC/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__ Created: /tmp/tmpokONFC/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/__init__.py Created: /tmp/tmpokONFC/__runpy_pkg__/__runpy_pkg__/__runpy_pkg__/runpy_test.py Running from source: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Running from compiled: __runpy_pkg__.__runpy_pkg__.__runpy_pkg__.runpy_test Removed sys.modules entries Removed sys.path entry Removed package tree Module executed successfully ok ---------------------------------------------------------------------- Ran 5 tests in 0.036s OK test_sax test_make_parser2 (test.test_sax.MakeParserTest) ... ok test_double_quoteattr (test.test_sax.SaxutilsTest) ... ok test_escape_all (test.test_sax.SaxutilsTest) ... ok test_escape_basic (test.test_sax.SaxutilsTest) ... ok test_escape_extra (test.test_sax.SaxutilsTest) ... ok test_make_parser (test.test_sax.SaxutilsTest) ... ok test_quoteattr_basic (test.test_sax.SaxutilsTest) ... ok test_single_double_quoteattr (test.test_sax.SaxutilsTest) ... ok test_single_quoteattr (test.test_sax.SaxutilsTest) ... ok test_unescape_all (test.test_sax.SaxutilsTest) ... ok test_unescape_amp_extra (test.test_sax.SaxutilsTest) ... ok test_unescape_basic (test.test_sax.SaxutilsTest) ... ok test_unescape_extra (test.test_sax.SaxutilsTest) ... ok test_1463026_1 (test.test_sax.XmlgenTest) ... ok test_1463026_2 (test.test_sax.XmlgenTest) ... ok test_1463026_3 (test.test_sax.XmlgenTest) ... ok test_xmlgen_attr_escape (test.test_sax.XmlgenTest) ... ok test_xmlgen_basic (test.test_sax.XmlgenTest) ... ok test_xmlgen_content (test.test_sax.XmlgenTest) ... ok test_xmlgen_content_escape (test.test_sax.XmlgenTest) ... ok test_xmlgen_ignorable (test.test_sax.XmlgenTest) ... ok test_xmlgen_ns (test.test_sax.XmlgenTest) ... ok test_xmlgen_pi (test.test_sax.XmlgenTest) ... ok test_expat_attrs_empty (test.test_sax.ExpatReaderTest) ... ok test_expat_attrs_wattr (test.test_sax.ExpatReaderTest) ... ok test_expat_dtdhandler (test.test_sax.ExpatReaderTest) ... ok test_expat_entityresolver (test.test_sax.ExpatReaderTest) ... ok test_expat_file (test.test_sax.ExpatReaderTest) ... ok test_expat_incremental (test.test_sax.ExpatReaderTest) ... ok test_expat_incremental_reset (test.test_sax.ExpatReaderTest) ... ok test_expat_inpsource_filename (test.test_sax.ExpatReaderTest) ... ok test_expat_inpsource_stream (test.test_sax.ExpatReaderTest) ... ok test_expat_inpsource_sysid (test.test_sax.ExpatReaderTest) ... ok test_expat_locator_noinfo (test.test_sax.ExpatReaderTest) ... ok test_expat_locator_withinfo (test.test_sax.ExpatReaderTest) ... ok test_expat_nsattrs_empty (test.test_sax.ExpatReaderTest) ... ok test_expat_nsattrs_wattr (test.test_sax.ExpatReaderTest) ... ok test_expat_incomplete (test.test_sax.ErrorReportingTest) ... ok test_expat_inpsource_location (test.test_sax.ErrorReportingTest) ... ok test_sax_parse_exception_str (test.test_sax.ErrorReportingTest) ... ok test_attrs_empty (test.test_sax.XmlReaderTest) ... ok test_attrs_wattr (test.test_sax.XmlReaderTest) ... ok test_nsattrs_empty (test.test_sax.XmlReaderTest) ... ok test_nsattrs_wattr (test.test_sax.XmlReaderTest) ... ok test_sf_1511497 (test.test_sax.XmlReaderTest) ... ok test_sf_1513611 (test.test_sax.XmlReaderTest) ... ok ---------------------------------------------------------------------- Ran 46 tests in 0.017s OK test_scope testBoundAndFree (test.test_scope.ScopeTests) ... ok testClassAndGlobal (test.test_scope.ScopeTests) ... ok testComplexDefinitions (test.test_scope.ScopeTests) ... ok testEvalExecFreeVars (test.test_scope.ScopeTests) ... ok testEvalFreeVars (test.test_scope.ScopeTests) ... ok testExtraNesting (test.test_scope.ScopeTests) ... ok testFreeVarInMethod (test.test_scope.ScopeTests) ... ok testFreeingCell (test.test_scope.ScopeTests) ... ok testGlobalInParallelNestedFunctions (test.test_scope.ScopeTests) ... ok testInteractionWithTraceFunc (test.test_scope.ScopeTests) ... ok testLambdas (test.test_scope.ScopeTests) ... ok testLeaks (test.test_scope.ScopeTests) ... ok testListCompLocalVars (test.test_scope.ScopeTests) ... ok testLocalsClass (test.test_scope.ScopeTests) ... ok testLocalsClass_WithTrace (test.test_scope.ScopeTests) ... ok testLocalsFunction (test.test_scope.ScopeTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_scope.py:474: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(d.has_key('h')) ok testMixedFreevarsAndCellvars (test.test_scope.ScopeTests) ... ok testNearestEnclosingScope (test.test_scope.ScopeTests) ... ok testNestingGlobalNoFree (test.test_scope.ScopeTests) ... ok testNestingPlusFreeRefToGlobal (test.test_scope.ScopeTests) ... ok testNestingThroughClass (test.test_scope.ScopeTests) ... ok testRecursion (test.test_scope.ScopeTests) ... ok testScopeOfGlobalStmt (test.test_scope.ScopeTests) ... ok testSimpleAndRebinding (test.test_scope.ScopeTests) ... ok testSimpleNesting (test.test_scope.ScopeTests) ... ok testUnboundLocal (test.test_scope.ScopeTests) ... ok testUnoptimizedNamespaces (test.test_scope.ScopeTests) ... ok ---------------------------------------------------------------------- Ran 27 tests in 0.003s OK test_scriptpackages test_scriptpackages skipped -- No module named aetools test_select test_error_conditions (test.test_select.SelectTestCase) ... ok test_select (test.test_select.SelectTestCase) ... timeout = 0 timeout = 1 'testing...\n' timeout = 2 'testing...\n' timeout = 4 'testing...\n' timeout = 8 'testing...\n' timeout = 16 'testing...\n' timeout = None 'testing...\n' timeout = None 'testing...\n' timeout = None 'testing...\n' timeout = None 'testing...\n' timeout = None 'testing...\n' timeout = None '' EOF ok ---------------------------------------------------------------------- Ran 2 tests in 10.031s OK test_set test_add (test.test_set.TestSet) ... ok test_and (test.test_set.TestSet) ... ok test_badcmp (test.test_set.TestSet) ... ok test_clear (test.test_set.TestSet) ... ok test_compare (test.test_set.TestSet) ... ok test_constructor_identity (test.test_set.TestSet) ... ok test_container_iterator (test.test_set.TestSet) ... ok test_contains (test.test_set.TestSet) ... ok test_copy (test.test_set.TestSet) ... ok test_cyclical_print (test.test_set.TestSet) ... ok test_cyclical_repr (test.test_set.TestSet) ... ok test_deepcopy (test.test_set.TestSet) ... ok test_difference (test.test_set.TestSet) ... ok test_difference_update (test.test_set.TestSet) ... ok test_discard (test.test_set.TestSet) ... ok test_do_not_rehash_dict_keys (test.test_set.TestSet) ... ok test_equality (test.test_set.TestSet) ... ok test_gc (test.test_set.TestSet) ... ok test_hash (test.test_set.TestSet) ... ok test_iand (test.test_set.TestSet) ... ok test_init (test.test_set.TestSet) ... ok test_inplace_on_self (test.test_set.TestSet) ... ok test_intersection (test.test_set.TestSet) ... ok test_intersection_update (test.test_set.TestSet) ... ok test_ior (test.test_set.TestSet) ... ok test_isdisjoint (test.test_set.TestSet) ... ok test_isub (test.test_set.TestSet) ... ok test_ixor (test.test_set.TestSet) ... ok test_len (test.test_set.TestSet) ... ok test_new_or_init (test.test_set.TestSet) ... ok test_or (test.test_set.TestSet) ... ok test_pickling (test.test_set.TestSet) ... ok test_pop (test.test_set.TestSet) ... ok test_remove (test.test_set.TestSet) ... ok test_remove_keyerror_set (test.test_set.TestSet) ... ok test_remove_keyerror_unpacking (test.test_set.TestSet) ... ok test_setOfFrozensets (test.test_set.TestSet) ... ok test_sub (test.test_set.TestSet) ... ok test_sub_and_super (test.test_set.TestSet) ... ok test_subclass_with_custom_hash (test.test_set.TestSet) ... ok test_symmetric_difference (test.test_set.TestSet) ... ok test_symmetric_difference_update (test.test_set.TestSet) ... ok test_union (test.test_set.TestSet) ... ok test_uniquification (test.test_set.TestSet) ... ok test_update (test.test_set.TestSet) ... ok test_weakref (test.test_set.TestSet) ... ok test_xor (test.test_set.TestSet) ... ok test_add (test.test_set.TestSetSubclass) ... ok test_and (test.test_set.TestSetSubclass) ... ok test_badcmp (test.test_set.TestSetSubclass) ... ok test_clear (test.test_set.TestSetSubclass) ... ok test_compare (test.test_set.TestSetSubclass) ... ok test_constructor_identity (test.test_set.TestSetSubclass) ... ok test_container_iterator (test.test_set.TestSetSubclass) ... ok test_contains (test.test_set.TestSetSubclass) ... ok test_copy (test.test_set.TestSetSubclass) ... ok test_cyclical_print (test.test_set.TestSetSubclass) ... ok test_cyclical_repr (test.test_set.TestSetSubclass) ... ok test_deepcopy (test.test_set.TestSetSubclass) ... ok test_difference (test.test_set.TestSetSubclass) ... ok test_difference_update (test.test_set.TestSetSubclass) ... ok test_discard (test.test_set.TestSetSubclass) ... ok test_do_not_rehash_dict_keys (test.test_set.TestSetSubclass) ... ok test_equality (test.test_set.TestSetSubclass) ... ok test_gc (test.test_set.TestSetSubclass) ... ok test_hash (test.test_set.TestSetSubclass) ... ok test_iand (test.test_set.TestSetSubclass) ... ok test_init (test.test_set.TestSetSubclass) ... ok test_inplace_on_self (test.test_set.TestSetSubclass) ... ok test_intersection (test.test_set.TestSetSubclass) ... ok test_intersection_update (test.test_set.TestSetSubclass) ... ok test_ior (test.test_set.TestSetSubclass) ... ok test_isdisjoint (test.test_set.TestSetSubclass) ... ok test_isub (test.test_set.TestSetSubclass) ... ok test_ixor (test.test_set.TestSetSubclass) ... ok test_len (test.test_set.TestSetSubclass) ... ok test_new_or_init (test.test_set.TestSetSubclass) ... ok test_or (test.test_set.TestSetSubclass) ... ok test_pickling (test.test_set.TestSetSubclass) ... ok test_pop (test.test_set.TestSetSubclass) ... ok test_remove (test.test_set.TestSetSubclass) ... ok test_remove_keyerror_set (test.test_set.TestSetSubclass) ... ok test_remove_keyerror_unpacking (test.test_set.TestSetSubclass) ... ok test_setOfFrozensets (test.test_set.TestSetSubclass) ... ok test_sub (test.test_set.TestSetSubclass) ... ok test_sub_and_super (test.test_set.TestSetSubclass) ... ok test_subclass_with_custom_hash (test.test_set.TestSetSubclass) ... ok test_symmetric_difference (test.test_set.TestSetSubclass) ... ok test_symmetric_difference_update (test.test_set.TestSetSubclass) ... ok test_union (test.test_set.TestSetSubclass) ... ok test_uniquification (test.test_set.TestSetSubclass) ... ok test_update (test.test_set.TestSetSubclass) ... ok test_weakref (test.test_set.TestSetSubclass) ... ok test_xor (test.test_set.TestSetSubclass) ... ok test_add (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_and (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_badcmp (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_clear (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_compare (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_constructor_identity (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_container_iterator (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_contains (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_copy (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_cyclical_print (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_cyclical_repr (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_deepcopy (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_difference (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_difference_update (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_discard (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_do_not_rehash_dict_keys (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_equality (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_gc (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_hash (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_iand (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_init (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_inplace_on_self (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_intersection (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_intersection_update (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_ior (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_isdisjoint (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_isub (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_ixor (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_keywords_in_subclass (test.test_set.TestSetSubclassWithKeywordArgs) SF bug #1486663 -- this used to erroneously raise a TypeError ... ok test_len (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_new_or_init (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_or (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_pickling (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_pop (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_remove (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_remove_keyerror_set (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_remove_keyerror_unpacking (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_setOfFrozensets (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_sub (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_sub_and_super (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_subclass_with_custom_hash (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_symmetric_difference (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_symmetric_difference_update (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_union (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_uniquification (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_update (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_weakref (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_xor (test.test_set.TestSetSubclassWithKeywordArgs) ... ok test_and (test.test_set.TestFrozenSet) ... ok test_badcmp (test.test_set.TestFrozenSet) ... ok test_compare (test.test_set.TestFrozenSet) ... ok test_constructor_identity (test.test_set.TestFrozenSet) ... ok test_container_iterator (test.test_set.TestFrozenSet) ... ok test_contains (test.test_set.TestFrozenSet) ... ok test_copy (test.test_set.TestFrozenSet) ... ok test_cyclical_print (test.test_set.TestFrozenSet) ... ok test_cyclical_repr (test.test_set.TestFrozenSet) ... ok test_deepcopy (test.test_set.TestFrozenSet) ... ok test_difference (test.test_set.TestFrozenSet) ... ok test_do_not_rehash_dict_keys (test.test_set.TestFrozenSet) ... ok test_equality (test.test_set.TestFrozenSet) ... ok test_frozen_as_dictkey (test.test_set.TestFrozenSet) ... ok test_gc (test.test_set.TestFrozenSet) ... ok test_hash (test.test_set.TestFrozenSet) ... ok test_hash_caching (test.test_set.TestFrozenSet) ... ok test_hash_effectiveness (test.test_set.TestFrozenSet) ... ok test_init (test.test_set.TestFrozenSet) ... ok test_intersection (test.test_set.TestFrozenSet) ... ok test_isdisjoint (test.test_set.TestFrozenSet) ... ok test_len (test.test_set.TestFrozenSet) ... ok test_new_or_init (test.test_set.TestFrozenSet) ... ok test_or (test.test_set.TestFrozenSet) ... ok test_pickling (test.test_set.TestFrozenSet) ... ok test_setOfFrozensets (test.test_set.TestFrozenSet) ... ok test_singleton_empty_frozenset (test.test_set.TestFrozenSet) ... ok test_sub (test.test_set.TestFrozenSet) ... ok test_sub_and_super (test.test_set.TestFrozenSet) ... ok test_subclass_with_custom_hash (test.test_set.TestFrozenSet) ... ok test_symmetric_difference (test.test_set.TestFrozenSet) ... ok test_union (test.test_set.TestFrozenSet) ... ok test_uniquification (test.test_set.TestFrozenSet) ... ok test_xor (test.test_set.TestFrozenSet) ... ok test_and (test.test_set.TestFrozenSetSubclass) ... ok test_badcmp (test.test_set.TestFrozenSetSubclass) ... ok test_compare (test.test_set.TestFrozenSetSubclass) ... ok test_constructor_identity (test.test_set.TestFrozenSetSubclass) ... ok test_container_iterator (test.test_set.TestFrozenSetSubclass) ... ok test_contains (test.test_set.TestFrozenSetSubclass) ... ok test_copy (test.test_set.TestFrozenSetSubclass) ... ok test_cyclical_print (test.test_set.TestFrozenSetSubclass) ... ok test_cyclical_repr (test.test_set.TestFrozenSetSubclass) ... ok test_deepcopy (test.test_set.TestFrozenSetSubclass) ... ok test_difference (test.test_set.TestFrozenSetSubclass) ... ok test_do_not_rehash_dict_keys (test.test_set.TestFrozenSetSubclass) ... ok test_equality (test.test_set.TestFrozenSetSubclass) ... ok test_frozen_as_dictkey (test.test_set.TestFrozenSetSubclass) ... ok test_gc (test.test_set.TestFrozenSetSubclass) ... ok test_hash (test.test_set.TestFrozenSetSubclass) ... ok test_hash_caching (test.test_set.TestFrozenSetSubclass) ... ok test_hash_effectiveness (test.test_set.TestFrozenSetSubclass) ... ok test_init (test.test_set.TestFrozenSetSubclass) ... ok test_intersection (test.test_set.TestFrozenSetSubclass) ... ok test_isdisjoint (test.test_set.TestFrozenSetSubclass) ... ok test_len (test.test_set.TestFrozenSetSubclass) ... ok test_nested_empty_constructor (test.test_set.TestFrozenSetSubclass) ... ok test_new_or_init (test.test_set.TestFrozenSetSubclass) ... ok test_or (test.test_set.TestFrozenSetSubclass) ... ok test_pickling (test.test_set.TestFrozenSetSubclass) ... ok test_setOfFrozensets (test.test_set.TestFrozenSetSubclass) ... ok test_singleton_empty_frozenset (test.test_set.TestFrozenSetSubclass) ... ok test_sub (test.test_set.TestFrozenSetSubclass) ... ok test_sub_and_super (test.test_set.TestFrozenSetSubclass) ... ok test_subclass_with_custom_hash (test.test_set.TestFrozenSetSubclass) ... ok test_symmetric_difference (test.test_set.TestFrozenSetSubclass) ... ok test_union (test.test_set.TestFrozenSetSubclass) ... ok test_uniquification (test.test_set.TestFrozenSetSubclass) ... ok test_xor (test.test_set.TestFrozenSetSubclass) ... ok test_constructor (test.test_set.TestSetOfSets) ... ok test_changingSizeWhileIterating (test.test_set.TestExceptionPropagation) ... ok test_instanceWithException (test.test_set.TestExceptionPropagation) ... ok test_instancesWithoutException (test.test_set.TestExceptionPropagation) ... ok test_copy (test.test_set.TestBasicOpsEmpty) ... ok test_empty_difference (test.test_set.TestBasicOpsEmpty) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsEmpty) ... ok test_empty_intersection (test.test_set.TestBasicOpsEmpty) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsEmpty) ... ok test_empty_union (test.test_set.TestBasicOpsEmpty) ... ok test_equivalent_equality (test.test_set.TestBasicOpsEmpty) ... ok test_intersection_empty (test.test_set.TestBasicOpsEmpty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsEmpty) ... ok test_iteration (test.test_set.TestBasicOpsEmpty) ... ok test_length (test.test_set.TestBasicOpsEmpty) ... ok test_pickling (test.test_set.TestBasicOpsEmpty) ... ok test_print (test.test_set.TestBasicOpsEmpty) ... ok test_repr (test.test_set.TestBasicOpsEmpty) ... ok test_self_difference (test.test_set.TestBasicOpsEmpty) ... ok test_self_equality (test.test_set.TestBasicOpsEmpty) ... ok test_self_intersection (test.test_set.TestBasicOpsEmpty) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsEmpty) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsEmpty) ... ok test_self_union (test.test_set.TestBasicOpsEmpty) ... ok test_union_empty (test.test_set.TestBasicOpsEmpty) ... ok test_copy (test.test_set.TestBasicOpsSingleton) ... ok test_empty_difference (test.test_set.TestBasicOpsSingleton) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsSingleton) ... ok test_empty_intersection (test.test_set.TestBasicOpsSingleton) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsSingleton) ... ok test_empty_union (test.test_set.TestBasicOpsSingleton) ... ok test_equivalent_equality (test.test_set.TestBasicOpsSingleton) ... ok test_in (test.test_set.TestBasicOpsSingleton) ... ok test_intersection_empty (test.test_set.TestBasicOpsSingleton) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsSingleton) ... ok test_iteration (test.test_set.TestBasicOpsSingleton) ... ok test_length (test.test_set.TestBasicOpsSingleton) ... ok test_not_in (test.test_set.TestBasicOpsSingleton) ... ok test_pickling (test.test_set.TestBasicOpsSingleton) ... ok test_print (test.test_set.TestBasicOpsSingleton) ... ok test_repr (test.test_set.TestBasicOpsSingleton) ... ok test_self_difference (test.test_set.TestBasicOpsSingleton) ... ok test_self_equality (test.test_set.TestBasicOpsSingleton) ... ok test_self_intersection (test.test_set.TestBasicOpsSingleton) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsSingleton) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsSingleton) ... ok test_self_union (test.test_set.TestBasicOpsSingleton) ... ok test_union_empty (test.test_set.TestBasicOpsSingleton) ... ok test_copy (test.test_set.TestBasicOpsTuple) ... ok test_empty_difference (test.test_set.TestBasicOpsTuple) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsTuple) ... ok test_empty_intersection (test.test_set.TestBasicOpsTuple) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsTuple) ... ok test_empty_union (test.test_set.TestBasicOpsTuple) ... ok test_equivalent_equality (test.test_set.TestBasicOpsTuple) ... ok test_in (test.test_set.TestBasicOpsTuple) ... ok test_intersection_empty (test.test_set.TestBasicOpsTuple) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsTuple) ... ok test_iteration (test.test_set.TestBasicOpsTuple) ... ok test_length (test.test_set.TestBasicOpsTuple) ... ok test_not_in (test.test_set.TestBasicOpsTuple) ... ok test_pickling (test.test_set.TestBasicOpsTuple) ... ok test_print (test.test_set.TestBasicOpsTuple) ... ok test_repr (test.test_set.TestBasicOpsTuple) ... ok test_self_difference (test.test_set.TestBasicOpsTuple) ... ok test_self_equality (test.test_set.TestBasicOpsTuple) ... ok test_self_intersection (test.test_set.TestBasicOpsTuple) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsTuple) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsTuple) ... ok test_self_union (test.test_set.TestBasicOpsTuple) ... ok test_union_empty (test.test_set.TestBasicOpsTuple) ... ok test_copy (test.test_set.TestBasicOpsTriple) ... ok test_empty_difference (test.test_set.TestBasicOpsTriple) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsTriple) ... ok test_empty_intersection (test.test_set.TestBasicOpsTriple) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsTriple) ... ok test_empty_union (test.test_set.TestBasicOpsTriple) ... ok test_equivalent_equality (test.test_set.TestBasicOpsTriple) ... ok test_intersection_empty (test.test_set.TestBasicOpsTriple) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsTriple) ... ok test_iteration (test.test_set.TestBasicOpsTriple) ... ok test_length (test.test_set.TestBasicOpsTriple) ... ok test_pickling (test.test_set.TestBasicOpsTriple) ... ok test_print (test.test_set.TestBasicOpsTriple) ... ok test_repr (test.test_set.TestBasicOpsTriple) ... ok test_self_difference (test.test_set.TestBasicOpsTriple) ... ok test_self_equality (test.test_set.TestBasicOpsTriple) ... ok test_self_intersection (test.test_set.TestBasicOpsTriple) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsTriple) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsTriple) ... ok test_self_union (test.test_set.TestBasicOpsTriple) ... ok test_union_empty (test.test_set.TestBasicOpsTriple) ... ok test_cmp (test.test_set.TestBinaryOps) ... ok test_eq (test.test_set.TestBinaryOps) ... ok test_intersection_non_overlap (test.test_set.TestBinaryOps) ... ok test_intersection_overlap (test.test_set.TestBinaryOps) ... ok test_intersection_subset (test.test_set.TestBinaryOps) ... ok test_intersection_superset (test.test_set.TestBinaryOps) ... ok test_isdisjoint_non_overlap (test.test_set.TestBinaryOps) ... ok test_isdisjoint_overlap (test.test_set.TestBinaryOps) ... ok test_isdisjoint_subset (test.test_set.TestBinaryOps) ... ok test_isdisjoint_superset (test.test_set.TestBinaryOps) ... ok test_sym_difference_non_overlap (test.test_set.TestBinaryOps) ... ok test_sym_difference_overlap (test.test_set.TestBinaryOps) ... ok test_sym_difference_subset (test.test_set.TestBinaryOps) ... ok test_sym_difference_superset (test.test_set.TestBinaryOps) ... ok test_union_non_overlap (test.test_set.TestBinaryOps) ... ok test_union_overlap (test.test_set.TestBinaryOps) ... ok test_union_subset (test.test_set.TestBinaryOps) ... ok test_union_superset (test.test_set.TestBinaryOps) ... ok test_difference_method_call (test.test_set.TestUpdateOps) ... ok test_difference_non_overlap (test.test_set.TestUpdateOps) ... ok test_difference_overlap (test.test_set.TestUpdateOps) ... ok test_difference_subset (test.test_set.TestUpdateOps) ... ok test_difference_superset (test.test_set.TestUpdateOps) ... ok test_intersection_method_call (test.test_set.TestUpdateOps) ... ok test_intersection_non_overlap (test.test_set.TestUpdateOps) ... ok test_intersection_overlap (test.test_set.TestUpdateOps) ... ok test_intersection_subset (test.test_set.TestUpdateOps) ... ok test_intersection_superset (test.test_set.TestUpdateOps) ... ok test_sym_difference_method_call (test.test_set.TestUpdateOps) ... ok test_sym_difference_non_overlap (test.test_set.TestUpdateOps) ... ok test_sym_difference_overlap (test.test_set.TestUpdateOps) ... ok test_sym_difference_subset (test.test_set.TestUpdateOps) ... ok test_sym_difference_superset (test.test_set.TestUpdateOps) ... ok test_union_method_call (test.test_set.TestUpdateOps) ... ok test_union_non_overlap (test.test_set.TestUpdateOps) ... ok test_union_overlap (test.test_set.TestUpdateOps) ... ok test_union_subset (test.test_set.TestUpdateOps) ... ok test_union_superset (test.test_set.TestUpdateOps) ... ok test_add_absent (test.test_set.TestMutate) ... ok test_add_present (test.test_set.TestMutate) ... ok test_add_until_full (test.test_set.TestMutate) ... ok test_clear (test.test_set.TestMutate) ... ok test_discard_absent (test.test_set.TestMutate) ... ok test_discard_present (test.test_set.TestMutate) ... ok test_pop (test.test_set.TestMutate) ... ok test_remove_absent (test.test_set.TestMutate) ... ok test_remove_present (test.test_set.TestMutate) ... ok test_remove_until_empty (test.test_set.TestMutate) ... ok test_update_empty_tuple (test.test_set.TestMutate) ... ok test_update_unit_tuple_non_overlap (test.test_set.TestMutate) ... ok test_update_unit_tuple_overlap (test.test_set.TestMutate) ... ok test_issubset (test.test_set.TestSubsetEqualEmpty) ... ok test_issubset (test.test_set.TestSubsetEqualNonEmpty) ... ok test_issubset (test.test_set.TestSubsetEmptyNonEmpty) ... ok test_issubset (test.test_set.TestSubsetPartial) ... ok test_issubset (test.test_set.TestSubsetNonOverlap) ... ok test_difference (test.test_set.TestOnlySetsNumeric) ... ok test_difference_update (test.test_set.TestOnlySetsNumeric) ... ok test_difference_update_operator (test.test_set.TestOnlySetsNumeric) ... ok test_eq_ne (test.test_set.TestOnlySetsNumeric) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsNumeric) ... ok test_intersection (test.test_set.TestOnlySetsNumeric) ... ok test_intersection_update (test.test_set.TestOnlySetsNumeric) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsNumeric) ... ok test_sym_difference (test.test_set.TestOnlySetsNumeric) ... ok test_sym_difference_update (test.test_set.TestOnlySetsNumeric) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsNumeric) ... ok test_union (test.test_set.TestOnlySetsNumeric) ... ok test_update (test.test_set.TestOnlySetsNumeric) ... ok test_update_operator (test.test_set.TestOnlySetsNumeric) ... ok test_difference (test.test_set.TestOnlySetsDict) ... ok test_difference_update (test.test_set.TestOnlySetsDict) ... ok test_difference_update_operator (test.test_set.TestOnlySetsDict) ... ok test_eq_ne (test.test_set.TestOnlySetsDict) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsDict) ... ok test_intersection (test.test_set.TestOnlySetsDict) ... ok test_intersection_update (test.test_set.TestOnlySetsDict) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsDict) ... ok test_sym_difference (test.test_set.TestOnlySetsDict) ... ok test_sym_difference_update (test.test_set.TestOnlySetsDict) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsDict) ... ok test_union (test.test_set.TestOnlySetsDict) ... ok test_update (test.test_set.TestOnlySetsDict) ... ok test_update_operator (test.test_set.TestOnlySetsDict) ... ok test_difference (test.test_set.TestOnlySetsOperator) ... ok test_difference_update (test.test_set.TestOnlySetsOperator) ... ok test_difference_update_operator (test.test_set.TestOnlySetsOperator) ... ok test_eq_ne (test.test_set.TestOnlySetsOperator) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsOperator) ... /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1226: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other < self.set) /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1227: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other <= self.set) /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1228: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other > self.set) /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1229: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other >= self.set) ok test_intersection (test.test_set.TestOnlySetsOperator) ... ok test_intersection_update (test.test_set.TestOnlySetsOperator) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsOperator) ... ok test_sym_difference (test.test_set.TestOnlySetsOperator) ... ok test_sym_difference_update (test.test_set.TestOnlySetsOperator) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsOperator) ... ok test_union (test.test_set.TestOnlySetsOperator) ... ok test_update (test.test_set.TestOnlySetsOperator) ... ok test_update_operator (test.test_set.TestOnlySetsOperator) ... ok test_difference (test.test_set.TestOnlySetsTuple) ... ok test_difference_update (test.test_set.TestOnlySetsTuple) ... ok test_difference_update_operator (test.test_set.TestOnlySetsTuple) ... ok test_eq_ne (test.test_set.TestOnlySetsTuple) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsTuple) ... ok test_intersection (test.test_set.TestOnlySetsTuple) ... ok test_intersection_update (test.test_set.TestOnlySetsTuple) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsTuple) ... ok test_sym_difference (test.test_set.TestOnlySetsTuple) ... ok test_sym_difference_update (test.test_set.TestOnlySetsTuple) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsTuple) ... ok test_union (test.test_set.TestOnlySetsTuple) ... ok test_update (test.test_set.TestOnlySetsTuple) ... ok test_update_operator (test.test_set.TestOnlySetsTuple) ... ok test_difference (test.test_set.TestOnlySetsString) ... ok test_difference_update (test.test_set.TestOnlySetsString) ... ok test_difference_update_operator (test.test_set.TestOnlySetsString) ... ok test_eq_ne (test.test_set.TestOnlySetsString) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsString) ... ok test_intersection (test.test_set.TestOnlySetsString) ... ok test_intersection_update (test.test_set.TestOnlySetsString) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsString) ... ok test_sym_difference (test.test_set.TestOnlySetsString) ... ok test_sym_difference_update (test.test_set.TestOnlySetsString) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsString) ... ok test_union (test.test_set.TestOnlySetsString) ... ok test_update (test.test_set.TestOnlySetsString) ... ok test_update_operator (test.test_set.TestOnlySetsString) ... ok test_difference (test.test_set.TestOnlySetsGenerator) ... ok test_difference_update (test.test_set.TestOnlySetsGenerator) ... ok test_difference_update_operator (test.test_set.TestOnlySetsGenerator) ... ok test_eq_ne (test.test_set.TestOnlySetsGenerator) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsGenerator) ... ok test_intersection (test.test_set.TestOnlySetsGenerator) ... ok test_intersection_update (test.test_set.TestOnlySetsGenerator) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsGenerator) ... ok test_sym_difference (test.test_set.TestOnlySetsGenerator) ... ok test_sym_difference_update (test.test_set.TestOnlySetsGenerator) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsGenerator) ... ok test_union (test.test_set.TestOnlySetsGenerator) ... ok test_update (test.test_set.TestOnlySetsGenerator) ... ok test_update_operator (test.test_set.TestOnlySetsGenerator) ... ok test_copy (test.test_set.TestCopyingEmpty) ... ok test_deep_copy (test.test_set.TestCopyingEmpty) ... ok test_copy (test.test_set.TestCopyingSingleton) ... ok test_deep_copy (test.test_set.TestCopyingSingleton) ... ok test_copy (test.test_set.TestCopyingTriple) ... /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1382: DeprecationWarning: comparing unequal types not supported in 3.x dup_list = list(dup); dup_list.sort() /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1383: DeprecationWarning: comparing unequal types not supported in 3.x set_list = list(self.set); set_list.sort() ok test_deep_copy (test.test_set.TestCopyingTriple) ... /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1391: DeprecationWarning: comparing unequal types not supported in 3.x dup_list = list(dup); dup_list.sort() /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1392: DeprecationWarning: comparing unequal types not supported in 3.x set_list = list(self.set); set_list.sort() ok test_copy (test.test_set.TestCopyingTuple) ... ok test_deep_copy (test.test_set.TestCopyingTuple) ... ok test_copy (test.test_set.TestCopyingNested) ... ok test_deep_copy (test.test_set.TestCopyingNested) ... ok test_binopsVsSubsets (test.test_set.TestIdentities) ... ok test_commutativity (test.test_set.TestIdentities) ... ok test_exclusion (test.test_set.TestIdentities) ... ok test_summations (test.test_set.TestIdentities) ... ok test_constructor (test.test_set.TestVariousIteratorArgs) ... /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1555: DeprecationWarning: comparing unequal types not supported in 3.x self.assertEqual(sorted(cons(g(s))), sorted(g(s))) ok test_inline_methods (test.test_set.TestVariousIteratorArgs) ... /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1570: DeprecationWarning: comparing unequal types not supported in 3.x self.assertEqual(sorted(actual), sorted(expected)) ok test_inplace_methods (test.test_set.TestVariousIteratorArgs) ... /home/exarkun/Projects/python/trunk/Lib/test/test_set.py:1584: DeprecationWarning: comparing unequal types not supported in 3.x self.assertEqual(sorted(s), sorted(t)) ok test_cube (test.test_set.TestGraphs) ... ok test_cuboctahedron (test.test_set.TestGraphs) ... ok ---------------------------------------------------------------------- Ran 462 tests in 0.473s OK test_sets test_constructor (test.test_sets.TestSetOfSets) ... ok test_instanceWithException (test.test_sets.TestExceptionPropagation) ... ok test_instancesWithoutException (test.test_sets.TestExceptionPropagation) ... ok test_copy (test.test_sets.TestBasicOpsEmpty) ... ok test_empty_difference (test.test_sets.TestBasicOpsEmpty) ... ok test_empty_difference_rev (test.test_sets.TestBasicOpsEmpty) ... ok test_empty_intersection (test.test_sets.TestBasicOpsEmpty) ... ok test_empty_union (test.test_sets.TestBasicOpsEmpty) ... ok test_equivalent_equality (test.test_sets.TestBasicOpsEmpty) ... ok test_intersection_empty (test.test_sets.TestBasicOpsEmpty) ... ok test_iteration (test.test_sets.TestBasicOpsEmpty) ... ok test_length (test.test_sets.TestBasicOpsEmpty) ... ok test_pickling (test.test_sets.TestBasicOpsEmpty) ... ok test_repr (test.test_sets.TestBasicOpsEmpty) ... ok test_self_difference (test.test_sets.TestBasicOpsEmpty) ... ok test_self_equality (test.test_sets.TestBasicOpsEmpty) ... ok test_self_intersection (test.test_sets.TestBasicOpsEmpty) ... ok test_self_symmetric_difference (test.test_sets.TestBasicOpsEmpty) ... ok test_self_union (test.test_sets.TestBasicOpsEmpty) ... ok test_union_empty (test.test_sets.TestBasicOpsEmpty) ... ok test_copy (test.test_sets.TestBasicOpsSingleton) ... ok test_empty_difference (test.test_sets.TestBasicOpsSingleton) ... /home/exarkun/Projects/python/trunk/Lib/sets.py:290: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator for elt in ifilterfalse(otherdata.has_key, self): ok test_empty_difference_rev (test.test_sets.TestBasicOpsSingleton) ... ok test_empty_intersection (test.test_sets.TestBasicOpsSingleton) ... ok test_empty_union (test.test_sets.TestBasicOpsSingleton) ... ok test_equivalent_equality (test.test_sets.TestBasicOpsSingleton) ... ok test_in (test.test_sets.TestBasicOpsSingleton) ... ok test_intersection_empty (test.test_sets.TestBasicOpsSingleton) ... ok test_iteration (test.test_sets.TestBasicOpsSingleton) ... ok test_length (test.test_sets.TestBasicOpsSingleton) ... ok test_not_in (test.test_sets.TestBasicOpsSingleton) ... ok test_pickling (test.test_sets.TestBasicOpsSingleton) ... ok test_repr (test.test_sets.TestBasicOpsSingleton) ... ok test_self_difference (test.test_sets.TestBasicOpsSingleton) ... ok test_self_equality (test.test_sets.TestBasicOpsSingleton) ... ok test_self_intersection (test.test_sets.TestBasicOpsSingleton) ... /home/exarkun/Projects/python/trunk/Lib/sets.py:387: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator for element in iterable: ok test_self_symmetric_difference (test.test_sets.TestBasicOpsSingleton) ... /home/exarkun/Projects/python/trunk/Lib/sets.py:263: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator for elt in ifilterfalse(otherdata.has_key, selfdata): /home/exarkun/Projects/python/trunk/Lib/sets.py:265: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator for elt in ifilterfalse(selfdata.has_key, otherdata): ok test_self_union (test.test_sets.TestBasicOpsSingleton) ... ok test_union_empty (test.test_sets.TestBasicOpsSingleton) ... ok test_copy (test.test_sets.TestBasicOpsTuple) ... ok test_empty_difference (test.test_sets.TestBasicOpsTuple) ... ok test_empty_difference_rev (test.test_sets.TestBasicOpsTuple) ... ok test_empty_intersection (test.test_sets.TestBasicOpsTuple) ... ok test_empty_union (test.test_sets.TestBasicOpsTuple) ... ok test_equivalent_equality (test.test_sets.TestBasicOpsTuple) ... ok test_in (test.test_sets.TestBasicOpsTuple) ... ok test_intersection_empty (test.test_sets.TestBasicOpsTuple) ... ok test_iteration (test.test_sets.TestBasicOpsTuple) ... ok test_length (test.test_sets.TestBasicOpsTuple) ... ok test_not_in (test.test_sets.TestBasicOpsTuple) ... ok test_pickling (test.test_sets.TestBasicOpsTuple) ... ok test_repr (test.test_sets.TestBasicOpsTuple) ... ok test_self_difference (test.test_sets.TestBasicOpsTuple) ... ok test_self_equality (test.test_sets.TestBasicOpsTuple) ... ok test_self_intersection (test.test_sets.TestBasicOpsTuple) ... ok test_self_symmetric_difference (test.test_sets.TestBasicOpsTuple) ... ok test_self_union (test.test_sets.TestBasicOpsTuple) ... ok test_union_empty (test.test_sets.TestBasicOpsTuple) ... ok test_copy (test.test_sets.TestBasicOpsTriple) ... ok test_empty_difference (test.test_sets.TestBasicOpsTriple) ... ok test_empty_difference_rev (test.test_sets.TestBasicOpsTriple) ... ok test_empty_intersection (test.test_sets.TestBasicOpsTriple) ... ok test_empty_union (test.test_sets.TestBasicOpsTriple) ... ok test_equivalent_equality (test.test_sets.TestBasicOpsTriple) ... ok test_intersection_empty (test.test_sets.TestBasicOpsTriple) ... ok test_iteration (test.test_sets.TestBasicOpsTriple) ... ok test_length (test.test_sets.TestBasicOpsTriple) ... ok test_pickling (test.test_sets.TestBasicOpsTriple) ... ok test_repr (test.test_sets.TestBasicOpsTriple) ... ok test_self_difference (test.test_sets.TestBasicOpsTriple) ... ok test_self_equality (test.test_sets.TestBasicOpsTriple) ... ok test_self_intersection (test.test_sets.TestBasicOpsTriple) ... ok test_self_symmetric_difference (test.test_sets.TestBasicOpsTriple) ... ok test_self_union (test.test_sets.TestBasicOpsTriple) ... ok test_union_empty (test.test_sets.TestBasicOpsTriple) ... ok test_cmp (test.test_sets.TestBinaryOps) ... ok test_eq (test.test_sets.TestBinaryOps) ... ok test_inplace_on_self (test.test_sets.TestBinaryOps) ... ok test_intersection_non_overlap (test.test_sets.TestBinaryOps) ... ok test_intersection_overlap (test.test_sets.TestBinaryOps) ... ok test_intersection_subset (test.test_sets.TestBinaryOps) ... ok test_intersection_superset (test.test_sets.TestBinaryOps) ... ok test_sym_difference_non_overlap (test.test_sets.TestBinaryOps) ... ok test_sym_difference_overlap (test.test_sets.TestBinaryOps) ... ok test_sym_difference_subset (test.test_sets.TestBinaryOps) ... ok test_sym_difference_superset (test.test_sets.TestBinaryOps) ... ok test_union_non_overlap (test.test_sets.TestBinaryOps) ... ok test_union_overlap (test.test_sets.TestBinaryOps) ... ok test_union_subset (test.test_sets.TestBinaryOps) ... ok test_union_superset (test.test_sets.TestBinaryOps) ... ok test_difference_method_call (test.test_sets.TestUpdateOps) ... /home/exarkun/Projects/python/trunk/Lib/sets.py:506: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator for elt in ifilter(data.has_key, other): ok test_difference_non_overlap (test.test_sets.TestUpdateOps) ... ok test_difference_overlap (test.test_sets.TestUpdateOps) ... ok test_difference_subset (test.test_sets.TestUpdateOps) ... ok test_difference_superset (test.test_sets.TestUpdateOps) ... ok test_intersection_method_call (test.test_sets.TestUpdateOps) ... ok test_intersection_non_overlap (test.test_sets.TestUpdateOps) ... ok test_intersection_overlap (test.test_sets.TestUpdateOps) ... ok test_intersection_subset (test.test_sets.TestUpdateOps) ... ok test_intersection_superset (test.test_sets.TestUpdateOps) ... ok test_sym_difference_method_call (test.test_sets.TestUpdateOps) ... ok test_sym_difference_non_overlap (test.test_sets.TestUpdateOps) ... ok test_sym_difference_overlap (test.test_sets.TestUpdateOps) ... ok test_sym_difference_subset (test.test_sets.TestUpdateOps) ... ok test_sym_difference_superset (test.test_sets.TestUpdateOps) ... ok test_union_method_call (test.test_sets.TestUpdateOps) ... ok test_union_non_overlap (test.test_sets.TestUpdateOps) ... ok test_union_overlap (test.test_sets.TestUpdateOps) ... ok test_union_subset (test.test_sets.TestUpdateOps) ... ok test_union_superset (test.test_sets.TestUpdateOps) ... ok test_add_absent (test.test_sets.TestMutate) ... ok test_add_present (test.test_sets.TestMutate) ... ok test_add_until_full (test.test_sets.TestMutate) ... ok test_clear (test.test_sets.TestMutate) ... ok test_discard_absent (test.test_sets.TestMutate) ... ok test_discard_present (test.test_sets.TestMutate) ... ok test_pop (test.test_sets.TestMutate) ... ok test_remove_absent (test.test_sets.TestMutate) ... ok test_remove_present (test.test_sets.TestMutate) ... ok test_remove_until_empty (test.test_sets.TestMutate) ... ok test_update_empty_tuple (test.test_sets.TestMutate) ... ok test_update_unit_tuple_non_overlap (test.test_sets.TestMutate) ... ok test_update_unit_tuple_overlap (test.test_sets.TestMutate) ... ok test_issubset (test.test_sets.TestSubsetEqualEmpty) ... ok test_issubset (test.test_sets.TestSubsetEqualNonEmpty) ... /home/exarkun/Projects/python/trunk/Lib/sets.py:316: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator for elt in ifilterfalse(other._data.has_key, self): /home/exarkun/Projects/python/trunk/Lib/sets.py:325: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator for elt in ifilterfalse(self._data.has_key, other): ok test_issubset (test.test_sets.TestSubsetEmptyNonEmpty) ... ok test_issubset (test.test_sets.TestSubsetPartial) ... ok test_issubset (test.test_sets.TestSubsetNonOverlap) ... ok test_difference (test.test_sets.TestOnlySetsNumeric) ... ok test_difference_update (test.test_sets.TestOnlySetsNumeric) ... ok test_difference_update_operator (test.test_sets.TestOnlySetsNumeric) ... ok test_eq_ne (test.test_sets.TestOnlySetsNumeric) ... ok test_ge_gt_le_lt (test.test_sets.TestOnlySetsNumeric) ... ok test_intersection (test.test_sets.TestOnlySetsNumeric) ... ok test_intersection_update (test.test_sets.TestOnlySetsNumeric) ... ok test_intersection_update_operator (test.test_sets.TestOnlySetsNumeric) ... ok test_sym_difference (test.test_sets.TestOnlySetsNumeric) ... ok test_sym_difference_update (test.test_sets.TestOnlySetsNumeric) ... ok test_sym_difference_update_operator (test.test_sets.TestOnlySetsNumeric) ... ok test_union (test.test_sets.TestOnlySetsNumeric) ... ok test_union_update (test.test_sets.TestOnlySetsNumeric) ... ok test_union_update_operator (test.test_sets.TestOnlySetsNumeric) ... ok test_difference (test.test_sets.TestOnlySetsDict) ... ok test_difference_update (test.test_sets.TestOnlySetsDict) ... ok test_difference_update_operator (test.test_sets.TestOnlySetsDict) ... ok test_eq_ne (test.test_sets.TestOnlySetsDict) ... ok test_ge_gt_le_lt (test.test_sets.TestOnlySetsDict) ... ok test_intersection (test.test_sets.TestOnlySetsDict) ... ok test_intersection_update (test.test_sets.TestOnlySetsDict) ... ok test_intersection_update_operator (test.test_sets.TestOnlySetsDict) ... ok test_sym_difference (test.test_sets.TestOnlySetsDict) ... ok test_sym_difference_update (test.test_sets.TestOnlySetsDict) ... ok test_sym_difference_update_operator (test.test_sets.TestOnlySetsDict) ... ok test_union (test.test_sets.TestOnlySetsDict) ... ok test_union_update (test.test_sets.TestOnlySetsDict) ... ok test_union_update_operator (test.test_sets.TestOnlySetsDict) ... ok test_difference (test.test_sets.TestOnlySetsOperator) ... ok test_difference_update (test.test_sets.TestOnlySetsOperator) ... ok test_difference_update_operator (test.test_sets.TestOnlySetsOperator) ... ok test_eq_ne (test.test_sets.TestOnlySetsOperator) ... ok test_ge_gt_le_lt (test.test_sets.TestOnlySetsOperator) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:518: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other < self.set) /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:519: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other <= self.set) /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:520: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other > self.set) /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:521: DeprecationWarning: builtin_function_or_method order comparisons not supported in 3.x self.assertRaises(TypeError, lambda: self.other >= self.set) ok test_intersection (test.test_sets.TestOnlySetsOperator) ... ok test_intersection_update (test.test_sets.TestOnlySetsOperator) ... ok test_intersection_update_operator (test.test_sets.TestOnlySetsOperator) ... ok test_sym_difference (test.test_sets.TestOnlySetsOperator) ... ok test_sym_difference_update (test.test_sets.TestOnlySetsOperator) ... ok test_sym_difference_update_operator (test.test_sets.TestOnlySetsOperator) ... ok test_union (test.test_sets.TestOnlySetsOperator) ... ok test_union_update (test.test_sets.TestOnlySetsOperator) ... ok test_union_update_operator (test.test_sets.TestOnlySetsOperator) ... ok test_difference (test.test_sets.TestOnlySetsTuple) ... ok test_difference_update (test.test_sets.TestOnlySetsTuple) ... ok test_difference_update_operator (test.test_sets.TestOnlySetsTuple) ... ok test_eq_ne (test.test_sets.TestOnlySetsTuple) ... ok test_ge_gt_le_lt (test.test_sets.TestOnlySetsTuple) ... ok test_intersection (test.test_sets.TestOnlySetsTuple) ... ok test_intersection_update (test.test_sets.TestOnlySetsTuple) ... ok test_intersection_update_operator (test.test_sets.TestOnlySetsTuple) ... ok test_sym_difference (test.test_sets.TestOnlySetsTuple) ... ok test_sym_difference_update (test.test_sets.TestOnlySetsTuple) ... ok test_sym_difference_update_operator (test.test_sets.TestOnlySetsTuple) ... ok test_union (test.test_sets.TestOnlySetsTuple) ... ok test_union_update (test.test_sets.TestOnlySetsTuple) ... ok test_union_update_operator (test.test_sets.TestOnlySetsTuple) ... ok test_difference (test.test_sets.TestOnlySetsString) ... ok test_difference_update (test.test_sets.TestOnlySetsString) ... ok test_difference_update_operator (test.test_sets.TestOnlySetsString) ... ok test_eq_ne (test.test_sets.TestOnlySetsString) ... ok test_ge_gt_le_lt (test.test_sets.TestOnlySetsString) ... ok test_intersection (test.test_sets.TestOnlySetsString) ... ok test_intersection_update (test.test_sets.TestOnlySetsString) ... ok test_intersection_update_operator (test.test_sets.TestOnlySetsString) ... ok test_sym_difference (test.test_sets.TestOnlySetsString) ... ok test_sym_difference_update (test.test_sets.TestOnlySetsString) ... ok test_sym_difference_update_operator (test.test_sets.TestOnlySetsString) ... ok test_union (test.test_sets.TestOnlySetsString) ... ok test_union_update (test.test_sets.TestOnlySetsString) ... ok test_union_update_operator (test.test_sets.TestOnlySetsString) ... ok test_difference (test.test_sets.TestOnlySetsGenerator) ... ok test_difference_update (test.test_sets.TestOnlySetsGenerator) ... ok test_difference_update_operator (test.test_sets.TestOnlySetsGenerator) ... ok test_eq_ne (test.test_sets.TestOnlySetsGenerator) ... ok test_ge_gt_le_lt (test.test_sets.TestOnlySetsGenerator) ... ok test_intersection (test.test_sets.TestOnlySetsGenerator) ... ok test_intersection_update (test.test_sets.TestOnlySetsGenerator) ... ok test_intersection_update_operator (test.test_sets.TestOnlySetsGenerator) ... ok test_sym_difference (test.test_sets.TestOnlySetsGenerator) ... ok test_sym_difference_update (test.test_sets.TestOnlySetsGenerator) ... ok test_sym_difference_update_operator (test.test_sets.TestOnlySetsGenerator) ... ok test_union (test.test_sets.TestOnlySetsGenerator) ... ok test_union_update (test.test_sets.TestOnlySetsGenerator) ... ok test_union_update_operator (test.test_sets.TestOnlySetsGenerator) ... ok test_difference (test.test_sets.TestOnlySetsofSets) ... ok test_difference_update (test.test_sets.TestOnlySetsofSets) ... ok test_difference_update_operator (test.test_sets.TestOnlySetsofSets) ... ok test_eq_ne (test.test_sets.TestOnlySetsofSets) ... ok test_ge_gt_le_lt (test.test_sets.TestOnlySetsofSets) ... ok test_intersection (test.test_sets.TestOnlySetsofSets) ... ok test_intersection_update (test.test_sets.TestOnlySetsofSets) ... ok test_intersection_update_operator (test.test_sets.TestOnlySetsofSets) ... ok test_sym_difference (test.test_sets.TestOnlySetsofSets) ... ok test_sym_difference_update (test.test_sets.TestOnlySetsofSets) ... ok test_sym_difference_update_operator (test.test_sets.TestOnlySetsofSets) ... ok test_union (test.test_sets.TestOnlySetsofSets) ... ok test_union_update (test.test_sets.TestOnlySetsofSets) ... ok test_union_update_operator (test.test_sets.TestOnlySetsofSets) ... ok test_copy (test.test_sets.TestCopyingEmpty) ... ok test_deep_copy (test.test_sets.TestCopyingEmpty) ... ok test_copy (test.test_sets.TestCopyingSingleton) ... ok test_deep_copy (test.test_sets.TestCopyingSingleton) ... ok test_copy (test.test_sets.TestCopyingTriple) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:682: DeprecationWarning: comparing unequal types not supported in 3.x dup_list = list(dup); dup_list.sort() /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:683: DeprecationWarning: comparing unequal types not supported in 3.x set_list = list(self.set); set_list.sort() ok test_deep_copy (test.test_sets.TestCopyingTriple) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:691: DeprecationWarning: comparing unequal types not supported in 3.x dup_list = list(dup); dup_list.sort() /home/exarkun/Projects/python/trunk/Lib/test/test_sets.py:692: DeprecationWarning: comparing unequal types not supported in 3.x set_list = list(self.set); set_list.sort() ok test_copy (test.test_sets.TestCopyingTuple) ... ok test_deep_copy (test.test_sets.TestCopyingTuple) ... ok test_copy (test.test_sets.TestCopyingNested) ... ok test_deep_copy (test.test_sets.TestCopyingNested) ... ok test_binopsVsSubsets (test.test_sets.TestIdentities) ... ok test_cardinality_relations (test.test_sets.TestIdentities) ... ok test_commutativity (test.test_sets.TestIdentities) ... ok test_exclusion (test.test_sets.TestIdentities) ... ok test_reflexsive_relations (test.test_sets.TestIdentities) ... ok test_summations (test.test_sets.TestIdentities) ... ok Doctest: test.test_sets.__test__.libreftest ... ok ---------------------------------------------------------------------- Ran 243 tests in 0.027s OK test_sgmllib test_attr_funky_names (test.test_sgmllib.SGMLParserTestCase) ... ok test_attr_syntax (test.test_sgmllib.SGMLParserTestCase) ... ok test_attr_value_ip6_url (test.test_sgmllib.SGMLParserTestCase) ... ok test_attr_values (test.test_sgmllib.SGMLParserTestCase) ... ok test_attr_values_entities (test.test_sgmllib.SGMLParserTestCase) Substitution of entities and charrefs in attribute values ... ok test_bad_nesting (test.test_sgmllib.SGMLParserTestCase) ... ok test_bare_ampersands (test.test_sgmllib.SGMLParserTestCase) ... ok test_bare_pointy_brackets (test.test_sgmllib.SGMLParserTestCase) ... ok test_cdata_content (test.test_sgmllib.SGMLParserTestCase) ... ok test_convert_overrides (test.test_sgmllib.SGMLParserTestCase) ... ok test_declaration_junk_chars (test.test_sgmllib.SGMLParserTestCase) ... ok test_doctype_decl_external (test.test_sgmllib.SGMLParserTestCase) ... ok test_doctype_decl_internal (test.test_sgmllib.SGMLParserTestCase) ... ok test_enumerated_attr_type (test.test_sgmllib.SGMLParserTestCase) ... ok test_get_starttag_text (test.test_sgmllib.SGMLParserTestCase) ... ok test_illegal_declarations (test.test_sgmllib.SGMLParserTestCase) ... ok test_only_decode_ascii (test.test_sgmllib.SGMLParserTestCase) ... ok test_processing_instruction_only (test.test_sgmllib.SGMLParserTestCase) ... ok test_quotes_in_unquoted_attrs (test.test_sgmllib.SGMLParserTestCase) Be sure quotes in unquoted attributes are made part of the value ... ok test_read_chunks (test.test_sgmllib.SGMLParserTestCase) ... ok test_underscore_in_attrname (test.test_sgmllib.SGMLParserTestCase) Make sure attribute names with underscores are accepted ... ok test_underscore_in_tagname (test.test_sgmllib.SGMLParserTestCase) Make sure tag names with underscores are accepted ... ok test_weird_starttags (test.test_sgmllib.SGMLParserTestCase) ... ok test_xhtml_empty_tag (test.test_sgmllib.SGMLParserTestCase) Handling of XHTML-style empty start tags ... ok ---------------------------------------------------------------------- Ran 24 tests in 0.020s OK test_sha test_case_1 (test.test_sha.SHATestCase) ... ok test_case_2 (test.test_sha.SHATestCase) ... ok test_case_3 (test.test_sha.SHATestCase) ... ok test_case_4 (test.test_sha.SHATestCase) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.004s OK test_shelve test_bool (test.test_shelve.TestAsciiFileShelve) ... ok test_constructor (test.test_shelve.TestAsciiFileShelve) ... ok test_get (test.test_shelve.TestAsciiFileShelve) ... ok test_getitem (test.test_shelve.TestAsciiFileShelve) ... ok test_items (test.test_shelve.TestAsciiFileShelve) ... ok test_keys (test.test_shelve.TestAsciiFileShelve) ... ok test_len (test.test_shelve.TestAsciiFileShelve) ... ok test_pop (test.test_shelve.TestAsciiFileShelve) ... ok test_popitem (test.test_shelve.TestAsciiFileShelve) ... ok test_read (test.test_shelve.TestAsciiFileShelve) ... ok test_setdefault (test.test_shelve.TestAsciiFileShelve) ... ok test_update (test.test_shelve.TestAsciiFileShelve) ... ok test_values (test.test_shelve.TestAsciiFileShelve) ... ok test_write (test.test_shelve.TestAsciiFileShelve) ... ok test_bool (test.test_shelve.TestBinaryFileShelve) ... ok test_constructor (test.test_shelve.TestBinaryFileShelve) ... ok test_get (test.test_shelve.TestBinaryFileShelve) ... ok test_getitem (test.test_shelve.TestBinaryFileShelve) ... ok test_items (test.test_shelve.TestBinaryFileShelve) ... ok test_keys (test.test_shelve.TestBinaryFileShelve) ... ok test_len (test.test_shelve.TestBinaryFileShelve) ... ok test_pop (test.test_shelve.TestBinaryFileShelve) ... ok test_popitem (test.test_shelve.TestBinaryFileShelve) ... ok test_read (test.test_shelve.TestBinaryFileShelve) ... ok test_setdefault (test.test_shelve.TestBinaryFileShelve) ... ok test_update (test.test_shelve.TestBinaryFileShelve) ... ok test_values (test.test_shelve.TestBinaryFileShelve) ... ok test_write (test.test_shelve.TestBinaryFileShelve) ... ok test_bool (test.test_shelve.TestProto2FileShelve) ... ok test_constructor (test.test_shelve.TestProto2FileShelve) ... ok test_get (test.test_shelve.TestProto2FileShelve) ... ok test_getitem (test.test_shelve.TestProto2FileShelve) ... ok test_items (test.test_shelve.TestProto2FileShelve) ... ok test_keys (test.test_shelve.TestProto2FileShelve) ... ok test_len (test.test_shelve.TestProto2FileShelve) ... ok test_pop (test.test_shelve.TestProto2FileShelve) ... ok test_popitem (test.test_shelve.TestProto2FileShelve) ... ok test_read (test.test_shelve.TestProto2FileShelve) ... ok test_setdefault (test.test_shelve.TestProto2FileShelve) ... ok test_update (test.test_shelve.TestProto2FileShelve) ... ok test_values (test.test_shelve.TestProto2FileShelve) ... ok test_write (test.test_shelve.TestProto2FileShelve) ... ok test_bool (test.test_shelve.TestAsciiMemShelve) ... ok test_constructor (test.test_shelve.TestAsciiMemShelve) ... ok test_get (test.test_shelve.TestAsciiMemShelve) ... ok test_getitem (test.test_shelve.TestAsciiMemShelve) ... ok test_items (test.test_shelve.TestAsciiMemShelve) ... ok test_keys (test.test_shelve.TestAsciiMemShelve) ... ok test_len (test.test_shelve.TestAsciiMemShelve) ... ok test_pop (test.test_shelve.TestAsciiMemShelve) ... ok test_popitem (test.test_shelve.TestAsciiMemShelve) ... ok test_read (test.test_shelve.TestAsciiMemShelve) ... ok test_setdefault (test.test_shelve.TestAsciiMemShelve) ... ok test_update (test.test_shelve.TestAsciiMemShelve) ... ok test_values (test.test_shelve.TestAsciiMemShelve) ... ok test_write (test.test_shelve.TestAsciiMemShelve) ... ok test_bool (test.test_shelve.TestBinaryMemShelve) ... ok test_constructor (test.test_shelve.TestBinaryMemShelve) ... ok test_get (test.test_shelve.TestBinaryMemShelve) ... ok test_getitem (test.test_shelve.TestBinaryMemShelve) ... ok test_items (test.test_shelve.TestBinaryMemShelve) ... ok test_keys (test.test_shelve.TestBinaryMemShelve) ... ok test_len (test.test_shelve.TestBinaryMemShelve) ... ok test_pop (test.test_shelve.TestBinaryMemShelve) ... ok test_popitem (test.test_shelve.TestBinaryMemShelve) ... ok test_read (test.test_shelve.TestBinaryMemShelve) ... ok test_setdefault (test.test_shelve.TestBinaryMemShelve) ... ok test_update (test.test_shelve.TestBinaryMemShelve) ... ok test_values (test.test_shelve.TestBinaryMemShelve) ... ok test_write (test.test_shelve.TestBinaryMemShelve) ... ok test_bool (test.test_shelve.TestProto2MemShelve) ... ok test_constructor (test.test_shelve.TestProto2MemShelve) ... ok test_get (test.test_shelve.TestProto2MemShelve) ... ok test_getitem (test.test_shelve.TestProto2MemShelve) ... ok test_items (test.test_shelve.TestProto2MemShelve) ... ok test_keys (test.test_shelve.TestProto2MemShelve) ... ok test_len (test.test_shelve.TestProto2MemShelve) ... ok test_pop (test.test_shelve.TestProto2MemShelve) ... ok test_popitem (test.test_shelve.TestProto2MemShelve) ... ok test_read (test.test_shelve.TestProto2MemShelve) ... ok test_setdefault (test.test_shelve.TestProto2MemShelve) ... ok test_update (test.test_shelve.TestProto2MemShelve) ... ok test_values (test.test_shelve.TestProto2MemShelve) ... ok test_write (test.test_shelve.TestProto2MemShelve) ... ok test_ascii_file_shelf (test.test_shelve.TestCase) ... ok test_binary_file_shelf (test.test_shelve.TestCase) ... ok test_close (test.test_shelve.TestCase) ... ok test_in_memory_shelf (test.test_shelve.TestCase) ... ok test_mutable_entry (test.test_shelve.TestCase) ... ok test_proto2_file_shelf (test.test_shelve.TestCase) ... ok ---------------------------------------------------------------------- Ran 90 tests in 0.412s OK test_shlex testCompat (test.test_shlex.ShlexTest) Test compatibility interface ... ok testSplitPosix (test.test_shlex.ShlexTest) Test data splitting with posix parser ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.007s OK test_shutil test_copyfile_named_pipe (test.test_shutil.TestShutil) ... ok test_copytree_named_pipe (test.test_shutil.TestShutil) ... ok test_copytree_simple (test.test_shutil.TestShutil) ... ok test_copytree_with_exclude (test.test_shutil.TestShutil) ... ok test_dont_copy_file_onto_link_to_itself (test.test_shutil.TestShutil) ... ok test_on_error (test.test_shutil.TestShutil) ... ok test_rmtree_dont_delete_file (test.test_shutil.TestShutil) ... ok test_rmtree_errors (test.test_shutil.TestShutil) ... ok test_rmtree_on_symlink (test.test_shutil.TestShutil) ... ok test_destinsrc_false_negative (test.test_shutil.TestMove) ... ok test_destinsrc_false_positive (test.test_shutil.TestMove) ... ok test_dont_move_dir_in_itself (test.test_shutil.TestMove) ... ok test_existing_file_inside_dest_dir (test.test_shutil.TestMove) ... ok test_move_dir (test.test_shutil.TestMove) ... ok test_move_dir_other_fs (test.test_shutil.TestMove) ... ok test_move_dir_to_dir (test.test_shutil.TestMove) ... ok test_move_dir_to_dir_other_fs (test.test_shutil.TestMove) ... ok test_move_file (test.test_shutil.TestMove) ... ok test_move_file_other_fs (test.test_shutil.TestMove) ... ok test_move_file_to_dir (test.test_shutil.TestMove) ... ok test_move_file_to_dir_other_fs (test.test_shutil.TestMove) ... ok ---------------------------------------------------------------------- Ran 21 tests in 0.017s OK test_signal test_getsignal (test.test_signal.BasicSignalTests) ... ok test_out_of_range_signal_number_raises_error (test.test_signal.BasicSignalTests) ... ok test_setting_signal_handler_to_none_raises_error (test.test_signal.BasicSignalTests) ... ok test_main (test.test_signal.InterProcessSignalTests) ... ok test_wakeup_fd_during (test.test_signal.WakeupSignalTests) ... ok test_wakeup_fd_early (test.test_signal.WakeupSignalTests) ... ok test_siginterrupt_off (test.test_signal.SiginterruptTest) ... ok test_siginterrupt_on (test.test_signal.SiginterruptTest) ... ok test_without_siginterrupt (test.test_signal.SiginterruptTest) ... ok test_itimer_exc (test.test_signal.ItimerTest) ... ok test_itimer_prof (test.test_signal.ItimerTest) ... ('SIGPROF handler invoked', (27, )) ok test_itimer_real (test.test_signal.ItimerTest) ... call pause()... ('SIGALRM handler invoked', (14, )) ok test_itimer_virtual (test.test_signal.ItimerTest) ... ('SIGVTALRM handler invoked', (26, )) ('SIGVTALRM handler invoked', (26, )) ('SIGVTALRM handler invoked', (26, )) last SIGVTALRM handler call ('SIGVTALRM handler invoked', (26, )) ok ---------------------------------------------------------------------- Ran 13 tests in 6.360s OK test_site test_addpackage (test.test_site.HelperFunctionsTests) ... ok test_addsitedir (test.test_site.HelperFunctionsTests) ... ok test_getsitepackages (test.test_site.HelperFunctionsTests) ... ok test_getuserbase (test.test_site.HelperFunctionsTests) ... ok test_getusersitepackages (test.test_site.HelperFunctionsTests) ... ok test_init_pathinfo (test.test_site.HelperFunctionsTests) ... ok test_makepath (test.test_site.HelperFunctionsTests) ... ok test_s_option (test.test_site.HelperFunctionsTests) ... ok test_abs__file__ (test.test_site.ImportSideEffectTests) ... ok test_add_build_dir (test.test_site.ImportSideEffectTests) ... ok test_aliasing_mbcs (test.test_site.ImportSideEffectTests) ... ok test_no_duplicate_paths (test.test_site.ImportSideEffectTests) ... ok test_setdefaultencoding_removed (test.test_site.ImportSideEffectTests) ... ok test_setting_copyright (test.test_site.ImportSideEffectTests) ... ok test_setting_help (test.test_site.ImportSideEffectTests) ... ok test_setting_quit (test.test_site.ImportSideEffectTests) ... ok test_sitecustomize_executed (test.test_site.ImportSideEffectTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_site.py:312: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not sys.modules.has_key("sitecustomize"): ok ---------------------------------------------------------------------- Ran 17 tests in 0.109s OK test_slice test_cmp (test.test_slice.SliceTest) ... ok test_constructor (test.test_slice.SliceTest) ... ok test_hash (test.test_slice.SliceTest) ... ok test_indices (test.test_slice.SliceTest) ... ok test_members (test.test_slice.SliceTest) ... ok test_pickle (test.test_slice.SliceTest) ... ok test_repr (test.test_slice.SliceTest) ... ok test_setslice_without_getslice (test.test_slice.SliceTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_slice.py:118: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ x[1:2] = 42 ok ---------------------------------------------------------------------- Ran 8 tests in 0.001s OK test_smtplib testBasic1 (test.test_smtplib.GeneralTests) ... ok testBasic2 (test.test_smtplib.GeneralTests) ... ok testLocalHostName (test.test_smtplib.GeneralTests) ... ok testTimeoutDefault (test.test_smtplib.GeneralTests) ... ok testTimeoutNone (test.test_smtplib.GeneralTests) ... ok testTimeoutValue (test.test_smtplib.GeneralTests) ... ok testBasic (test.test_smtplib.DebuggingServerTests) ... ok testHELP (test.test_smtplib.DebuggingServerTests) ... ok testNOOP (test.test_smtplib.DebuggingServerTests) ... ok testNotImplemented (test.test_smtplib.DebuggingServerTests) ... ok testRSET (test.test_smtplib.DebuggingServerTests) ... ok testSecondHELO (test.test_smtplib.DebuggingServerTests) ... ok testSend (test.test_smtplib.DebuggingServerTests) ... ok testVRFY (test.test_smtplib.DebuggingServerTests) ... ok testNonnumericPort (test.test_smtplib.NonConnectingTests) ... ok testNotConnected (test.test_smtplib.NonConnectingTests) ... ok testFailingHELO (test.test_smtplib.BadHELOServerTests) ... ok testAUTH_CRAM_MD5 (test.test_smtplib.SMTPSimTests) ... ok testAUTH_LOGIN (test.test_smtplib.SMTPSimTests) ... ok testAUTH_PLAIN (test.test_smtplib.SMTPSimTests) ... ok testBasic (test.test_smtplib.SMTPSimTests) ... ok testEHLO (test.test_smtplib.SMTPSimTests) ... ok testEXPN (test.test_smtplib.SMTPSimTests) ... ok testVRFY (test.test_smtplib.SMTPSimTests) ... ok ---------------------------------------------------------------------- Ran 24 tests in 0.117s OK test_smtpnet test_connect (test.test_smtpnet.SmtpSSLTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.617s OK test_socket TIPC module is not loaded, please 'sudo modprobe tipc' testCrucialConstants (test.test_socket.GeneralModuleTests) ... ok testDefaultTimeout (test.test_socket.GeneralModuleTests) ... ok testGetServBy (test.test_socket.GeneralModuleTests) ... ok testGetSockOpt (test.test_socket.GeneralModuleTests) ... ok testHostnameRes (test.test_socket.GeneralModuleTests) ... ok testIPv4_inet_aton_fourbytes (test.test_socket.GeneralModuleTests) ... ok testIPv4toString (test.test_socket.GeneralModuleTests) ... ok testIPv6toString (test.test_socket.GeneralModuleTests) ... ok testInterpreterCrash (test.test_socket.GeneralModuleTests) ... ok testNewAttributes (test.test_socket.GeneralModuleTests) ... ok testNtoH (test.test_socket.GeneralModuleTests) ... ok testNtoHErrors (test.test_socket.GeneralModuleTests) ... ok testRefCountGetNameInfo (test.test_socket.GeneralModuleTests) ... ok testSendAfterClose (test.test_socket.GeneralModuleTests) ... ok testSetSockOpt (test.test_socket.GeneralModuleTests) ... ok testSockName (test.test_socket.GeneralModuleTests) ... ok testSocketError (test.test_socket.GeneralModuleTests) ... ok testStringToIPv4 (test.test_socket.GeneralModuleTests) ... ok testStringToIPv6 (test.test_socket.GeneralModuleTests) ... ok test_getsockaddrarg (test.test_socket.GeneralModuleTests) ... ok test_sock_ioctl (test.test_socket.GeneralModuleTests) ... ok test_weakref (test.test_socket.GeneralModuleTests) ... ok testFromFd (test.test_socket.BasicTCPTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_socket.py:126: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') if not callable(test_func): ok testOverFlowRecv (test.test_socket.BasicTCPTest) ... ok testOverFlowRecvFrom (test.test_socket.BasicTCPTest) ... ok testRecv (test.test_socket.BasicTCPTest) ... ok testRecvFrom (test.test_socket.BasicTCPTest) ... ok testSendAll (test.test_socket.BasicTCPTest) ... ok testShutdown (test.test_socket.BasicTCPTest) ... ok testClose (test.test_socket.TCPCloserTest) ... ok testInterruptedTimeout (test.test_socket.TCPTimeoutTest) ... ok testTCPTimeout (test.test_socket.TCPTimeoutTest) ... ok testTimeoutZero (test.test_socket.TCPTimeoutTest) ... ok testExceptionTree (test.test_socket.TestExceptions) ... ok testRecvFromInto (test.test_socket.BufferIOTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_socket.py:1240: DeprecationWarning: buffer() not supported in 3.x buf = buffer(MSG) ok testRecvInto (test.test_socket.BufferIOTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_socket.py:1229: DeprecationWarning: buffer() not supported in 3.x buf = buffer(MSG) ok testFromFd (test.test_socket.BasicTCPTest2) ... ok testOverFlowRecv (test.test_socket.BasicTCPTest2) ... ok testOverFlowRecvFrom (test.test_socket.BasicTCPTest2) ... ok testRecv (test.test_socket.BasicTCPTest2) ... ok testRecvFrom (test.test_socket.BasicTCPTest2) ... ok testSendAll (test.test_socket.BasicTCPTest2) ... ok testShutdown (test.test_socket.BasicTCPTest2) ... ok testRecvFrom (test.test_socket.BasicUDPTest) ... ok testRecvFromNegative (test.test_socket.BasicUDPTest) ... ok testSendtoAndRecv (test.test_socket.BasicUDPTest) ... ok testTimeoutZero (test.test_socket.UDPTimeoutTest) ... ok testUDPTimeout (test.test_socket.UDPTimeoutTest) ... ok testAccept (test.test_socket.NonBlockingTCPTests) ... ok testConnect (test.test_socket.NonBlockingTCPTests) ... ok testRecv (test.test_socket.NonBlockingTCPTests) ... ok testSetBlocking (test.test_socket.NonBlockingTCPTests) ... ok testClosedAttr (test.test_socket.FileObjectClassTestCase) ... ok testFullRead (test.test_socket.FileObjectClassTestCase) ... ok testReadline (test.test_socket.FileObjectClassTestCase) ... ok testReadlineAfterRead (test.test_socket.FileObjectClassTestCase) ... ok testReadlineAfterReadNoNewline (test.test_socket.FileObjectClassTestCase) ... ok testSmallRead (test.test_socket.FileObjectClassTestCase) ... ok testUnbufferedRead (test.test_socket.FileObjectClassTestCase) ... ok test_default (test.test_socket.FileObjectInterruptedTestCase) ... /home/exarkun/Projects/python/trunk/Lib/socket.py:445: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if e[0] == EINTR: /home/exarkun/Projects/python/trunk/Lib/socket.py:474: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if e[0] == EINTR: /home/exarkun/Projects/python/trunk/Lib/socket.py:349: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if e[0] == EINTR: /home/exarkun/Projects/python/trunk/Lib/socket.py:378: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if e[0] == EINTR: ok test_no_buffer (test.test_socket.FileObjectInterruptedTestCase) ... /home/exarkun/Projects/python/trunk/Lib/socket.py:433: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if e[0] == EINTR: ok test_with_1k_buffer (test.test_socket.FileObjectInterruptedTestCase) ... ok testClosedAttr (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testFullRead (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testReadline (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testReadlineAfterRead (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testReadlineAfterReadNoNewline (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testSmallRead (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testUnbufferedRead (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testUnbufferedReadline (test.test_socket.UnbufferedFileObjectClassTestCase) ... ok testClosedAttr (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok testFullRead (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok testReadline (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok testReadlineAfterRead (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok testReadlineAfterReadNoNewline (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok testSmallRead (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok testUnbufferedRead (test.test_socket.LineBufferedFileObjectClassTestCase) ... ok testClosedAttr (test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok testFullRead (test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok testReadline (test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok testReadlineAfterRead (test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok testReadlineAfterReadNoNewline (test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok testSmallRead (test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok testUnbufferedRead (test.test_socket.SmallBufferedFileObjectClassTestCase) ... ok testClose (test.test_socket.Urllib2FileobjectTest) ... ok testWithoutServer (test.test_socket.NetworkConnectionNoServer) ... ok testFamily (test.test_socket.NetworkConnectionAttributesTest) ... ok testTimeoutDefault (test.test_socket.NetworkConnectionAttributesTest) ... ok testTimeoutNone (test.test_socket.NetworkConnectionAttributesTest) ... ok testTimeoutValueNamed (test.test_socket.NetworkConnectionAttributesTest) ... ok testTimeoutValueNonamed (test.test_socket.NetworkConnectionAttributesTest) ... ok testInsideTimeout (test.test_socket.NetworkConnectionBehaviourTest) ... ok testOutsideTimeout (test.test_socket.NetworkConnectionBehaviourTest) ... ok testRecv (test.test_socket.BasicSocketPairTest) ... ok testSend (test.test_socket.BasicSocketPairTest) ... ok testLinuxAbstractNamespace (test.test_socket.TestLinuxAbstractNamespace) ... ok testMaxName (test.test_socket.TestLinuxAbstractNamespace) ... ok testNameOverflow (test.test_socket.TestLinuxAbstractNamespace) ... ok ---------------------------------------------------------------------- Ran 98 tests in 11.277s OK test_socketserver test_ForkingTCPServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = ('127.0.0.1', 55293) CLASS = SocketServer.ForkingTCPServer server running test client 0 test client 1 test client 2 waiting for server done ok test_ForkingUDPServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = ('127.0.0.1', 35850) CLASS = SocketServer.ForkingUDPServer server running test client 0 test client 1 test client 2 waiting for server done ok test_ForkingUnixStreamServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = /tmp/unix_socket.M3norR CLASS = test.test_socketserver.ForkingUnixStreamServer server running test client 0 test client 1 test client 2 waiting for server done ok test_TCPServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = ('127.0.0.1', 46554) CLASS = SocketServer.TCPServer server running test client 0 test client 1 test client 2 waiting for server done ok test_ThreadingTCPServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = ('127.0.0.1', 47717) CLASS = SocketServer.ThreadingTCPServer server running test client 0 test client 1 test client 2 waiting for server done ok test_ThreadingUDPServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = ('127.0.0.1', 55393) CLASS = SocketServer.ThreadingUDPServer server running test client 0 test client 1 test client 2 waiting for server done ok test_ThreadingUnixStreamServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = /tmp/unix_socket.2pCL2d CLASS = SocketServer.ThreadingUnixStreamServer server running test client 0 test client 1 test client 2 waiting for server done ok test_UDPServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = ('127.0.0.1', 47472) CLASS = SocketServer.UDPServer server running test client 0 test client 1 test client 2 waiting for server done ok test_UnixStreamServer (test.test_socketserver.SocketServerTest) ... creating server server created ADDR = /tmp/unix_socket._SbiG5 CLASS = SocketServer.UnixStreamServer server running test client 0 test client 1 test client 2 waiting for server done ok ---------------------------------------------------------------------- Ran 9 tests in 0.171s OK test_softspace test_bug_480215 (test.test_softspace.SoftspaceTests) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_sort testStressfully (test.test_sort.TestBase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py:17: DeprecationWarning: the cmp argument is not supported in 3.x raw.sort(compare) /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py:103: DeprecationWarning: the cmp argument is not supported in 3.x s.sort(lambda a, b: int(random.random() * 3) - 1) Testing size 0 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 1 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 2 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 3 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 3 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 4 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 5 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 7 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 8 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 9 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 15 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 16 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 17 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 31 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 32 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(5) Complains(7) checking exception during sort left some permutation checking stability Testing size 33 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 63 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 64 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 65 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 127 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(47) Complains(43) checking exception during sort left some permutation checking stability Testing size 128 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 129 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(100) Complains(105) checking exception during sort left some permutation checking stability Testing size 255 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(186) Complains(198) checking exception during sort left some permutation checking stability Testing size 256 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(162) Complains(160) checking exception during sort left some permutation checking stability Testing size 257 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(187) Complains(176) checking exception during sort left some permutation checking stability Testing size 511 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(346) Complains(367) checking exception during sort left some permutation checking stability Testing size 512 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(98) Complains(307) checking exception during sort left some permutation checking stability Testing size 513 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(106) Complains(93) checking exception during sort left some permutation checking stability Testing size 10 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 100 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 1000 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(1) Complains(28) checking exception during sort left some permutation checking stability ok test_badcmp_with_key (test.test_sort.TestDecorateSortUndecorate) ... ok test_baddecorator (test.test_sort.TestDecorateSortUndecorate) ... ok test_cmp_and_key_combination (test.test_sort.TestDecorateSortUndecorate) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py:199: DeprecationWarning: the cmp argument is not supported in 3.x data.sort(cmp=compare, key=str.lower) ok test_decorated (test.test_sort.TestDecorateSortUndecorate) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py:179: DeprecationWarning: the cmp argument is not supported in 3.x copy.sort(cmp=lambda x,y: cmp(x.lower(), y.lower())) ok test_key_with_exception (test.test_sort.TestDecorateSortUndecorate) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py:210: DeprecationWarning: classic int division self.assertRaises(ZeroDivisionError, data.sort, None, lambda x: 1/x) ok test_key_with_mutating_del (test.test_sort.TestDecorateSortUndecorate) ... ok test_key_with_mutating_del_and_exception (test.test_sort.TestDecorateSortUndecorate) ... ok test_key_with_mutation (test.test_sort.TestDecorateSortUndecorate) ... ok test_reverse (test.test_sort.TestDecorateSortUndecorate) ... ok test_reverse_stability (test.test_sort.TestDecorateSortUndecorate) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py:262: DeprecationWarning: the cmp argument is not supported in 3.x data.sort(cmp=lambda x,y: cmp(x[0],y[0]), reverse=True) /home/exarkun/Projects/python/trunk/Lib/test/test_sort.py:263: DeprecationWarning: the cmp argument is not supported in 3.x copy1.sort(cmp=lambda x,y: cmp(y[0],x[0])) ok test_stability (test.test_sort.TestDecorateSortUndecorate) ... ok test_bug453523 (test.test_sort.TestBugs) ... ok test_cmpNone (test.test_sort.TestBugs) ... ok test_undetected_mutation (test.test_sort.TestBugs) ... ok ---------------------------------------------------------------------- Ran 15 tests in 0.133s OK test_sqlite CheckAPILevel (sqlite3.test.dbapi.ModuleTests) ... ok CheckDataError (sqlite3.test.dbapi.ModuleTests) ... ok CheckDatabaseError (sqlite3.test.dbapi.ModuleTests) ... ok CheckError (sqlite3.test.dbapi.ModuleTests) ... ok CheckIntegrityError (sqlite3.test.dbapi.ModuleTests) ... ok CheckInterfaceError (sqlite3.test.dbapi.ModuleTests) ... ok CheckInternalError (sqlite3.test.dbapi.ModuleTests) ... ok CheckNotSupportedError (sqlite3.test.dbapi.ModuleTests) ... ok CheckOperationalError (sqlite3.test.dbapi.ModuleTests) ... ok CheckParamStyle (sqlite3.test.dbapi.ModuleTests) ... ok CheckProgrammingError (sqlite3.test.dbapi.ModuleTests) ... ok CheckThreadSafety (sqlite3.test.dbapi.ModuleTests) ... ok CheckWarning (sqlite3.test.dbapi.ModuleTests) ... ok CheckClose (sqlite3.test.dbapi.ConnectionTests) ... ok CheckCommit (sqlite3.test.dbapi.ConnectionTests) ... ok CheckCommitAfterNoChanges (sqlite3.test.dbapi.ConnectionTests) ... ok CheckCursor (sqlite3.test.dbapi.ConnectionTests) ... ok CheckExceptions (sqlite3.test.dbapi.ConnectionTests) ... ok CheckFailedOpen (sqlite3.test.dbapi.ConnectionTests) ... ok CheckRollback (sqlite3.test.dbapi.ConnectionTests) ... ok CheckRollbackAfterNoChanges (sqlite3.test.dbapi.ConnectionTests) ... ok CheckArraySize (sqlite3.test.dbapi.CursorTests) ... ok CheckClose (sqlite3.test.dbapi.CursorTests) ... ok CheckCursorConnection (sqlite3.test.dbapi.CursorTests) ... ok CheckCursorWrongClass (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteArgFloat (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteArgInt (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteArgString (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMapping (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMappingNoArgs (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMappingTooLittleArgs (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMappingUnnamed (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMapping_Mapping (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteIllegalSql (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyGenerator (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyIterator (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyNotIterable (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManySelect (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManySequence (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyWrongSqlArg (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteNoArgs (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteParamList (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteParamSequence (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteTooMuchSql (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteTooMuchSql2 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteTooMuchSql3 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongNoOfArgs1 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongNoOfArgs2 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongNoOfArgs3 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongSqlArg (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchIter (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchall (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchmany (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchmanyKwArg (sqlite3.test.dbapi.CursorTests) Checks if fetchmany works with keyword arguments ... ok CheckFetchone (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchoneNoStatement (sqlite3.test.dbapi.CursorTests) ... ok CheckRowcountExecute (sqlite3.test.dbapi.CursorTests) ... ok CheckRowcountExecutemany (sqlite3.test.dbapi.CursorTests) ... ok CheckRowcountSelect (sqlite3.test.dbapi.CursorTests) ... ok CheckSetinputsizes (sqlite3.test.dbapi.CursorTests) ... ok CheckSetoutputsize (sqlite3.test.dbapi.CursorTests) ... ok CheckSetoutputsizeNoColumn (sqlite3.test.dbapi.CursorTests) ... ok CheckTotalChanges (sqlite3.test.dbapi.CursorTests) ... ok CheckWrongCursorCallable (sqlite3.test.dbapi.CursorTests) ... ok CheckConClose (sqlite3.test.dbapi.ThreadTests) ... ok CheckConCommit (sqlite3.test.dbapi.ThreadTests) ... ok CheckConCursor (sqlite3.test.dbapi.ThreadTests) ... ok CheckConRollback (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurClose (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurExecute (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurImplicitBegin (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurIterNext (sqlite3.test.dbapi.ThreadTests) ... ok CheckBinary (sqlite3.test.dbapi.ConstructorTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/dbapi.py:645: DeprecationWarning: buffer() not supported in 3.x b = sqlite.Binary(chr(0) + "'") ok CheckDate (sqlite3.test.dbapi.ConstructorTests) ... ok CheckDateFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTime (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTimeFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTimestamp (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTimestampFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok CheckConnectionExecute (sqlite3.test.dbapi.ExtensionTests) ... ok CheckConnectionExecutemany (sqlite3.test.dbapi.ExtensionTests) ... ok CheckConnectionExecutescript (sqlite3.test.dbapi.ExtensionTests) ... ok CheckScriptErrorIncomplete (sqlite3.test.dbapi.ExtensionTests) ... ok CheckScriptErrorNormal (sqlite3.test.dbapi.ExtensionTests) ... ok CheckScriptStringSql (sqlite3.test.dbapi.ExtensionTests) ... ok CheckScriptStringUnicode (sqlite3.test.dbapi.ExtensionTests) ... ok CheckClosedConCommit (sqlite3.test.dbapi.ClosedTests) ... ok CheckClosedConCursor (sqlite3.test.dbapi.ClosedTests) ... ok CheckClosedConRollback (sqlite3.test.dbapi.ClosedTests) ... ok CheckClosedCurExecute (sqlite3.test.dbapi.ClosedTests) ... ok CheckBlob (sqlite3.test.types.SqliteTypeTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/types.py:70: DeprecationWarning: buffer() not supported in 3.x val = buffer("Guglhupf") ok CheckFloat (sqlite3.test.types.SqliteTypeTests) ... ok CheckLargeInt (sqlite3.test.types.SqliteTypeTests) ... ok CheckSmallInt (sqlite3.test.types.SqliteTypeTests) ... ok CheckString (sqlite3.test.types.SqliteTypeTests) ... ok CheckUnicodeExecute (sqlite3.test.types.SqliteTypeTests) ... ok CheckBlob (sqlite3.test.types.DeclTypesTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/types.py:207: DeprecationWarning: buffer() not supported in 3.x val = buffer("Guglhupf") ok CheckBool (sqlite3.test.types.DeclTypesTests) ... ok CheckFloat (sqlite3.test.types.DeclTypesTests) ... ok CheckFoo (sqlite3.test.types.DeclTypesTests) ... ok CheckLargeInt (sqlite3.test.types.DeclTypesTests) ... ok CheckNumber1 (sqlite3.test.types.DeclTypesTests) ... ok CheckNumber2 (sqlite3.test.types.DeclTypesTests) Checks wether converter names are cut off at '(' characters ... ok CheckSmallInt (sqlite3.test.types.DeclTypesTests) ... ok CheckString (sqlite3.test.types.DeclTypesTests) ... ok CheckUnicode (sqlite3.test.types.DeclTypesTests) ... ok CheckUnsupportedDict (sqlite3.test.types.DeclTypesTests) ... ok CheckUnsupportedSeq (sqlite3.test.types.DeclTypesTests) ... ok CheckCaseInConverterName (sqlite3.test.types.ColNamesTests) ... ok CheckColName (sqlite3.test.types.ColNamesTests) ... ok CheckCursorDescriptionNoRow (sqlite3.test.types.ColNamesTests) ... ok CheckDeclTypeNotUsed (sqlite3.test.types.ColNamesTests) ... ok CheckNone (sqlite3.test.types.ColNamesTests) ... ok CheckCasterIsUsed (sqlite3.test.types.ObjectAdaptationTests) ... ok CheckBinaryInputForConverter (sqlite3.test.types.BinaryConverterTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/types.py:323: DeprecationWarning: buffer() not supported in 3.x result = self.con.execute('select ? as "x [bin]"', (buffer(zlib.compress(testdata)),)).fetchone()[0] ok CheckDateTimeSubSeconds (sqlite3.test.types.DateTimeTests) ... ok CheckDateTimeSubSecondsFloatingPoint (sqlite3.test.types.DateTimeTests) ... ok CheckSqlTimestamp (sqlite3.test.types.DateTimeTests) ... ok CheckSqliteDate (sqlite3.test.types.DateTimeTests) ... ok CheckSqliteTimestamp (sqlite3.test.types.DateTimeTests) ... ok CheckFuncErrorOnCreate (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncException (sqlite3.test.userfunctions.FunctionTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:41: DeprecationWarning: classic int division 5/0 ok CheckFuncRefCount (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnBlob (sqlite3.test.userfunctions.FunctionTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:39: DeprecationWarning: buffer() not supported in 3.x return buffer("blob") /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:200: DeprecationWarning: buffer() not supported in 3.x self.assertEqual(val, buffer("blob")) ok CheckFuncReturnFloat (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnInt (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnNull (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnText (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnUnicode (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamBlob (sqlite3.test.userfunctions.FunctionTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:237: DeprecationWarning: buffer() not supported in 3.x cur.execute("select isblob(?)", (buffer("blob"),)) ok CheckParamFloat (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamInt (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamNone (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamString (sqlite3.test.userfunctions.FunctionTests) ... ok CheckAggrCheckAggrSum (sqlite3.test.userfunctions.AggregateTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:255: DeprecationWarning: buffer() not supported in 3.x ("foo", 5, 3.14, None, buffer("blob"),)) ok CheckAggrCheckParamBlob (sqlite3.test.userfunctions.AggregateTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:347: DeprecationWarning: buffer() not supported in 3.x cur.execute("select checkType('blob', ?)", (buffer("blob"),)) ok CheckAggrCheckParamFloat (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamInt (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamNone (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamStr (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrErrorOnCreate (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrExceptionInFinalize (sqlite3.test.userfunctions.AggregateTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:96: DeprecationWarning: classic int division 5/0 ok CheckAggrExceptionInInit (sqlite3.test.userfunctions.AggregateTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:70: DeprecationWarning: classic int division 5/0 ok CheckAggrExceptionInStep (sqlite3.test.userfunctions.AggregateTests) ... /home/exarkun/Projects/python/trunk/Lib/sqlite3/test/userfunctions.py:83: DeprecationWarning: classic int division 5/0 ok CheckAggrNoFinalize (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrNoStep (sqlite3.test.userfunctions.AggregateTests) ... ok CheckColumnAccess (sqlite3.test.userfunctions.AuthorizerTests) ... ok CheckTableAccess (sqlite3.test.userfunctions.AuthorizerTests) ... ok CheckContextManager (sqlite3.test.py25tests.ContextTests) Can the connection be used as a context manager at all? ... ok CheckContextManagerCommit (sqlite3.test.py25tests.ContextTests) Is a commit called in the context manager? ... ok CheckContextManagerRollback (sqlite3.test.py25tests.ContextTests) Is a rollback called in the context manager? ... ok CheckIsInstance (sqlite3.test.factory.ConnectionFactoryTests) ... ok CheckIsInstance (sqlite3.test.factory.CursorFactoryTests) ... ok CheckIsProducedByFactory (sqlite3.test.factory.RowFactoryTestsBackwardsCompat) ... ok CheckCustomFactory (sqlite3.test.factory.RowFactoryTests) ... ok CheckSqliteRowAsDict (sqlite3.test.factory.RowFactoryTests) Checks if the row object can be correctly converted to a dictionary ... ok CheckSqliteRowAsTuple (sqlite3.test.factory.RowFactoryTests) Checks if the row object can be converted to a tuple ... ok CheckSqliteRowHashCmp (sqlite3.test.factory.RowFactoryTests) Checks if the row object compares and hashes correctly ... ok CheckSqliteRowIndex (sqlite3.test.factory.RowFactoryTests) ... ok CheckSqliteRowIter (sqlite3.test.factory.RowFactoryTests) Checks if the row object is iterable ... ok CheckCustom (sqlite3.test.factory.TextFactoryTests) ... ok CheckOptimizedUnicode (sqlite3.test.factory.TextFactoryTests) ... ok CheckString (sqlite3.test.factory.TextFactoryTests) ... ok CheckUnicode (sqlite3.test.factory.TextFactoryTests) ... ok CheckDMLdoesAutoCommitBefore (sqlite3.test.transactions.TransactionTests) ... ok CheckDeleteStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckInsertStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckLocking (sqlite3.test.transactions.TransactionTests) ... ok CheckRaiseTimeout (sqlite3.test.transactions.TransactionTests) ... ok CheckReplaceStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckToggleAutoCommit (sqlite3.test.transactions.TransactionTests) ... ok CheckUpdateStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckDropTable (sqlite3.test.transactions.SpecialCommandTests) ... ok CheckPragma (sqlite3.test.transactions.SpecialCommandTests) ... ok CheckVacuum (sqlite3.test.transactions.SpecialCommandTests) ... ok CheckCollationIsUsed (sqlite3.test.hooks.CollationTests) ... ok CheckCollationRegisterTwice (sqlite3.test.hooks.CollationTests) ... ok CheckCreateCollationNotAscii (sqlite3.test.hooks.CollationTests) ... ok CheckCreateCollationNotCallable (sqlite3.test.hooks.CollationTests) ... ok CheckDeregisterCollation (sqlite3.test.hooks.CollationTests) ... ok CheckCancelOperation (sqlite3.test.hooks.ProgressTests) ... ok CheckClearHandler (sqlite3.test.hooks.ProgressTests) ... ok CheckOpcodeCount (sqlite3.test.hooks.ProgressTests) ... ok CheckProgressHandlerUsed (sqlite3.test.hooks.ProgressTests) ... ok CheckColumnNameWithSpaces (sqlite3.test.regression.RegressionTests) ... ok CheckEmptyStatement (sqlite3.test.regression.RegressionTests) ... ok CheckOnConflictRollback (sqlite3.test.regression.RegressionTests) ... ok CheckPragmaSchemaVersion (sqlite3.test.regression.RegressionTests) ... ok CheckPragmaUserVersion (sqlite3.test.regression.RegressionTests) ... ok CheckRegisterAdapter (sqlite3.test.regression.RegressionTests) ... ok CheckSetIsolationLevel (sqlite3.test.regression.RegressionTests) ... ok CheckStatementAvailable (sqlite3.test.regression.RegressionTests) ... ok CheckStatementFinalizationOnCloseDb (sqlite3.test.regression.RegressionTests) ... ok CheckStatementReset (sqlite3.test.regression.RegressionTests) ... ok CheckTypeMapUsage (sqlite3.test.regression.RegressionTests) ... ok CheckUnicodeConnect (sqlite3.test.regression.RegressionTests) ... ok CheckWorkaroundForBuggySqliteTransferBindings (sqlite3.test.regression.RegressionTests) ... ok CheckTableDump (sqlite3.test.dump.DumpTests) ... ok ---------------------------------------------------------------------- Ran 198 tests in 0.127s OK test_ssl testCrucialConstants (test.test_ssl.BasicTests) ... ok testDERtoPEM (test.test_ssl.BasicTests) ... ok testParseCert (test.test_ssl.BasicTests) ... {'notAfter': 'Feb 16 16:54:50 2013 GMT', 'subject': ((('countryName', u'US'),), (('stateOrProvinceName', u'Delaware'),), (('localityName', u'Wilmington'),), (('organizationName', u'Python Software Foundation'),), (('organizationalUnitName', u'SSL'),), (('commonName', u'somemachine.python.org'),))} ok testRAND (test.test_ssl.BasicTests) ... RAND_status is 1 (sufficient randomness) ok testSSLconnect (test.test_ssl.BasicTests) ... ok testConnect (test.test_ssl.NetworkedTests) ... ok testFetchServerCert (test.test_ssl.NetworkedTests) ... Verified certificate for svn.python.org:443 is -----BEGIN CERTIFICATE----- MIIFQTCCBCmgAwIBAgIQL2qw7lpsHqTLcBh1PVjsaTANBgkqhkiG9w0BAQUFADCB lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt SGFyZHdhcmUwHhcNMDcwNDEwMDAwMDAwWhcNMTAwNDA5MjM1OTU5WjCBvjELMAkG A1UEBhMCVVMxDjAMBgNVBBETBTAxOTM4MRYwFAYDVQQIEw1NYXNzYWNodXNldHRz MREwDwYDVQQHEwhJcHN3aXRjaDEMMAoGA1UECRMDbi9hMQwwCgYDVQQSEwM2NTMx IzAhBgNVBAoTGlB5dGhvbiBTb2Z0d2FyZSBGb3VuZGF0aW9uMRowGAYDVQQLExFD b21vZG8gSW5zdGFudFNTTDEXMBUGA1UEAxMOc3ZuLnB5dGhvbi5vcmcwgZ8wDQYJ KoZIhvcNAQEBBQADgY0AMIGJAoGBAMFOfFeLpiIN9UzTCehCgQ4W3ufaq524qPoX 00iNDiI/ehd6kC0BXIP5/y9lPoMn7nRsjdjczUaVmlPWG8BhvADK3ZZIm7m/3mZW O/+C5vGE9YuOqIKe0VoNz/cZaYkz+C2xmOwDTp6a+ls29jjUfoxMd9gtGtuOp7s+ IouVD3wZAgMBAAGjggHiMIIB3jAfBgNVHSMEGDAWgBShcl8mGyiYQ5VdBzfVhZad S9LDRTAdBgNVHQ4EFgQUkeNAqLbnKq86W/ghBV9xfC+7h9swDgYDVR0PAQH/BAQD AgWgMAwGA1UdEwEB/wQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMC MBEGCWCGSAGG+EIBAQQEAwIGwDBGBgNVHSAEPzA9MDsGDCsGAQQBsjEBAgEDBDAr MCkGCCsGAQUFBwIBFh1odHRwczovL3NlY3VyZS5jb21vZG8ubmV0L0NQUzB7BgNV HR8EdDByMDigNqA0hjJodHRwOi8vY3JsLmNvbW9kb2NhLmNvbS9VVE4tVVNFUkZp cnN0LUhhcmR3YXJlLmNybDA2oDSgMoYwaHR0cDovL2NybC5jb21vZG8ubmV0L1VU Ti1VU0VSRmlyc3QtSGFyZHdhcmUuY3JsMIGGBggrBgEFBQcBAQR6MHgwOwYIKwYB BQUHMAKGL2h0dHA6Ly9jcnQuY29tb2RvY2EuY29tL1VUTkFkZFRydXN0U2VydmVy Q0EuY3J0MDkGCCsGAQUFBzAChi1odHRwOi8vY3J0LmNvbW9kby5uZXQvVVROQWRk VHJ1c3RTZXJ2ZXJDQS5jcnQwDQYJKoZIhvcNAQEFBQADggEBAFBxEOeKr5+vurzE 6DiP4THhQsp+LA0+tnZ5rkV7RODAmF6strjONl3FKWGSqrucWNnFTo/HMgrgZJHQ CunxrJf4J5CVz/CvGlfdBDmCpYz5agc8b7EJhmM2WoWSqC+5CYIXuRzUuYcKWjPt 3LV312Zil4BaeZ+wv4SKR8cL8jsB/sj8QxLxrZjOGXtVX3J95AnrY7BMDjuCBDxx dUUOUJpdJ4undAG1of0ZsPOGJ5viSJYNeJ9iOjSua24mfZ2aQ/mULirnqF8Gkr38 CMlC8io5ct5NnLgkWmPr0FS5UyalLeWXiopS6hMofvu952VGLyacLgMl7d9S5AaL mxMHHeo=-----END CERTIFICATE----- ok testNonBlockingHandshake (test.test_ssl.NetworkedTests) ... Needed 4 calls to do_handshake() to establish session. ok testAllRecvAndSendMethods (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 36364) server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256) ok testAsyncoreServer (test.test_ssl.ThreadedTests) ... server: new connection from 127.0.0.1:45012 client: sending 'TEST MESSAGE of mixed case\n'... client: read 'test message of mixed case\n' client: closing connection. server: closed connection ok testEcho (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 47547) server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256) client: sending 'FOO\n'... server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)... client: read 'foo\n' client: closing connection. server: client closed connection ok testMalformedCert (test.test_ssl.ThreadedTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_ssl.py:622: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute sys.stdout.write("\nSSLError is %s\n" % x[1]) SSLError is _ssl.c:351: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib ok testMalformedKey (test.test_ssl.ThreadedTests) ... SSLError is _ssl.c:337: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib ok testNULLcert (test.test_ssl.ThreadedTests) ... SSLError is _ssl.c:337: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib ok testProtocolSSL2 (test.test_ssl.ThreadedTests) ... SSLv2->SSLv2 CERT_NONE SSLv2->SSLv2 CERT_OPTIONAL SSLv2->SSLv2 CERT_REQUIRED SSLv23->SSLv2 CERT_NONE {SSLv3->SSLv2} CERT_NONE {TLSv1->SSLv2} CERT_NONE ok testProtocolSSL23 (test.test_ssl.ThreadedTests) ... SSLv2->SSLv23 CERT_NONE SSLv3->SSLv23 CERT_NONE SSLv23->SSLv23 CERT_NONE TLSv1->SSLv23 CERT_NONE SSLv3->SSLv23 CERT_OPTIONAL SSLv23->SSLv23 CERT_OPTIONAL TLSv1->SSLv23 CERT_OPTIONAL SSLv3->SSLv23 CERT_REQUIRED SSLv23->SSLv23 CERT_REQUIRED TLSv1->SSLv23 CERT_REQUIRED ok testProtocolSSL3 (test.test_ssl.ThreadedTests) ... SSLv3->SSLv3 CERT_NONE SSLv3->SSLv3 CERT_OPTIONAL SSLv3->SSLv3 CERT_REQUIRED {SSLv2->SSLv3} CERT_NONE {SSLv23->SSLv3} CERT_NONE {TLSv1->SSLv3} CERT_NONE ok testProtocolTLS1 (test.test_ssl.ThreadedTests) ... TLSv1->TLSv1 CERT_NONE TLSv1->TLSv1 CERT_OPTIONAL TLSv1->TLSv1 CERT_REQUIRED {SSLv2->TLSv1} CERT_NONE {SSLv3->TLSv1} CERT_NONE {SSLv23->TLSv1} CERT_NONE ok testReadCert (test.test_ssl.ThreadedTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_ssl.py:810: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not cert.has_key('subject'): {'notAfter': 'Feb 16 16:54:50 2013 GMT', 'subject': ((('countryName', u'US'),), (('stateOrProvinceName', u'Delaware'),), (('localityName', u'Wilmington'),), (('organizationName', u'Python Software Foundation'),), (('organizationalUnitName', u'SSL'),), (('commonName', u'somemachine.python.org'),))} Connection cipher is ('AES256-SHA', 'TLSv1/SSLv3', 256). ok testRudeShutdown (test.test_ssl.ThreadedTests) ... ok testSTARTTLS (test.test_ssl.ThreadedTests) ... client: sending 'msg 1'... server: new connection from ('127.0.0.1', 52941) server: read 'msg 1' (unencrypted), sending back 'msg 1' (unencrypted)... client: read 'msg 1' from server client: sending 'MSG 2'... server: read 'MSG 2' (unencrypted), sending back 'msg 2' (unencrypted)... client: read 'msg 2' from server client: sending 'STARTTLS'... server: read STARTTLS from client, sending OK... client: read 'OK\n' from server, starting TLS... client: sending 'MSG 3'... server: read 'MSG 3' (encrypted), sending back 'msg 3' (encrypted)... client: read 'msg 3' from server client: sending 'msg 4'... server: read 'msg 4' (encrypted), sending back 'msg 4' (encrypted)... client: read 'msg 4' from server client: sending 'ENDTLS'... server: read ENDTLS from client, sending OK... client: read 'OK\n' from server, ending TLS... server: connection is now unencrypted... client: sending 'msg 5'... server: read 'msg 5' (unencrypted), sending back 'msg 5' (unencrypted)... client: read 'msg 5' from server client: sending 'msg 6'... server: read 'msg 6' (unencrypted), sending back 'msg 6' (unencrypted)... client: read 'msg 6' from server client: closing connection. server: client closed connection ok testSocketServer (test.test_ssl.ThreadedTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_ssl.py:972: DeprecationWarning: urllib.urlopen() has been removed in Python 3.0 in favor of urllib2.urlopen() f = urllib.urlopen(url) server (('127.0.0.1', 47162):47162 ('AES256-SHA', 'TLSv1/SSLv3', 256)): [09/Oct/2009 10:13:28] "GET /keycert.pem HTTP/1.0" 200 - client: read 1872 bytes from remote server '>' ok testWrappedAccept (test.test_ssl.ThreadedTests) ... server: wrapped server socket as server: new connection from ('127.0.0.1', 52173) client cert is {'notAfter': 'Feb 16 16:54:50 2013 GMT', 'subject': ((('countryName', u'US'),), (('stateOrProvinceName', u'Delaware'),), (('localityName', u'Wilmington'),), (('organizationName', u'Python Software Foundation'),), (('organizationalUnitName', u'SSL'),), (('commonName', u'somemachine.python.org'),))} cert binary is 683 bytes server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256) client: sending 'FOO\n'... server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)... client: read 'foo\n' client: closing connection. server: client closed connection ok testWrongCert (test.test_ssl.ThreadedTests) ... SSLError is _ssl.c:480: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca ok ---------------------------------------------------------------------- Ran 24 tests in 20.893s OK test_startfile test_startfile skipped -- module os has no attribute startfile test_str test___contains__ (test.test_str.StrTest) ... ok test__format__ (test.test_str.StrTest) ... ok test_basic_creation (test.test_str.StrTest) ... ok test_buffer_is_readonly (test.test_str.StrTest) ... ok test_bug1001011 (test.test_str.StrTest) ... ok test_capitalize (test.test_str.StrTest) ... ok test_center (test.test_str.StrTest) ... ok test_conversion (test.test_str.StrTest) ... ok test_count (test.test_str.StrTest) ... ok test_encode_and_decode_kwargs (test.test_str.StrTest) ... ok test_encoding_decoding (test.test_str.StrTest) ... ok test_endswith (test.test_str.StrTest) ... ok test_expandtabs (test.test_str.StrTest) ... ok test_expandtabs_overflows_gracefully (test.test_str.StrTest) ... ok test_extended_getslice (test.test_str.StrTest) ... ok test_find (test.test_str.StrTest) ... ok test_floatformatting (test.test_str.StrTest) ... ok test_format (test.test_str.StrTest) ... ok test_format_auto_numbering (test.test_str.StrTest) ... ok test_formatting (test.test_str.StrTest) ... ok test_hash (test.test_str.StrTest) ... ok test_index (test.test_str.StrTest) ... ok test_inplace_rewrites (test.test_str.StrTest) ... ok test_isalnum (test.test_str.StrTest) ... ok test_isalpha (test.test_str.StrTest) ... ok test_isdigit (test.test_str.StrTest) ... ok test_islower (test.test_str.StrTest) ... ok test_isspace (test.test_str.StrTest) ... ok test_istitle (test.test_str.StrTest) ... ok test_isupper (test.test_str.StrTest) ... ok test_join (test.test_str.StrTest) ... ok test_ljust (test.test_str.StrTest) ... ok test_lower (test.test_str.StrTest) ... ok test_mul (test.test_str.StrTest) ... ok test_partition (test.test_str.StrTest) ... ok test_replace (test.test_str.StrTest) ... ok test_replace_overflow (test.test_str.StrTest) ... ok test_rfind (test.test_str.StrTest) ... ok test_rindex (test.test_str.StrTest) ... ok test_rjust (test.test_str.StrTest) ... ok test_rpartition (test.test_str.StrTest) ... ok test_rsplit (test.test_str.StrTest) ... ok test_slice (test.test_str.StrTest) ... ok test_split (test.test_str.StrTest) ... ok test_splitlines (test.test_str.StrTest) ... ok test_startswith (test.test_str.StrTest) ... ok test_strip (test.test_str.StrTest) ... ok test_subscript (test.test_str.StrTest) ... ok test_swapcase (test.test_str.StrTest) ... ok test_title (test.test_str.StrTest) ... ok test_upper (test.test_str.StrTest) ... ok test_zfill (test.test_str.StrTest) ... ok ---------------------------------------------------------------------- Ran 52 tests in 0.397s OK test_strftime test_strftime (test.test_strftime.StrftimeTest) ... strftime test for Fri Oct 9 10:13:30 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Oct 09 10:13:30 2009, but got Fri Oct 9 10:13:30 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) Strftime test, platform: linux2, Python version: 2.7a0 strftime test for Mon Jun 16 20:38:30 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jun 17 19:39:39 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jun 18 18:40:48 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jun 19 17:41:57 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jun 20 16:43:06 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jun 21 15:44:15 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jun 22 14:45:24 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jun 23 13:46:33 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jun 24 12:47:42 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jun 25 11:48:51 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jun 26 10:50:00 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jun 27 09:51:09 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jun 28 08:52:18 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jun 29 07:53:27 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jun 30 06:54:36 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jul 1 05:55:45 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Jul 01 05:55:45 2008, but got Tue Jul 1 05:55:45 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jul 2 04:56:54 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Jul 02 04:56:54 2008, but got Wed Jul 2 04:56:54 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jul 3 03:58:03 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Jul 03 03:58:03 2008, but got Thu Jul 3 03:58:03 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jul 4 02:59:12 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Jul 04 02:59:12 2008, but got Fri Jul 4 02:59:12 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jul 5 02:00:21 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat Jul 05 02:00:21 2008, but got Sat Jul 5 02:00:21 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jul 6 01:01:30 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Jul 06 01:01:30 2008, but got Sun Jul 6 01:01:30 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jul 7 00:02:39 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Jul 07 00:02:39 2008, but got Mon Jul 7 00:02:39 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jul 7 23:03:48 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Jul 07 23:03:48 2008, but got Mon Jul 7 23:03:48 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jul 8 22:04:57 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Jul 08 22:04:57 2008, but got Tue Jul 8 22:04:57 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jul 9 21:06:06 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Jul 09 21:06:06 2008, but got Wed Jul 9 21:06:06 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Sep 20 18:33:30 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Sep 21 17:34:39 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Sep 22 16:35:48 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Sep 23 15:36:57 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Sep 24 14:38:06 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Sep 25 13:39:15 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Sep 26 12:40:24 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Sep 27 11:41:33 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Sep 28 10:42:42 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Sep 29 09:43:51 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Sep 30 08:45:00 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Oct 1 07:46:09 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Oct 01 07:46:09 2008, but got Wed Oct 1 07:46:09 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Oct 2 06:47:18 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Oct 02 06:47:18 2008, but got Thu Oct 2 06:47:18 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 3 05:48:27 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Oct 03 05:48:27 2008, but got Fri Oct 3 05:48:27 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Oct 4 04:49:36 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat Oct 04 04:49:36 2008, but got Sat Oct 4 04:49:36 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Oct 5 03:50:45 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Oct 05 03:50:45 2008, but got Sun Oct 5 03:50:45 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Oct 6 02:51:54 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Oct 06 02:51:54 2008, but got Mon Oct 6 02:51:54 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Oct 7 01:53:03 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Oct 07 01:53:03 2008, but got Tue Oct 7 01:53:03 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Oct 8 00:54:12 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Oct 08 00:54:12 2008, but got Wed Oct 8 00:54:12 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Oct 8 23:55:21 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Oct 08 23:55:21 2008, but got Wed Oct 8 23:55:21 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Oct 9 22:56:30 2008 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Oct 09 22:56:30 2008, but got Thu Oct 9 22:56:30 2008 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 10 21:57:39 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Oct 11 20:58:48 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Oct 12 19:59:57 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Oct 13 19:01:06 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Dec 25 15:28:30 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Dec 26 14:29:39 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Dec 27 13:30:48 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Dec 28 12:31:57 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Dec 29 11:33:06 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Dec 30 10:34:15 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Dec 31 09:35:24 2008 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jan 1 08:36:33 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Jan 01 08:36:33 2009, but got Thu Jan 1 08:36:33 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jan 2 07:37:42 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Jan 02 07:37:42 2009, but got Fri Jan 2 07:37:42 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jan 3 06:38:51 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat Jan 03 06:38:51 2009, but got Sat Jan 3 06:38:51 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jan 4 05:40:00 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Jan 04 05:40:00 2009, but got Sun Jan 4 05:40:00 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jan 5 04:41:09 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Jan 05 04:41:09 2009, but got Mon Jan 5 04:41:09 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jan 6 03:42:18 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Jan 06 03:42:18 2009, but got Tue Jan 6 03:42:18 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jan 7 02:43:27 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Jan 07 02:43:27 2009, but got Wed Jan 7 02:43:27 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jan 8 01:44:36 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Jan 08 01:44:36 2009, but got Thu Jan 8 01:44:36 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jan 9 00:45:45 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Jan 09 00:45:45 2009, but got Fri Jan 9 00:45:45 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jan 9 23:46:54 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Jan 09 23:46:54 2009, but got Fri Jan 9 23:46:54 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jan 10 22:48:03 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jan 11 21:49:12 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jan 12 20:50:21 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jan 13 19:51:30 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jan 14 18:52:39 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jan 15 17:53:48 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jan 16 16:54:57 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jan 17 15:56:06 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Mar 31 14:23:30 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Apr 1 13:24:39 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Apr 01 13:24:39 2009, but got Wed Apr 1 13:24:39 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Apr 2 12:25:48 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Apr 02 12:25:48 2009, but got Thu Apr 2 12:25:48 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Apr 3 11:26:57 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Apr 03 11:26:57 2009, but got Fri Apr 3 11:26:57 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Apr 4 10:28:06 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat Apr 04 10:28:06 2009, but got Sat Apr 4 10:28:06 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Apr 5 09:29:15 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Apr 05 09:29:15 2009, but got Sun Apr 5 09:29:15 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Apr 6 08:30:24 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Apr 06 08:30:24 2009, but got Mon Apr 6 08:30:24 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Apr 7 07:31:33 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Apr 07 07:31:33 2009, but got Tue Apr 7 07:31:33 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Apr 8 06:32:42 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Apr 08 06:32:42 2009, but got Wed Apr 8 06:32:42 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Apr 9 05:33:51 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Apr 09 05:33:51 2009, but got Thu Apr 9 05:33:51 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Apr 10 04:35:00 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Apr 11 03:36:09 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Apr 12 02:37:18 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Apr 13 01:38:27 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Apr 14 00:39:36 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Apr 14 23:40:45 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Apr 15 22:41:54 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Apr 16 21:43:03 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Apr 17 20:44:12 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Apr 18 19:45:21 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Apr 19 18:46:30 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Apr 20 17:47:39 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Apr 21 16:48:48 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Apr 22 15:49:57 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Apr 23 14:51:06 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jul 5 12:18:30 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Jul 05 12:18:30 2009, but got Sun Jul 5 12:18:30 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jul 6 11:19:39 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Jul 06 11:19:39 2009, but got Mon Jul 6 11:19:39 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jul 7 10:20:48 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Jul 07 10:20:48 2009, but got Tue Jul 7 10:20:48 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jul 8 09:21:57 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Jul 08 09:21:57 2009, but got Wed Jul 8 09:21:57 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jul 9 08:23:06 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Jul 09 08:23:06 2009, but got Thu Jul 9 08:23:06 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jul 10 07:24:15 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jul 11 06:25:24 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jul 12 05:26:33 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jul 13 04:27:42 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jul 14 03:28:51 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jul 15 02:30:00 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jul 16 01:31:09 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jul 17 00:32:18 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jul 17 23:33:27 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jul 18 22:34:36 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jul 19 21:35:45 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jul 20 20:36:54 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jul 21 19:38:03 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jul 22 18:39:12 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jul 23 17:40:21 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jul 24 16:41:30 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jul 25 15:42:39 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jul 26 14:43:48 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jul 27 13:44:57 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jul 28 12:46:06 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 9 10:13:30 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Oct 09 10:13:30 2009, but got Fri Oct 9 10:13:30 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Oct 10 09:14:39 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Oct 11 08:15:48 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Oct 12 07:16:57 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Oct 13 06:18:06 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Oct 14 05:19:15 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Oct 15 04:20:24 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 16 03:21:33 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Oct 17 02:22:42 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Oct 18 01:23:51 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Oct 19 00:25:00 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Oct 19 23:26:09 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Oct 20 22:27:18 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Oct 21 21:28:27 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Oct 22 20:29:36 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 23 19:30:45 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Oct 24 18:31:54 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Oct 25 17:33:03 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Oct 26 16:34:12 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Oct 27 15:35:21 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Oct 28 14:36:30 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Oct 29 13:37:39 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 30 12:38:48 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Oct 31 11:39:57 2009 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Nov 1 09:41:06 2009 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Nov 01 09:41:06 2009, but got Sun Nov 1 09:41:06 2009 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jan 13 07:08:30 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jan 14 06:09:39 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jan 15 05:10:48 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jan 16 04:11:57 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jan 17 03:13:06 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jan 18 02:14:15 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jan 19 01:15:24 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jan 20 00:16:33 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jan 20 23:17:42 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jan 21 22:18:51 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jan 22 21:20:00 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jan 23 20:21:09 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jan 24 19:22:18 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jan 25 18:23:27 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jan 26 17:24:36 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jan 27 16:25:45 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jan 28 15:26:54 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jan 29 14:28:03 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jan 30 13:29:12 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jan 31 12:30:21 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Feb 1 11:31:30 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Feb 01 11:31:30 2010, but got Mon Feb 1 11:31:30 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Feb 2 10:32:39 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Feb 02 10:32:39 2010, but got Tue Feb 2 10:32:39 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Feb 3 09:33:48 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Feb 03 09:33:48 2010, but got Wed Feb 3 09:33:48 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Feb 4 08:34:57 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Feb 04 08:34:57 2010, but got Thu Feb 4 08:34:57 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Feb 5 07:36:06 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Feb 05 07:36:06 2010, but got Fri Feb 5 07:36:06 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Apr 19 06:03:30 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Apr 20 05:04:39 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Apr 21 04:05:48 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Apr 22 03:06:57 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Apr 23 02:08:06 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Apr 24 01:09:15 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Apr 25 00:10:24 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Apr 25 23:11:33 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Apr 26 22:12:42 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Apr 27 21:13:51 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Apr 28 20:15:00 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Apr 29 19:16:09 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Apr 30 18:17:18 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat May 1 17:18:27 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat May 01 17:18:27 2010, but got Sat May 1 17:18:27 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun May 2 16:19:36 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun May 02 16:19:36 2010, but got Sun May 2 16:19:36 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon May 3 15:20:45 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon May 03 15:20:45 2010, but got Mon May 3 15:20:45 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue May 4 14:21:54 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue May 04 14:21:54 2010, but got Tue May 4 14:21:54 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed May 5 13:23:03 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed May 05 13:23:03 2010, but got Wed May 5 13:23:03 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu May 6 12:24:12 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu May 06 12:24:12 2010, but got Thu May 6 12:24:12 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri May 7 11:25:21 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri May 07 11:25:21 2010, but got Fri May 7 11:25:21 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat May 8 10:26:30 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat May 08 10:26:30 2010, but got Sat May 8 10:26:30 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun May 9 09:27:39 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun May 09 09:27:39 2010, but got Sun May 9 09:27:39 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon May 10 08:28:48 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue May 11 07:29:57 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed May 12 06:31:06 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jul 24 03:58:30 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Jul 25 02:59:39 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Jul 26 02:00:48 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Jul 27 01:01:57 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jul 28 00:03:06 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Jul 28 23:04:15 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Jul 29 22:05:24 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Jul 30 21:06:33 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Jul 31 20:07:42 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Aug 1 19:08:51 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Aug 01 19:08:51 2010, but got Sun Aug 1 19:08:51 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Aug 2 18:10:00 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Aug 02 18:10:00 2010, but got Mon Aug 2 18:10:00 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Aug 3 17:11:09 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Aug 03 17:11:09 2010, but got Tue Aug 3 17:11:09 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Aug 4 16:12:18 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Aug 04 16:12:18 2010, but got Wed Aug 4 16:12:18 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Aug 5 15:13:27 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Aug 05 15:13:27 2010, but got Thu Aug 5 15:13:27 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Aug 6 14:14:36 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Aug 06 14:14:36 2010, but got Fri Aug 6 14:14:36 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Aug 7 13:15:45 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat Aug 07 13:15:45 2010, but got Sat Aug 7 13:15:45 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Aug 8 12:16:54 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Aug 08 12:16:54 2010, but got Sun Aug 8 12:16:54 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Aug 9 11:18:03 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Aug 09 11:18:03 2010, but got Mon Aug 9 11:18:03 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Aug 10 10:19:12 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Aug 11 09:20:21 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Aug 12 08:21:30 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Aug 13 07:22:39 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Aug 14 06:23:48 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Aug 15 05:24:57 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Aug 16 04:26:06 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Oct 28 01:53:30 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 29 00:54:39 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Oct 29 23:55:48 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Oct 30 22:56:57 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Oct 31 21:58:06 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Nov 1 20:59:15 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Nov 01 20:59:15 2010, but got Mon Nov 1 20:59:15 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Nov 2 20:00:24 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Nov 02 20:00:24 2010, but got Tue Nov 2 20:00:24 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Nov 3 19:01:33 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Wed Nov 03 19:01:33 2010, but got Wed Nov 3 19:01:33 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Nov 4 18:02:42 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Thu Nov 04 18:02:42 2010, but got Thu Nov 4 18:02:42 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Nov 5 17:03:51 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Fri Nov 05 17:03:51 2010, but got Fri Nov 5 17:03:51 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Nov 6 16:05:00 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sat Nov 06 16:05:00 2010, but got Sat Nov 6 16:05:00 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Nov 7 14:06:09 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Sun Nov 07 14:06:09 2010, but got Sun Nov 7 14:06:09 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Nov 8 13:07:18 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Mon Nov 08 13:07:18 2010, but got Mon Nov 8 13:07:18 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Nov 9 12:08:27 2010 Conflict for nonstandard '%c' format (near-asctime() format): Expected Tue Nov 09 12:08:27 2010, but got Tue Nov 9 12:08:27 2010 Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Nov 10 11:09:36 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Nov 11 10:10:45 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Nov 12 09:11:54 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Nov 13 08:13:03 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sun Nov 14 07:14:12 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Mon Nov 15 06:15:21 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Tue Nov 16 05:16:30 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Wed Nov 17 04:17:39 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Thu Nov 18 03:18:48 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Fri Nov 19 02:19:57 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) strftime test for Sat Nov 20 01:21:06 2010 Supports nonstandard '%c' format (near-asctime() format) Supports nonstandard '%x' format (%m/%d/%y %H:%M:%S) Supports nonstandard '%Z' format (time zone name) Supports nonstandard '%D' format (mm/dd/yy) Supports nonstandard '%e' format (day of month as number, blank padded ( 0-31)) Supports nonstandard '%h' format (abbreviated month name) Supports nonstandard '%k' format (hour, blank padded ( 0-23)) Supports nonstandard '%n' format (newline character) Supports nonstandard '%r' format (%I:%M:%S %p) Supports nonstandard '%R' format (%H:%M) Supports nonstandard '%s' format (seconds since the Epoch in UCT) Supports nonstandard '%t' format (tab character) Supports nonstandard '%T' format (%H:%M:%S) Supports nonstandard '%3y' format (year without century rendered using fieldwidth) ok ---------------------------------------------------------------------- Ran 1 test in 0.625s OK test_string test_capitalize (test.test_string.StringTest) ... ok test_center (test.test_string.StringTest) ... ok test_count (test.test_string.StringTest) ... ok test_expandtabs (test.test_string.StringTest) ... ok test_find (test.test_string.StringTest) ... ok test_hash (test.test_string.StringTest) ... ok test_index (test.test_string.StringTest) ... ok test_join (test.test_string.StringTest) ... ok test_ljust (test.test_string.StringTest) ... ok test_lower (test.test_string.StringTest) ... ok test_maketrans (test.test_string.StringTest) ... ok test_replace (test.test_string.StringTest) ... ok test_replace_overflow (test.test_string.StringTest) ... ok test_rfind (test.test_string.StringTest) ... ok test_rindex (test.test_string.StringTest) ... ok test_rjust (test.test_string.StringTest) ... ok test_rsplit (test.test_string.StringTest) ... ok test_split (test.test_string.StringTest) ... ok test_strip (test.test_string.StringTest) ... ok test_swapcase (test.test_string.StringTest) ... ok test_translate (test.test_string.StringTest) ... ok test_upper (test.test_string.StringTest) ... ok test_zfill (test.test_string.StringTest) ... ok test_atof (test.test_string.ModuleTest) ... ok test_atoi (test.test_string.ModuleTest) ... ok test_atol (test.test_string.ModuleTest) ... ok test_attrs (test.test_string.ModuleTest) ... ok test_capwords (test.test_string.ModuleTest) ... ok test_formatter (test.test_string.ModuleTest) ... ok test_maketrans (test.test_string.ModuleTest) ... ok test_builtin (test.test_string.BytesAliasTest) ... ok test_syntax (test.test_string.BytesAliasTest) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.206s OK test_stringprep test (test.test_stringprep.StringprepTests) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_strop test_atof (test.test_strop.StropFunctionTestCase) ... ok test_atoi (test.test_strop.StropFunctionTestCase) ... ok test_atol (test.test_strop.StropFunctionTestCase) ... ok test_capitalize (test.test_strop.StropFunctionTestCase) ... ok test_data_attributes (test.test_strop.StropFunctionTestCase) ... ok test_find (test.test_strop.StropFunctionTestCase) ... ok test_join (test.test_strop.StropFunctionTestCase) ... ok test_lower (test.test_strop.StropFunctionTestCase) ... ok test_lstrip (test.test_strop.StropFunctionTestCase) ... ok test_maketrans (test.test_strop.StropFunctionTestCase) ... ok test_replace (test.test_strop.StropFunctionTestCase) ... ok test_rfind (test.test_strop.StropFunctionTestCase) ... ok test_rstrip (test.test_strop.StropFunctionTestCase) ... ok test_split (test.test_strop.StropFunctionTestCase) ... ok test_strip (test.test_strop.StropFunctionTestCase) ... ok test_stropjoin_huge_list (test.test_strop.StropFunctionTestCase) ... ok test_stropjoin_huge_tup (test.test_strop.StropFunctionTestCase) ... ok test_swapcase (test.test_strop.StropFunctionTestCase) ... ok test_translate (test.test_strop.StropFunctionTestCase) ... ok test_upper (test.test_strop.StropFunctionTestCase) ... ok ---------------------------------------------------------------------- Ran 20 tests in 0.001s OK test_strptime test_basic (test.test_strptime.getlang_Tests) ... ok test_am_pm (test.test_strptime.LocaleTime_Tests) ... ok test_date_time (test.test_strptime.LocaleTime_Tests) ... ok test_lang (test.test_strptime.LocaleTime_Tests) ... ok test_month (test.test_strptime.LocaleTime_Tests) ... ok test_timezone (test.test_strptime.LocaleTime_Tests) ... ok test_weekday (test.test_strptime.LocaleTime_Tests) ... ok test_blankpattern (test.test_strptime.TimeRETests) ... ok test_compile (test.test_strptime.TimeRETests) ... ok test_locale_data_w_regex_metacharacters (test.test_strptime.TimeRETests) ... ok test_matching_with_escapes (test.test_strptime.TimeRETests) ... ok test_pattern (test.test_strptime.TimeRETests) ... ok test_pattern_escaping (test.test_strptime.TimeRETests) ... ok test_whitespace_substitution (test.test_strptime.TimeRETests) ... ok test_ValueError (test.test_strptime.StrptimeTests) ... ok test_bad_timezone (test.test_strptime.StrptimeTests) ... ok test_caseinsensitive (test.test_strptime.StrptimeTests) ... ok test_date (test.test_strptime.StrptimeTests) ... ok test_date_time (test.test_strptime.StrptimeTests) ... ok test_day (test.test_strptime.StrptimeTests) ... ok test_defaults (test.test_strptime.StrptimeTests) ... ok test_escaping (test.test_strptime.StrptimeTests) ... ok test_fraction (test.test_strptime.StrptimeTests) ... ok test_hour (test.test_strptime.StrptimeTests) ... ok test_julian (test.test_strptime.StrptimeTests) ... ok test_minute (test.test_strptime.StrptimeTests) ... ok test_month (test.test_strptime.StrptimeTests) ... ok test_percent (test.test_strptime.StrptimeTests) ... ok test_second (test.test_strptime.StrptimeTests) ... ok test_time (test.test_strptime.StrptimeTests) ... ok test_timezone (test.test_strptime.StrptimeTests) ... ok test_unconverteddata (test.test_strptime.StrptimeTests) ... ok test_weekday (test.test_strptime.StrptimeTests) ... ok test_year (test.test_strptime.StrptimeTests) ... ok test_twelve_noon_midnight (test.test_strptime.Strptime12AMPMTests) ... ok test_all_julian_days (test.test_strptime.JulianTests) ... ok test_day_of_week_calculation (test.test_strptime.CalculationTests) ... ok test_gregorian_calculation (test.test_strptime.CalculationTests) ... ok test_julian_calculation (test.test_strptime.CalculationTests) ... ok test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) ... ok test_TimeRE_recreation (test.test_strptime.CacheTests) ... ok test_new_localetime (test.test_strptime.CacheTests) ... ok test_regex_cleanup (test.test_strptime.CacheTests) ... ok test_time_re_recreation (test.test_strptime.CacheTests) ... ok ---------------------------------------------------------------------- Ran 44 tests in 0.065s OK test_struct test_1530559 (test.test_struct.StructTest) ... ok test_705836 (test.test_struct.StructTest) ... ok test_bool (test.test_struct.StructTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_struct.py:474: DeprecationWarning: classic long division true = [1], 'test', 5, -1, 0xffffffffL+1, 0xffffffff/2 ok test_calcsize (test.test_struct.StructTest) ... ok test_consistence (test.test_struct.StructTest) ... ok test_crasher (test.test_struct.StructTest) ... ok test_integers (test.test_struct.StructTest) ... ok test_isbigendian (test.test_struct.StructTest) ... ok test_new_features (test.test_struct.StructTest) ... ok test_p_code (test.test_struct.StructTest) ... ok test_pack_into (test.test_struct.StructTest) ... ok test_pack_into_fn (test.test_struct.StructTest) ... ok test_transitiveness (test.test_struct.StructTest) ... ok test_unpack_from (test.test_struct.StructTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_struct.py:399: DeprecationWarning: buffer() not supported in 3.x data = cls(test_string) /home/exarkun/Projects/python/trunk/Lib/test/test_struct.py:408: DeprecationWarning: buffer() not supported in 3.x data = cls(test_string) ok test_unpack_with_buffer (test.test_struct.StructTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_struct.py:466: DeprecationWarning: buffer() not supported in 3.x data2 = buffer('......\x12\x34\x56\x78......', 6, 4) ok ---------------------------------------------------------------------- Ran 15 tests in 0.886s OK test_structmembers test_types (test.test_structmembers.ReadWriteTests) ... ok test_byte_max (test.test_structmembers.TestWarnings) ... ok test_byte_min (test.test_structmembers.TestWarnings) ... ok test_short_max (test.test_structmembers.TestWarnings) ... ok test_short_min (test.test_structmembers.TestWarnings) ... ok test_ubyte_max (test.test_structmembers.TestWarnings) ... ok test_ushort_max (test.test_structmembers.TestWarnings) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.001s OK test_structseq test_cmp (test.test_structseq.StructSeqTest) ... ok test_concat (test.test_structseq.StructSeqTest) ... ok test_constructor (test.test_structseq.StructSeqTest) ... ok test_contains (test.test_structseq.StructSeqTest) ... ok test_eviltuple (test.test_structseq.StructSeqTest) ... ok test_extended_getslice (test.test_structseq.StructSeqTest) ... ok test_fields (test.test_structseq.StructSeqTest) ... ok test_hash (test.test_structseq.StructSeqTest) ... ok test_reduce (test.test_structseq.StructSeqTest) ... ok test_repeat (test.test_structseq.StructSeqTest) ... ok test_repr (test.test_structseq.StructSeqTest) ... ok test_tuple (test.test_structseq.StructSeqTest) ... ok ---------------------------------------------------------------------- Ran 12 tests in 0.010s OK test_subprocess test_args_string (test.test_subprocess.ProcessTestCase) ... ok test_call_kwargs (test.test_subprocess.ProcessTestCase) ... ok test_call_seq (test.test_subprocess.ProcessTestCase) ... ok test_call_string (test.test_subprocess.ProcessTestCase) ... ok test_check_call_nonzero (test.test_subprocess.ProcessTestCase) ... ok test_check_call_zero (test.test_subprocess.ProcessTestCase) ... ok test_check_output (test.test_subprocess.ProcessTestCase) ... ok test_check_output_nonzero (test.test_subprocess.ProcessTestCase) ... ok test_check_output_stderr (test.test_subprocess.ProcessTestCase) ... ok test_check_output_stdout_arg (test.test_subprocess.ProcessTestCase) ... ok test_communicate (test.test_subprocess.ProcessTestCase) ... ok test_communicate_pipe_buf (test.test_subprocess.ProcessTestCase) ... ok test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCase) ... ok test_communicate_returns (test.test_subprocess.ProcessTestCase) ... ok test_communicate_stderr (test.test_subprocess.ProcessTestCase) ... ok test_communicate_stdin (test.test_subprocess.ProcessTestCase) ... ok test_communicate_stdout (test.test_subprocess.ProcessTestCase) ... ok test_cwd (test.test_subprocess.ProcessTestCase) ... ok test_env (test.test_subprocess.ProcessTestCase) ... ok test_exceptions (test.test_subprocess.ProcessTestCase) ... ok test_executable (test.test_subprocess.ProcessTestCase) ... ok test_invalid_args (test.test_subprocess.ProcessTestCase) ... ok test_invalid_bufsize (test.test_subprocess.ProcessTestCase) ... ok test_leaking_fds_on_error (test.test_subprocess.ProcessTestCase) ... ok test_list2cmdline (test.test_subprocess.ProcessTestCase) ... ok test_no_leaking (test.test_subprocess.ProcessTestCase) ... ok test_poll (test.test_subprocess.ProcessTestCase) ... ok test_preexec (test.test_subprocess.ProcessTestCase) ... ok test_run_abort (test.test_subprocess.ProcessTestCase) ... ok test_shell_sequence (test.test_subprocess.ProcessTestCase) ... ok test_shell_string (test.test_subprocess.ProcessTestCase) ... ok test_stderr_filedes (test.test_subprocess.ProcessTestCase) ... ok test_stderr_fileobj (test.test_subprocess.ProcessTestCase) ... ok test_stderr_none (test.test_subprocess.ProcessTestCase) ... ok test_stderr_pipe (test.test_subprocess.ProcessTestCase) ... ok test_stdin_filedes (test.test_subprocess.ProcessTestCase) ... ok test_stdin_fileobj (test.test_subprocess.ProcessTestCase) ... ok test_stdin_none (test.test_subprocess.ProcessTestCase) ... ok test_stdin_pipe (test.test_subprocess.ProcessTestCase) ... ok test_stdout_filedes (test.test_subprocess.ProcessTestCase) ... ok test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCase) ... . ok test_stdout_fileobj (test.test_subprocess.ProcessTestCase) ... ok test_stdout_none (test.test_subprocess.ProcessTestCase) ... this bit of output is from a test of stdout in a different process ... ok test_stdout_pipe (test.test_subprocess.ProcessTestCase) ... ok test_stdout_stderr_file (test.test_subprocess.ProcessTestCase) ... ok test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCase) ... ok test_universal_newlines (test.test_subprocess.ProcessTestCase) ... ok test_universal_newlines_communicate (test.test_subprocess.ProcessTestCase) ... ok test_wait (test.test_subprocess.ProcessTestCase) ... ok test_writes_before_communicate (test.test_subprocess.ProcessTestCase) ... ok test_args_string (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_call_kwargs (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_call_seq (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_call_string (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_call_nonzero (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_call_zero (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_output (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_output_nonzero (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_output_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_output_stdout_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_communicate_pipe_buf (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_communicate_returns (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_communicate_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_communicate_stdout (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_cwd (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_env (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_exceptions (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_executable (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_invalid_args (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_invalid_bufsize (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_leaking_fds_on_error (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_list2cmdline (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_no_leaking (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_poll (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_preexec (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_run_abort (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_shell_sequence (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_shell_string (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stderr_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stderr_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stderr_none (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdin_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdin_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdin_none (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdin_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdout_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCaseNoPoll) ... . ok test_stdout_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdout_none (test.test_subprocess.ProcessTestCaseNoPoll) ... this bit of output is from a test of stdout in a different process ... ok test_stdout_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdout_stderr_file (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_universal_newlines (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_universal_newlines_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_wait (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_writes_before_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... ok ---------------------------------------------------------------------- Ran 100 tests in 71.887s OK test_sunaudiodev test_sunaudiodev skipped -- No module named sunaudiodev test_sundry test_at_least_import_untested_modules (test.test_sundry.TestUntestedModules) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.002s OK test_symtable test_assigned (test.test_symtable.SymtableTest) ... ok test_children (test.test_symtable.SymtableTest) ... ok test_class_info (test.test_symtable.SymtableTest) ... ok test_eval (test.test_symtable.SymtableTest) ... ok test_exec (test.test_symtable.SymtableTest) ... ok test_filename_correct (test.test_symtable.SymtableTest) ... ok test_function_info (test.test_symtable.SymtableTest) ... ok test_globals (test.test_symtable.SymtableTest) ... ok test_imported (test.test_symtable.SymtableTest) ... ok test_lineno (test.test_symtable.SymtableTest) ... ok test_local (test.test_symtable.SymtableTest) ... ok test_name (test.test_symtable.SymtableTest) ... ok test_namespaces (test.test_symtable.SymtableTest) ... ok test_nested (test.test_symtable.SymtableTest) ... ok test_optimized (test.test_symtable.SymtableTest) ... ok test_parameters (test.test_symtable.SymtableTest) ... ok test_referenced (test.test_symtable.SymtableTest) ... ok test_single (test.test_symtable.SymtableTest) ... ok test_symbol_lookup (test.test_symtable.SymtableTest) ... ok test_type (test.test_symtable.SymtableTest) ... ok ---------------------------------------------------------------------- Ran 20 tests in 0.001s OK test_syntax test_assign_call (test.test_syntax.SyntaxTestCase) ... ok test_assign_del (test.test_syntax.SyntaxTestCase) ... ok test_bad_outdent (test.test_syntax.SyntaxTestCase) ... ok test_break_outside_loop (test.test_syntax.SyntaxTestCase) ... ok test_delete_deref (test.test_syntax.SyntaxTestCase) ... ok test_global_err_then_warn (test.test_syntax.SyntaxTestCase) ... ok test_kwargs_last (test.test_syntax.SyntaxTestCase) ... ok test_no_indent (test.test_syntax.SyntaxTestCase) ... ok test_unexpected_indent (test.test_syntax.SyntaxTestCase) ... :1: SyntaxWarning: backquote not supported in 3.x; use repr() `1` = 1 ok ---------------------------------------------------------------------- Ran 9 tests in 0.002s OK Trying: def f(x): global x Expecting: Traceback (most recent call last): SyntaxError: name 'x' is local and global (, line 1) ok Trying: obj.None = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: None = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: () = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to () ok Trying: f() = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to function call ok Trying: del f() Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't delete function call ok Trying: a + 1 = 2 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to operator ok Trying: (x for x in x) = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to generator expression ok Trying: 1 = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to literal ok Trying: "abc" = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to literal ok Trying: `1` = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to repr ok Trying: (a, "b", c) = (1, 2, 3) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to literal ok Trying: [a, b, c + 1] = [1, 2, 3] Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to operator ok Trying: a if 1 else b = 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to conditional expression ok Trying: def f(None=1): pass Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: def f(x, y=1, z): pass Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: non-default argument follows default argument ok Trying: def f(x, None): pass Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: def f(*None): pass Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: def f(**None): pass Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: def None(x): pass Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: def f(it, *varargs): return list(it) Expecting nothing ok Trying: L = range(10) Expecting nothing ok Trying: f(x for x in L) Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] ok Trying: f(x for x in L, 1) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: Generator expression must be parenthesized if not sole argument ok Trying: f((x for x in L), 1) Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] ok Trying: f(i0, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26, i27, i28, i29, i30, i31, i32, i33, i34, i35, i36, i37, i38, i39, i40, i41, i42, i43, i44, i45, i46, i47, i48, i49, i50, i51, i52, i53, i54, i55, i56, i57, i58, i59, i60, i61, i62, i63, i64, i65, i66, i67, i68, i69, i70, i71, i72, i73, i74, i75, i76, i77, i78, i79, i80, i81, i82, i83, i84, i85, i86, i87, i88, i89, i90, i91, i92, i93, i94, i95, i96, i97, i98, i99, i100, i101, i102, i103, i104, i105, i106, i107, i108, i109, i110, i111, i112, i113, i114, i115, i116, i117, i118, i119, i120, i121, i122, i123, i124, i125, i126, i127, i128, i129, i130, i131, i132, i133, i134, i135, i136, i137, i138, i139, i140, i141, i142, i143, i144, i145, i146, i147, i148, i149, i150, i151, i152, i153, i154, i155, i156, i157, i158, i159, i160, i161, i162, i163, i164, i165, i166, i167, i168, i169, i170, i171, i172, i173, i174, i175, i176, i177, i178, i179, i180, i181, i182, i183, i184, i185, i186, i187, i188, i189, i190, i191, i192, i193, i194, i195, i196, i197, i198, i199, i200, i201, i202, i203, i204, i205, i206, i207, i208, i209, i210, i211, i212, i213, i214, i215, i216, i217, i218, i219, i220, i221, i222, i223, i224, i225, i226, i227, i228, i229, i230, i231, i232, i233, i234, i235, i236, i237, i238, i239, i240, i241, i242, i243, i244, i245, i246, i247, i248, i249, i250, i251, i252, i253, i254, i255) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: more than 255 arguments ok Trying: f(i0, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26, i27, i28, i29, i30, i31, i32, i33, i34, i35, i36, i37, i38, i39, i40, i41, i42, i43, i44, i45, i46, i47, i48, i49, i50, i51, i52, i53, i54, i55, i56, i57, i58, i59, i60, i61, i62, i63, i64, i65, i66, i67, i68, i69, i70, i71, i72, i73, i74, i75, i76, i77, i78, i79, i80, i81, i82, i83, i84, i85, i86, i87, i88, i89, i90, i91, i92, i93, i94, i95, i96, i97, i98, i99, i100, i101, i102, i103, i104, i105, i106, i107, i108, i109, i110, i111, i112, i113, i114, i115, i116, i117, i118, i119, i120, i121, i122, i123, i124, i125, i126, i127, i128, i129, i130, i131, i132, i133, i134, i135, i136, i137, i138, i139, i140, i141, i142, i143, i144, i145, i146, i147, i148, i149, i150, i151, i152, i153, i154, i155, i156, i157, i158, i159, i160, i161, i162, i163, i164, i165, i166, i167, i168, i169, i170, i171, i172, i173, i174, i175, i176, i177, i178, i179, i180, i181, i182, i183, i184, i185, i186, i187, i188, i189, i190, i191, i192, i193, i194, i195, i196, i197, i198, i199, i200, i201, i202, i203, i204, i205, i206, i207, i208, i209, i210, i211, i212, i213, i214, i215, i216, i217, i218, i219, i220, i221, i222, i223, i224, i225, i226, i227, i228, i229, i230, i231, i232, i233, i234, i235, i236, i237, i238, i239, i240, i241, i242, i243, (x for x in i244), i245, i246, i247, i248, i249, i250, i251, i252=1, i253=1, i254=1, i255=1) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: more than 255 arguments ok Trying: f(lambda x: x[0] = 3) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: lambda cannot contain assignment ok Trying: f(x()=2) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: keyword can't be an expression ok Trying: f(a or b=1) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: keyword can't be an expression ok Trying: f(x.y=1) Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: keyword can't be an expression ok Trying: (x for x in x) += 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to generator expression ok Trying: None += 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: cannot assign to None ok Trying: f() += 1 Expecting: Traceback (most recent call last): File "", line 1 SyntaxError: can't assign to function call ok Trying: def test(): try: pass finally: for abc in range(10): continue print abc Expecting nothing ok Trying: test() Expecting: 9 ok Trying: def test(): for abc in range(10): try: pass finally: continue Expecting: Traceback (most recent call last): ... File "", line 6 SyntaxError: 'continue' not supported inside 'finally' clause ok Trying: def test(): for abc in range(10): try: pass finally: try: continue except: pass Expecting: Traceback (most recent call last): ... File "", line 6 SyntaxError: 'continue' not supported inside 'finally' clause ok Trying: def foo(): try: pass finally: continue Expecting: Traceback (most recent call last): ... File "", line 5 SyntaxError: 'continue' not supported inside 'finally' clause ok Trying: def foo(): for a in (): try: pass finally: continue Expecting: Traceback (most recent call last): ... File "", line 6 SyntaxError: 'continue' not supported inside 'finally' clause ok Trying: def foo(): for a in (): try: pass finally: try: continue finally: pass Expecting: Traceback (most recent call last): ... File "", line 7 SyntaxError: 'continue' not supported inside 'finally' clause ok Trying: def foo(): for a in (): try: pass finally: try: pass except: continue Expecting: Traceback (most recent call last): ... File "", line 8 SyntaxError: 'continue' not supported inside 'finally' clause ok Trying: try: print 1 break print 2 finally: print 3 Expecting: Traceback (most recent call last): ... File "", line 3 SyntaxError: 'break' outside loop ok Trying: while 1: while 2: while 3: while 4: while 5: while 6: while 8: while 9: while 10: while 11: while 12: while 13: while 14: while 15: while 16: while 17: while 18: while 19: while 20: while 21: while 22: break Expecting: Traceback (most recent call last): ... SystemError: too many statically nested blocks ok Trying: if 1: x() = 1 elif 1: pass Expecting: Traceback (most recent call last): ... File "", line 2 SyntaxError: can't assign to function call ok Trying: if 1: pass elif 1: x() = 1 Expecting: Traceback (most recent call last): ... File "", line 4 SyntaxError: can't assign to function call ok Trying: if 1: x() = 1 elif 1: pass else: pass Expecting: Traceback (most recent call last): ... File "", line 2 SyntaxError: can't assign to function call ok Trying: if 1: pass elif 1: x() = 1 else: pass Expecting: Traceback (most recent call last): ... File "", line 4 SyntaxError: can't assign to function call ok Trying: if 1: pass elif 1: pass else: x() = 1 Expecting: Traceback (most recent call last): ... File "", line 6 SyntaxError: can't assign to function call ok Trying: f(a=23, a=234) Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: keyword argument repeated ok Trying: del () Expecting: Traceback (most recent call last): ... File "", line 1 SyntaxError: can't delete () ok 12 items had no tests: test.test_syntax.SyntaxTestCase test.test_syntax.SyntaxTestCase._check_error test.test_syntax.SyntaxTestCase.test_assign_call test.test_syntax.SyntaxTestCase.test_assign_del test.test_syntax.SyntaxTestCase.test_bad_outdent test.test_syntax.SyntaxTestCase.test_break_outside_loop test.test_syntax.SyntaxTestCase.test_delete_deref test.test_syntax.SyntaxTestCase.test_global_err_then_warn test.test_syntax.SyntaxTestCase.test_kwargs_last test.test_syntax.SyntaxTestCase.test_no_indent test.test_syntax.SyntaxTestCase.test_unexpected_indent test.test_syntax.test_main 1 items passed all tests: 51 tests in test.test_syntax 51 tests in 13 items. 51 passed and 0 failed. Test passed. doctest (test.test_syntax) ... 51 tests with zero failures test_sys test_43581 (test.test_sys.SysModuleTest) ... ok test_attributes (test.test_sys.SysModuleTest) ... ok test_clear_type_cache (test.test_sys.SysModuleTest) ... ok test_current_frames (test.test_sys.SysModuleTest) ... ok test_custom_displayhook (test.test_sys.SysModuleTest) ... ok test_dlopenflags (test.test_sys.SysModuleTest) ... ok test_exc_clear (test.test_sys.SysModuleTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sys.py:78: DeprecationWarning: sys.exc_clear() not supported in 3.x; use except clauses sys.exc_clear() ok test_exit (test.test_sys.SysModuleTest) ... ok test_getdefaultencoding (test.test_sys.SysModuleTest) ... ok test_getframe (test.test_sys.SysModuleTest) ... ok test_getwindowsversion (test.test_sys.SysModuleTest) ... ok test_ioencoding (test.test_sys.SysModuleTest) ... ok test_lost_displayhook (test.test_sys.SysModuleTest) ... ok test_original_displayhook (test.test_sys.SysModuleTest) ... ok test_original_excepthook (test.test_sys.SysModuleTest) ... ok test_recursionlimit (test.test_sys.SysModuleTest) ... ok test_refcount (test.test_sys.SysModuleTest) ... ok test_setcheckinterval (test.test_sys.SysModuleTest) ... ok test_sys_flags (test.test_sys.SysModuleTest) ... ok test_default (test.test_sys.SizeofTest) ... ok test_gc_head_size (test.test_sys.SizeofTest) ... ok test_objecttypes (test.test_sys.SizeofTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_sys.py:481: DeprecationWarning: buffer() not supported in 3.x check(buffer(''), size(h + '2P2Pil')) ok test_pythontypes (test.test_sys.SizeofTest) ... ok ---------------------------------------------------------------------- Ran 23 tests in 0.103s OK test_tarfile test_fileobj_iter (test.test_tarfile.UstarReadTest) ... ok test_fileobj_readlines (test.test_tarfile.UstarReadTest) ... ok test_fileobj_regular_file (test.test_tarfile.UstarReadTest) ... ok test_fileobj_seek (test.test_tarfile.UstarReadTest) ... ok test_check_members (test.test_tarfile.MiscReadTest) ... ok test_empty_name_attribute (test.test_tarfile.MiscReadTest) ... ok test_extract_hardlink (test.test_tarfile.MiscReadTest) ... ok test_extractall (test.test_tarfile.MiscReadTest) ... ok test_fail_comp (test.test_tarfile.MiscReadTest) ... ok test_fileobj_with_offset (test.test_tarfile.MiscReadTest) ... ok test_find_members (test.test_tarfile.MiscReadTest) ... ok test_no_name_argument (test.test_tarfile.MiscReadTest) ... ok test_no_name_attribute (test.test_tarfile.MiscReadTest) ... ok test_v7_dirtype (test.test_tarfile.MiscReadTest) ... ok test_xstar_type (test.test_tarfile.MiscReadTest) ... ok test_compare_members (test.test_tarfile.StreamReadTest) ... ok test_fileobj_regular_file (test.test_tarfile.StreamReadTest) ... ok test_provoke_stream_error (test.test_tarfile.StreamReadTest) ... ok test_detect_file (test.test_tarfile.DetectReadTest) ... ok test_detect_fileobj (test.test_tarfile.DetectReadTest) ... ok test_find_blktype (test.test_tarfile.MemberReadTest) ... ok test_find_chrtype (test.test_tarfile.MemberReadTest) ... ok test_find_conttype (test.test_tarfile.MemberReadTest) ... ok test_find_dirtype (test.test_tarfile.MemberReadTest) ... ok test_find_dirtype_with_size (test.test_tarfile.MemberReadTest) ... ok test_find_fifotype (test.test_tarfile.MemberReadTest) ... ok test_find_lnktype (test.test_tarfile.MemberReadTest) ... ok test_find_pax_umlauts (test.test_tarfile.MemberReadTest) ... ok test_find_regtype (test.test_tarfile.MemberReadTest) ... ok test_find_regtype_oldv7 (test.test_tarfile.MemberReadTest) ... ok test_find_sparse (test.test_tarfile.MemberReadTest) ... ok test_find_symtype (test.test_tarfile.MemberReadTest) ... ok test_find_umlauts (test.test_tarfile.MemberReadTest) ... ok test_find_ustar_longname (test.test_tarfile.MemberReadTest) ... ok test_header_offset (test.test_tarfile.GNUReadTest) ... ok test_read_longlink (test.test_tarfile.GNUReadTest) ... ok test_read_longname (test.test_tarfile.GNUReadTest) ... ok test_sparse_file (test.test_tarfile.GNUReadTest) ... ok test_truncated_longname (test.test_tarfile.GNUReadTest) ... ok test_header_offset (test.test_tarfile.PaxReadTest) ... ok test_pax_global_headers (test.test_tarfile.PaxReadTest) ... ok test_pax_number_fields (test.test_tarfile.PaxReadTest) ... ok test_read_longlink (test.test_tarfile.PaxReadTest) ... ok test_read_longname (test.test_tarfile.PaxReadTest) ... ok test_truncated_longname (test.test_tarfile.PaxReadTest) ... ok test_100_char_name (test.test_tarfile.WriteTest) ... ok test_abs_pathnames (test.test_tarfile.WriteTest) ... ok test_add_self (test.test_tarfile.WriteTest) ... ok test_cwd (test.test_tarfile.WriteTest) ... ok test_directory_size (test.test_tarfile.WriteTest) ... ok test_exclude (test.test_tarfile.WriteTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_tarfile.py:654: DeprecationWarning: use the filter argument instead tar.add(tempdir, arcname="empty_dir", exclude=exclude) /home/exarkun/Projects/python/trunk/Lib/tarfile.py:1978: DeprecationWarning: use the filter argument instead recursive, exclude, filter) ok test_file_size (test.test_tarfile.WriteTest) ... ok test_fileobj_no_close (test.test_tarfile.WriteTest) ... ok test_filter (test.test_tarfile.WriteTest) ... ok test_link_size (test.test_tarfile.WriteTest) ... ok test_pathnames (test.test_tarfile.WriteTest) ... ok test_symlink_size (test.test_tarfile.WriteTest) ... ok test_tar_size (test.test_tarfile.WriteTest) ... ok test_fileobj_no_close (test.test_tarfile.StreamWriteTest) ... ok test_stream_padding (test.test_tarfile.StreamWriteTest) ... ok test_longlink_1023 (test.test_tarfile.GNUWriteTest) ... ok test_longlink_1024 (test.test_tarfile.GNUWriteTest) ... ok test_longlink_1025 (test.test_tarfile.GNUWriteTest) ... ok test_longname_1023 (test.test_tarfile.GNUWriteTest) ... ok test_longname_1024 (test.test_tarfile.GNUWriteTest) ... ok test_longname_1025 (test.test_tarfile.GNUWriteTest) ... ok test_longnamelink_1023 (test.test_tarfile.GNUWriteTest) ... ok test_longnamelink_1024 (test.test_tarfile.GNUWriteTest) ... ok test_longnamelink_1025 (test.test_tarfile.GNUWriteTest) ... ok test_longlink_1023 (test.test_tarfile.PaxWriteTest) ... ok test_longlink_1024 (test.test_tarfile.PaxWriteTest) ... ok test_longlink_1025 (test.test_tarfile.PaxWriteTest) ... ok test_longname_1023 (test.test_tarfile.PaxWriteTest) ... ok test_longname_1024 (test.test_tarfile.PaxWriteTest) ... ok test_longname_1025 (test.test_tarfile.PaxWriteTest) ... ok test_longnamelink_1023 (test.test_tarfile.PaxWriteTest) ... ok test_longnamelink_1024 (test.test_tarfile.PaxWriteTest) ... ok test_longnamelink_1025 (test.test_tarfile.PaxWriteTest) ... ok test_pax_extended_header (test.test_tarfile.PaxWriteTest) ... ok test_pax_global_header (test.test_tarfile.PaxWriteTest) ... ok test_iso8859_1_filename (test.test_tarfile.UstarUnicodeTest) ... ok test_uname_unicode (test.test_tarfile.UstarUnicodeTest) ... ok test_unicode_argument (test.test_tarfile.UstarUnicodeTest) ... ok test_unicode_filename_error (test.test_tarfile.UstarUnicodeTest) ... ok test_utf7_filename (test.test_tarfile.UstarUnicodeTest) ... ok test_utf8_filename (test.test_tarfile.UstarUnicodeTest) ... ok test_iso8859_1_filename (test.test_tarfile.GNUUnicodeTest) ... ok test_uname_unicode (test.test_tarfile.GNUUnicodeTest) ... ok test_unicode_argument (test.test_tarfile.GNUUnicodeTest) ... ok test_unicode_filename_error (test.test_tarfile.GNUUnicodeTest) ... ok test_utf7_filename (test.test_tarfile.GNUUnicodeTest) ... ok test_utf8_filename (test.test_tarfile.GNUUnicodeTest) ... ok test_error_handler_utf8 (test.test_tarfile.PaxUnicodeTest) ... ok test_error_handlers (test.test_tarfile.PaxUnicodeTest) ... ok test_iso8859_1_filename (test.test_tarfile.PaxUnicodeTest) ... ok test_uname_unicode (test.test_tarfile.PaxUnicodeTest) ... ok test_unicode_argument (test.test_tarfile.PaxUnicodeTest) ... ok test_unicode_filename_error (test.test_tarfile.PaxUnicodeTest) ... ok test_utf7_filename (test.test_tarfile.PaxUnicodeTest) ... ok test_utf8_filename (test.test_tarfile.PaxUnicodeTest) ... ok test_append_bz2 (test.test_tarfile.AppendTest) ... ok test_append_gz (test.test_tarfile.AppendTest) ... ok test_empty (test.test_tarfile.AppendTest) ... ok test_empty_fileobj (test.test_tarfile.AppendTest) ... ok test_existing (test.test_tarfile.AppendTest) ... ok test_fileobj (test.test_tarfile.AppendTest) ... ok test_non_existing (test.test_tarfile.AppendTest) ... ok test_gnu_limits (test.test_tarfile.LimitsTest) ... ok test_pax_limits (test.test_tarfile.LimitsTest) ... ok test_ustar_limits (test.test_tarfile.LimitsTest) ... ok test_add_hardlink (test.test_tarfile.HardlinkTest) ... ok test_add_twice (test.test_tarfile.HardlinkTest) ... ok test_dereference_hardlink (test.test_tarfile.HardlinkTest) ... ok test_check_members (test.test_tarfile.GzipMiscReadTest) ... ok test_empty_name_attribute (test.test_tarfile.GzipMiscReadTest) ... ok test_extract_hardlink (test.test_tarfile.GzipMiscReadTest) ... ok test_extractall (test.test_tarfile.GzipMiscReadTest) ... ok test_fail_comp (test.test_tarfile.GzipMiscReadTest) ... ok test_fileobj_with_offset (test.test_tarfile.GzipMiscReadTest) ... ok test_find_members (test.test_tarfile.GzipMiscReadTest) ... ok test_no_name_argument (test.test_tarfile.GzipMiscReadTest) ... ok test_no_name_attribute (test.test_tarfile.GzipMiscReadTest) ... ok test_v7_dirtype (test.test_tarfile.GzipMiscReadTest) ... ok test_xstar_type (test.test_tarfile.GzipMiscReadTest) ... ok test_fileobj_iter (test.test_tarfile.GzipUstarReadTest) ... ok test_fileobj_readlines (test.test_tarfile.GzipUstarReadTest) ... ok test_fileobj_regular_file (test.test_tarfile.GzipUstarReadTest) ... ok test_fileobj_seek (test.test_tarfile.GzipUstarReadTest) ... ok test_compare_members (test.test_tarfile.GzipStreamReadTest) ... ok test_fileobj_regular_file (test.test_tarfile.GzipStreamReadTest) ... ok test_provoke_stream_error (test.test_tarfile.GzipStreamReadTest) ... ok test_100_char_name (test.test_tarfile.GzipWriteTest) ... ok test_abs_pathnames (test.test_tarfile.GzipWriteTest) ... ok test_add_self (test.test_tarfile.GzipWriteTest) ... ok test_cwd (test.test_tarfile.GzipWriteTest) ... ok test_directory_size (test.test_tarfile.GzipWriteTest) ... ok test_exclude (test.test_tarfile.GzipWriteTest) ... ok test_file_size (test.test_tarfile.GzipWriteTest) ... ok test_fileobj_no_close (test.test_tarfile.GzipWriteTest) ... ok test_filter (test.test_tarfile.GzipWriteTest) ... ok test_link_size (test.test_tarfile.GzipWriteTest) ... ok test_pathnames (test.test_tarfile.GzipWriteTest) ... ok test_symlink_size (test.test_tarfile.GzipWriteTest) ... ok test_tar_size (test.test_tarfile.GzipWriteTest) ... ok test_fileobj_no_close (test.test_tarfile.GzipStreamWriteTest) ... ok test_stream_padding (test.test_tarfile.GzipStreamWriteTest) ... ok test_check_members (test.test_tarfile.Bz2MiscReadTest) ... ok test_empty_name_attribute (test.test_tarfile.Bz2MiscReadTest) ... ok test_extract_hardlink (test.test_tarfile.Bz2MiscReadTest) ... ok test_extractall (test.test_tarfile.Bz2MiscReadTest) ... ok test_fail_comp (test.test_tarfile.Bz2MiscReadTest) ... ok test_fileobj_with_offset (test.test_tarfile.Bz2MiscReadTest) ... ok test_find_members (test.test_tarfile.Bz2MiscReadTest) ... ok test_no_name_argument (test.test_tarfile.Bz2MiscReadTest) ... ok test_no_name_attribute (test.test_tarfile.Bz2MiscReadTest) ... ok test_v7_dirtype (test.test_tarfile.Bz2MiscReadTest) ... ok test_xstar_type (test.test_tarfile.Bz2MiscReadTest) ... ok test_fileobj_iter (test.test_tarfile.Bz2UstarReadTest) ... ok test_fileobj_readlines (test.test_tarfile.Bz2UstarReadTest) ... ok test_fileobj_regular_file (test.test_tarfile.Bz2UstarReadTest) ... ok test_fileobj_seek (test.test_tarfile.Bz2UstarReadTest) ... ok test_compare_members (test.test_tarfile.Bz2StreamReadTest) ... ok test_fileobj_regular_file (test.test_tarfile.Bz2StreamReadTest) ... ok test_provoke_stream_error (test.test_tarfile.Bz2StreamReadTest) ... ok test_100_char_name (test.test_tarfile.Bz2WriteTest) ... ok test_abs_pathnames (test.test_tarfile.Bz2WriteTest) ... ok test_add_self (test.test_tarfile.Bz2WriteTest) ... ok test_cwd (test.test_tarfile.Bz2WriteTest) ... ok test_directory_size (test.test_tarfile.Bz2WriteTest) ... ok test_exclude (test.test_tarfile.Bz2WriteTest) ... ok test_file_size (test.test_tarfile.Bz2WriteTest) ... ok test_fileobj_no_close (test.test_tarfile.Bz2WriteTest) ... ok test_filter (test.test_tarfile.Bz2WriteTest) ... ok test_link_size (test.test_tarfile.Bz2WriteTest) ... ok test_pathnames (test.test_tarfile.Bz2WriteTest) ... ok test_symlink_size (test.test_tarfile.Bz2WriteTest) ... ok test_tar_size (test.test_tarfile.Bz2WriteTest) ... ok test_fileobj_no_close (test.test_tarfile.Bz2StreamWriteTest) ... ok test_stream_padding (test.test_tarfile.Bz2StreamWriteTest) ... ok test_partial_input (test.test_tarfile.Bz2PartialReadTest) ... ok test_partial_input_bz2 (test.test_tarfile.Bz2PartialReadTest) ... ok ---------------------------------------------------------------------- Ran 181 tests in 0.768s OK test_tcl testCall (test.test_tcl.TclTest) ... ok testCallException (test.test_tcl.TclTest) ... ok testCallException2 (test.test_tcl.TclTest) ... ok testEval (test.test_tcl.TclTest) ... ok testEvalException (test.test_tcl.TclTest) ... ok testEvalException2 (test.test_tcl.TclTest) ... ok testEvalFile (test.test_tcl.TclTest) ... ok testEvalFileException (test.test_tcl.TclTest) ... ok testGetVar (test.test_tcl.TclTest) ... ok testGetVarArray (test.test_tcl.TclTest) ... ok testGetVarArrayException (test.test_tcl.TclTest) ... ok testGetVarException (test.test_tcl.TclTest) ... ok testPackageRequireException (test.test_tcl.TclTest) ... ok testSetVar (test.test_tcl.TclTest) ... ok testSetVarArray (test.test_tcl.TclTest) ... ok testUnsetVar (test.test_tcl.TclTest) ... ok testUnsetVarArray (test.test_tcl.TclTest) ... ok testUnsetVarException (test.test_tcl.TclTest) ... ok testFlattenLen (test.test_tcl.TkinterTest) ... ok ---------------------------------------------------------------------- Ran 19 tests in 0.037s OK test_telnetlib testBasic (test.test_telnetlib.GeneralTests) ... ok testTimeoutDefault (test.test_telnetlib.GeneralTests) ... ok testTimeoutNone (test.test_telnetlib.GeneralTests) ... ok testTimeoutOpen (test.test_telnetlib.GeneralTests) ... ok testTimeoutValue (test.test_telnetlib.GeneralTests) ... ok test_read_all_A (test.test_telnetlib.ReadTests) ... ok test_read_all_B (test.test_telnetlib.ReadTests) ... ok test_read_all_C (test.test_telnetlib.ReadTests) ... ok test_read_eager_A (test.test_telnetlib.ReadTests) ... ok test_read_eager_B (test.test_telnetlib.ReadTests) ... ok test_read_lazy_A (test.test_telnetlib.ReadTests) ... ok test_read_lazy_B (test.test_telnetlib.ReadTests) ... ok test_read_some_A (test.test_telnetlib.ReadTests) ... ok test_read_some_B (test.test_telnetlib.ReadTests) ... ok test_read_some_C (test.test_telnetlib.ReadTests) ... ok test_read_until_A (test.test_telnetlib.ReadTests) ... ok test_read_until_B (test.test_telnetlib.ReadTests) ... ok test_read_very_eager_A (test.test_telnetlib.ReadTests) ... ok test_read_very_eager_B (test.test_telnetlib.ReadTests) ... ok test_read_very_lazy_A (test.test_telnetlib.ReadTests) ... ok test_read_very_lazy_B (test.test_telnetlib.ReadTests) ... ok test_IAC_commands (test.test_telnetlib.OptionTests) ... ok test_SB_commands (test.test_telnetlib.OptionTests) ... ok ---------------------------------------------------------------------- Ran 23 tests in 9.021s OK test_tempfile test_exports (test.test_tempfile.test_exports) ... ok test_get_six_char_str (test.test_tempfile.test__RandomNameSequence) ... ok test_many (test.test_tempfile.test__RandomNameSequence) ... ok test_supports_iter (test.test_tempfile.test__RandomNameSequence) ... ok test_nonempty_list (test.test_tempfile.test__candidate_tempdir_list) ... ok test_wanted_dirs (test.test_tempfile.test__candidate_tempdir_list) ... ok test_retval (test.test_tempfile.test__get_candidate_names) ... ok test_same_thing (test.test_tempfile.test__get_candidate_names) ... ok test_basic (test.test_tempfile.test__mkstemp_inner) ... ok test_basic_many (test.test_tempfile.test__mkstemp_inner) ... ok test_choose_directory (test.test_tempfile.test__mkstemp_inner) ... ok test_file_mode (test.test_tempfile.test__mkstemp_inner) ... ok test_noinherit (test.test_tempfile.test__mkstemp_inner) ... ok test_textmode (test.test_tempfile.test__mkstemp_inner) ... ok test_sane_template (test.test_tempfile.test_gettempprefix) ... ok test_usable_template (test.test_tempfile.test_gettempprefix) ... ok test_directory_exists (test.test_tempfile.test_gettempdir) ... ok test_directory_writable (test.test_tempfile.test_gettempdir) ... ok test_same_thing (test.test_tempfile.test_gettempdir) ... ok test_basic (test.test_tempfile.test_mkstemp) ... ok test_choose_directory (test.test_tempfile.test_mkstemp) ... ok test_basic (test.test_tempfile.test_mkdtemp) ... ok test_basic_many (test.test_tempfile.test_mkdtemp) ... ok test_choose_directory (test.test_tempfile.test_mkdtemp) ... ok test_mode (test.test_tempfile.test_mkdtemp) ... ok test_basic (test.test_tempfile.test_mktemp) ... ok test_many (test.test_tempfile.test_mktemp) ... ok test_basic (test.test_tempfile.test_NamedTemporaryFile) ... ok test_context_manager (test.test_tempfile.test_NamedTemporaryFile) ... ok test_creates_named (test.test_tempfile.test_NamedTemporaryFile) ... ok test_del_on_close (test.test_tempfile.test_NamedTemporaryFile) ... ok test_dis_del_on_close (test.test_tempfile.test_NamedTemporaryFile) ... ok test_multiple_close (test.test_tempfile.test_NamedTemporaryFile) ... ok test_basic (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_bound_methods (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_context_manager_after_rollover (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_context_manager_before_rollover (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_context_manager_during_rollover (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_del_on_close (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_fileno (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_multiple_close_after_rollover (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_multiple_close_before_rollover (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_rewrite_small (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_sparse (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_write_sequential (test.test_tempfile.test_SpooledTemporaryFile) ... ok test_basic (test.test_tempfile.test_TemporaryFile) ... ok test_has_no_name (test.test_tempfile.test_TemporaryFile) ... ok test_multiple_close (test.test_tempfile.test_TemporaryFile) ... ok ---------------------------------------------------------------------- Ran 48 tests in 0.103s OK test_textwrap test_bad_width (test.test_textwrap.WrapTestCase) ... ok test_break_on_hyphens (test.test_textwrap.WrapTestCase) ... ok test_em_dash (test.test_textwrap.WrapTestCase) ... ok test_fix_sentence_endings (test.test_textwrap.WrapTestCase) ... ok test_funky_hyphens (test.test_textwrap.WrapTestCase) ... ok test_funky_parens (test.test_textwrap.WrapTestCase) ... ok test_hyphenated (test.test_textwrap.WrapTestCase) ... ok test_hyphenated_numbers (test.test_textwrap.WrapTestCase) ... ok test_initial_whitespace (test.test_textwrap.WrapTestCase) ... ok test_no_drop_whitespace (test.test_textwrap.WrapTestCase) ... ok test_no_split_at_umlaut (test.test_textwrap.WrapTestCase) ... ok test_punct_hyphens (test.test_textwrap.WrapTestCase) ... ok test_simple (test.test_textwrap.WrapTestCase) ... ok test_split (test.test_textwrap.WrapTestCase) ... ok test_umlaut_followed_by_dash (test.test_textwrap.WrapTestCase) ... ok test_unicode (test.test_textwrap.WrapTestCase) ... ok test_unix_options (test.test_textwrap.WrapTestCase) ... ok test_whitespace (test.test_textwrap.WrapTestCase) ... ok test_wrap_short (test.test_textwrap.WrapTestCase) ... ok test_wrap_short_1line (test.test_textwrap.WrapTestCase) ... ok test_break_long (test.test_textwrap.LongWordTestCase) ... ok test_nobreak_long (test.test_textwrap.LongWordTestCase) ... ok test_fill (test.test_textwrap.IndentTestCases) ... ok test_initial_indent (test.test_textwrap.IndentTestCases) ... ok test_subsequent_indent (test.test_textwrap.IndentTestCases) ... ok test_dedent_even (test.test_textwrap.DedentTestCase) ... ok test_dedent_nomargin (test.test_textwrap.DedentTestCase) ... ok test_dedent_preserve_internal_tabs (test.test_textwrap.DedentTestCase) ... ok test_dedent_preserve_margin_tabs (test.test_textwrap.DedentTestCase) ... ok test_dedent_uneven (test.test_textwrap.DedentTestCase) ... ok ---------------------------------------------------------------------- Ran 30 tests in 0.011s OK test_thread test_stack_size (test.test_thread.ThreadRunningTests) ... caught expected ValueError setting stack_size(4096) successfully set stack_size(262144) successfully set stack_size(1048576) successfully set stack_size(0) trying stack_size = (262144) creating task 1 task 1 will run for 87.0us creating task 2 task 2 will run for 48.0us creating task 3 creating task 4 task 3 will run for 96.0us task 4 will run for 56.0us creating task 5 creating task 6 task 5 will run for 11.0us creating task 7 task 6 will run for 93.0us creating task 8 task 7 will run for 48.0us creating task 9 task 8 will run for 18.0us creating task 10 task 9 will run for 97.0us waiting for all tasks to complete task 10 will run for 37.0us task 1 done task 2 done task 3 done task 4 done task 5 done task 8 done task 9 done task 6 done task 7 done task 10 done all tasks done trying stack_size = (1048576) creating task 1 creating task 2 task 1 will run for 76.0us creating task 3 task 2 will run for 5.0us creating task 4 task 3 will run for 51.0us creating task 5 task 4 will run for 46.0us creating task 6 task 5 will run for 30.0us creating task 7 task 6 will run for 7.0us creating task 8 task 7 will run for 82.0us creating task 9 task 8 will run for 13.0us creating task 10 task 9 will run for 42.0us waiting for all tasks to complete task 10 will run for 89.0us task 1 done task 3 done task 4 done task 5 done task 7 done task 8 done task 2 done task 6 done task 10 done task 9 done all tasks done ok test_starting_threads (test.test_thread.ThreadRunningTests) ... creating task 1 creating task 2 task 1 will run for 24.0us creating task 3 task 2 will run for 52.0us creating task 4 task 3 will run for 92.0us creating task 5 task 4 will run for 83.0us creating task 6 task 5 will run for 25.0us task 6 will run for 33.0us creating task 7 creating task 8 task 7 will run for 2.0us task 8 will run for 51.0us creating task 9 creating task 10 waiting for tasks to complete... task 10 will run for 28.0us task 9 will run for 83.0us task 1 done task 2 done task 3 done task 6 done task 8 done task 10 done task 7 done task 4 done task 5 done task 9 done all tasks done ok test_barrier (test.test_thread.BarrierTest) ... waiting for tasks to end task 0 will run for 0.0us task 2 will run for 82.0us task 4 will run for 53.0us task 7 will run for 40.0us task 9 will run for 28.0us task 6 will run for 74.0us task 5 will run for 2.0us task 8 will run for 55.0us task 3 will run for 81.0us task 1 will run for 85.0us task 0 entering 0 task 2 entering 0 task 6 entering 0 task 7 entering 0 task 1 entering 0 task 8 entering 0 task 5 entering 0 task 3 entering 0 task 4 entering 0 task 9 entering 0 task 9 leaving barrier task 0 leaving barrier task 2 leaving barrier task 2 will run for 71.0us task 9 will run for 10.0us task 6 leaving barrier task 6 will run for 88.0us task 1 leaving barrier task 0 will run for 0.0us task 8 leaving barrier task 7 leaving barrier task 5 leaving barrier task 3 leaving barrier task 1 will run for 7.0us task 4 leaving barrier task 0 entering 1 task 8 will run for 88.0us task 7 will run for 31.0us task 5 will run for 14.0us task 3 will run for 7.0us task 4 will run for 43.0us task 2 entering 1 task 5 entering 1 task 4 entering 1 task 8 entering 1 task 6 entering 1 task 1 entering 1 task 7 entering 1 task 3 entering 1 task 9 entering 1 task 9 leaving barrier task 9 will run for 86.0us task 0 leaving barrier task 0 will run for 0.0us task 0 entering 2 task 2 leaving barrier task 5 leaving barrier task 2 will run for 17.0us task 5 will run for 42.0us task 4 leaving barrier task 8 leaving barrier task 4 will run for 45.0us task 8 will run for 74.0us task 6 leaving barrier task 6 will run for 71.0us task 7 leaving barrier task 1 leaving barrier task 3 leaving barrier task 7 will run for 7.0us task 1 will run for 22.0us task 3 will run for 45.0us task 3 entering 2 task 7 entering 2 task 2 entering 2 task 8 entering 2 task 5 entering 2 task 4 entering 2 task 1 entering 2 task 6 entering 2 task 9 entering 2 task 9 leaving barrier task 0 leaving barrier task 3 leaving barrier task 7 leaving barrier task 2 leaving barrier task 8 leaving barrier task 5 leaving barrier task 1 leaving barrier task 6 leaving barrier task 4 leaving barrier tasks done ok ---------------------------------------------------------------------- Ran 3 tests in 0.024s OK test_threaded_import Trying 20 threads ... OK. Trying 50 threads ... OK. Trying 20 threads ... OK. Trying 50 threads ... OK. Trying 20 threads ... OK. Trying 50 threads ... OK. testing import hangers ... OK. test_threadedtempfile test_main (test.test_threadedtempfile.ThreadedTempFileTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.145s OK test_threading test_PyThreadState_SetAsyncExc (test.test_threading.ThreadTests) ... started worker thread trying nonsensical thread id waiting for worker thread to get started verifying worker hasn't exited attempting to raise asynch exception in worker waiting for worker to say it caught the exception all OK -- joining worker ok test_enumerate_after_join (test.test_threading.ThreadTests) ... ok test_finalize_runnning_thread (test.test_threading.ThreadTests) ... ok test_finalize_with_trace (test.test_threading.ThreadTests) ... ok test_foreign_thread (test.test_threading.ThreadTests) ... ok test_ident_of_no_threading_threads (test.test_threading.ThreadTests) ... ok test_no_refcycle_through_target (test.test_threading.ThreadTests) ... ok test_various_ops (test.test_threading.ThreadTests) ... task will run for 21.0 usec task will run for 22.0 usec1 tasks are running task will run for 71.0 usec 2 tasks are running task will run for 66.3 usec3 tasks are running task will run for 40.5 usec task will run for 60.6 usec task will run for 61.9 usec task will run for 28.1 usec task will run for 78.5 usec task will run for 55.2 usec waiting for all tasks to complete task done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running task3 tasks are running done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running task done is finished. 1 tasks are running task done is finished. 0 tasks are running all tasks done ok test_various_ops_large_stack (test.test_threading.ThreadTests) ... with 1MB thread stack size... task will run for 65.9 usec 1 tasks are running task will run for 67.6 usec 2 tasks are runningtask will run for 36.1 usec 3 tasks are running task will run for 90.9 usec task will run for 63.9 usec task will run for 34.1 usec task will run for 48.9 usec task will run for 21.4 usec task will run for 7.1 usec task will run for 21.0 usec waiting for all tasks to complete task done is finished. 2 tasks are running task done is finished. 1 tasks are running 2 tasks are running task done is finished. 1 tasks are running 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running 3 tasks are runningtask task done is finished. 2 tasks are running 3 donetasks are running is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running task done is finished. 1 tasks are running task done is finished. 0 tasks are running all tasks done ok test_various_ops_small_stack (test.test_threading.ThreadTests) ... with 256kB thread stack size... task will run for 87.8 usec 1 tasks are running task will run for 14.9 usec task will run for 12.6 usec2task will run for 38.5 usec tasks are running task will run for 2.4 usec task will run for 8.2 usec task will run for 21.5 usec task will run for 16.0 usec 3 tasks are running task will run for 93.3 usec task will run for 20.6 usec waiting for all tasks to complete task done is finished. 2 tasks are running task done is finished. 1 tasks are running 2 tasks are running task done is finished. 1 tasks are running 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running task done is finished. 1 tasks are running task done is finished. 0 tasks are running 1 tasks are running 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running 3 tasks are running task done is finished. 2 tasks are running task done is finished. 1 tasks are running task done is finished. 0 tasks are running all tasks done ok test_1_join_on_shutdown (test.test_threading.ThreadJoinOnShutdown) ... ok test_2_join_in_forked_process (test.test_threading.ThreadJoinOnShutdown) ... ok test_3_join_in_forked_from_thread (test.test_threading.ThreadJoinOnShutdown) ... ok test_daemonize_active_thread (test.test_threading.ThreadingExceptionTests) ... ok test_joining_current_thread (test.test_threading.ThreadingExceptionTests) ... ok test_joining_inactive_thread (test.test_threading.ThreadingExceptionTests) ... ok test_notify_on_unacquired_condition (test.test_threading.ThreadingExceptionTests) ... ok test_releasing_unacquired_rlock (test.test_threading.ThreadingExceptionTests) ... ok test_semaphore_with_negative_value (test.test_threading.ThreadingExceptionTests) ... ok test_start_thread_again (test.test_threading.ThreadingExceptionTests) ... ok test_waiting_on_unacquired_condition (test.test_threading.ThreadingExceptionTests) ... ok ---------------------------------------------------------------------- Ran 21 tests in 0.459s OK test_threading_local Doctest: _threading_local ... ok test_derived (test.test_threading_local.ThreadingLocalTest) ... ok test_derived_cycle_dealloc (test.test_threading_local.ThreadingLocalTest) ... ok test_local_refs (test.test_threading_local.ThreadingLocalTest) ... ok Doctest: _threading_local ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.338s OK test_threadsignals test_signals (test.test_threadsignals.ThreadSignals) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_time test_asctime (test.test_time.TimeTestCase) ... ok test_clock (test.test_time.TimeTestCase) ... ok test_conversions (test.test_time.TimeTestCase) ... ok test_ctime_without_arg (test.test_time.TimeTestCase) ... ok test_data_attributes (test.test_time.TimeTestCase) ... ok test_default_values_for_zero (test.test_time.TimeTestCase) ... ok test_gmtime_without_arg (test.test_time.TimeTestCase) ... ok test_insane_timestamps (test.test_time.TimeTestCase) ... ok test_localtime_without_arg (test.test_time.TimeTestCase) ... ok test_sleep (test.test_time.TimeTestCase) ... ok test_strftime (test.test_time.TimeTestCase) ... ok test_strftime_bounds_checking (test.test_time.TimeTestCase) ... ok test_strptime (test.test_time.TimeTestCase) ... ok test_tzset (test.test_time.TimeTestCase) ... ok ---------------------------------------------------------------------- Ran 14 tests in 1.203s OK test_timeout testBlockingThenTimeout (test.test_timeout.CreationTestCase) ... ok testFloatReturnValue (test.test_timeout.CreationTestCase) ... ok testObjectCreation (test.test_timeout.CreationTestCase) ... ok testRangeCheck (test.test_timeout.CreationTestCase) ... ok testReturnType (test.test_timeout.CreationTestCase) ... ok testTimeoutThenBlocking (test.test_timeout.CreationTestCase) ... ok testTypeCheck (test.test_timeout.CreationTestCase) ... ok testAcceptTimeout (test.test_timeout.TimeoutTestCase) ... ok testConnectTimeout (test.test_timeout.TimeoutTestCase) ... ok testRecvTimeout (test.test_timeout.TimeoutTestCase) ... ok testRecvfromTimeout (test.test_timeout.TimeoutTestCase) ... ok testSend (test.test_timeout.TimeoutTestCase) ... ok testSendall (test.test_timeout.TimeoutTestCase) ... ok testSendto (test.test_timeout.TimeoutTestCase) ... ok ---------------------------------------------------------------------- Ran 14 tests in 4.130s OK test_tk /home/exarkun/Projects/python/trunk/Lib/lib-tk/Tkinter.py:1945: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if cnf.has_key('name'): /home/exarkun/Projects/python/trunk/Lib/lib-tk/Tkinter.py:1956: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if self.master.children.has_key(self._name): test_search (test_tkinter.test_text.TextTest) ... /home/exarkun/Projects/python/trunk/Lib/lib-tk/Tkinter.py:1981: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if self.master.children.has_key(self._name): ok testLoadTk (test_tkinter.test_loadtk.TkLoadTest) ... ok testLoadTkFailure (test_tkinter.test_loadtk.TkLoadTest) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.047s OK test_tokenize Trying: import glob, random, sys Expecting nothing ok Trying: dump_tokens("1 + 1") Expecting: NUMBER '1' (1, 0) (1, 1) OP '+' (1, 2) (1, 3) NUMBER '1' (1, 4) (1, 5) ok Trying: dump_tokens("if False:\n" " # NL\n" " True = False # NEWLINE\n") Expecting: NAME 'if' (1, 0) (1, 2) NAME 'False' (1, 3) (1, 8) OP ':' (1, 8) (1, 9) NEWLINE '\n' (1, 9) (1, 10) COMMENT '# NL' (2, 4) (2, 8) NL '\n' (2, 8) (2, 9) INDENT ' ' (3, 0) (3, 4) NAME 'True' (3, 4) (3, 8) OP '=' (3, 9) (3, 10) NAME 'False' (3, 11) (3, 16) COMMENT '# NEWLINE' (3, 17) (3, 26) NEWLINE '\n' (3, 26) (3, 27) DEDENT '' (4, 0) (4, 0) ok Trying: indent_error_file = """ def k(x): x += 2 x += 5 """ Expecting nothing ok Trying: for tok in generate_tokens(StringIO(indent_error_file).readline): pass Expecting: Traceback (most recent call last): ... IndentationError: unindent does not match any outer indentation level ok Trying: def roundtrip(f): if isinstance(f, str): f = StringIO(f) token_list = list(generate_tokens(f.readline)) f.close() tokens1 = [tok[:2] for tok in token_list] new_text = untokenize(tokens1) readline = iter(new_text.splitlines(1)).next tokens2 = [tok[:2] for tok in generate_tokens(readline)] return tokens1 == tokens2 Expecting nothing ok Trying: roundtrip("if x == 1:\n" " print x\n") Expecting: True ok Trying: roundtrip("# This is a comment\n# This also") Expecting: True ok Trying: roundtrip("if x == 1 : \n" " print x\n") Expecting: True ok Trying: f = test_support.findfile("tokenize_tests" + os.extsep + "txt") Expecting nothing ok Trying: roundtrip(open(f)) Expecting: True ok Trying: roundtrip("if x == 1:\n" " # A comment by itself.\n" " print x # Comment here, too.\n" " # Another comment.\n" "after_if = True\n") Expecting: True ok Trying: roundtrip("if (x # The comments need to go in the right place\n" " == 1):\n" " print 'x==1'\n") Expecting: True ok Trying: roundtrip("class Test: # A comment here\n" " # A comment with weird indent\n" " after_com = 5\n" " def x(m): return m*5 # a one liner\n" " def y(m): # A whitespace after the colon\n" " return y*4 # 3-space indent\n") Expecting: True ok Trying: roundtrip("try: import somemodule\n" "except ImportError: # comment\n" " print 'Can not import' # comment2\n" "else: print 'Loaded'\n") Expecting: True ok Trying: roundtrip("a = (3,4, \n" "5,6)\n" "y = [3, 4,\n" "5]\n" "z = {'a': 5,\n" "'b':15, 'c':True}\n" "x = len(y) + 5 - a[\n" "3] - a[2]\n" "+ len(z) - z[\n" "'b']\n") Expecting: True ok Trying: dump_tokens("0xff <= 255") Expecting: NUMBER '0xff' (1, 0) (1, 4) OP '<=' (1, 5) (1, 7) NUMBER '255' (1, 8) (1, 11) ok Trying: dump_tokens("0b10 <= 255") Expecting: NUMBER '0b10' (1, 0) (1, 4) OP '<=' (1, 5) (1, 7) NUMBER '255' (1, 8) (1, 11) ok Trying: dump_tokens("0o123 <= 0123") Expecting: NUMBER '0o123' (1, 0) (1, 5) OP '<=' (1, 6) (1, 8) NUMBER '0123' (1, 9) (1, 13) ok Trying: dump_tokens("01234567 > ~0x15") Expecting: NUMBER '01234567' (1, 0) (1, 8) OP '>' (1, 9) (1, 10) OP '~' (1, 11) (1, 12) NUMBER '0x15' (1, 12) (1, 16) ok Trying: dump_tokens("2134568 != 01231515") Expecting: NUMBER '2134568' (1, 0) (1, 7) OP '!=' (1, 8) (1, 10) NUMBER '01231515' (1, 11) (1, 19) ok Trying: dump_tokens("(-124561-1) & 0200000000") Expecting: OP '(' (1, 0) (1, 1) OP '-' (1, 1) (1, 2) NUMBER '124561' (1, 2) (1, 8) OP '-' (1, 8) (1, 9) NUMBER '1' (1, 9) (1, 10) OP ')' (1, 10) (1, 11) OP '&' (1, 12) (1, 13) NUMBER '0200000000' (1, 14) (1, 24) ok Trying: dump_tokens("0xdeadbeef != -1") Expecting: NUMBER '0xdeadbeef' (1, 0) (1, 10) OP '!=' (1, 11) (1, 13) OP '-' (1, 14) (1, 15) NUMBER '1' (1, 15) (1, 16) ok Trying: dump_tokens("0xdeadc0de & 012345") Expecting: NUMBER '0xdeadc0de' (1, 0) (1, 10) OP '&' (1, 11) (1, 12) NUMBER '012345' (1, 13) (1, 19) ok Trying: dump_tokens("0xFF & 0x15 | 1234") Expecting: NUMBER '0xFF' (1, 0) (1, 4) OP '&' (1, 5) (1, 6) NUMBER '0x15' (1, 7) (1, 11) OP '|' (1, 12) (1, 13) NUMBER '1234' (1, 14) (1, 18) ok Trying: dump_tokens("x = 0L") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '0L' (1, 4) (1, 6) ok Trying: dump_tokens("x = 0xfffffffffff") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '0xffffffffff (1, 4) (1, 17) ok Trying: dump_tokens("x = 123141242151251616110l") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '123141242151 (1, 4) (1, 26) ok Trying: dump_tokens("x = -15921590215012591L") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) OP '-' (1, 4) (1, 5) NUMBER '159215902150 (1, 5) (1, 23) ok Trying: dump_tokens("x = 3.14159") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '3.14159' (1, 4) (1, 11) ok Trying: dump_tokens("x = 314159.") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '314159.' (1, 4) (1, 11) ok Trying: dump_tokens("x = .314159") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '.314159' (1, 4) (1, 11) ok Trying: dump_tokens("x = 3e14159") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '3e14159' (1, 4) (1, 11) ok Trying: dump_tokens("x = 3E123") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '3E123' (1, 4) (1, 9) ok Trying: dump_tokens("x+y = 3e-1230") Expecting: NAME 'x' (1, 0) (1, 1) OP '+' (1, 1) (1, 2) NAME 'y' (1, 2) (1, 3) OP '=' (1, 4) (1, 5) NUMBER '3e-1230' (1, 6) (1, 13) ok Trying: dump_tokens("x = 3.14e159") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '3.14e159' (1, 4) (1, 12) ok Trying: dump_tokens("x = ''; y = \"\"") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) STRING "''" (1, 4) (1, 6) OP ';' (1, 6) (1, 7) NAME 'y' (1, 8) (1, 9) OP '=' (1, 10) (1, 11) STRING '""' (1, 12) (1, 14) ok Trying: dump_tokens("x = '\"'; y = \"'\"") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) STRING '\'"\'' (1, 4) (1, 7) OP ';' (1, 7) (1, 8) NAME 'y' (1, 9) (1, 10) OP '=' (1, 11) (1, 12) STRING '"\'"' (1, 13) (1, 16) ok Trying: dump_tokens("x = \"doesn't \"shrink\", does it\"") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) STRING '"doesn\'t "' (1, 4) (1, 14) NAME 'shrink' (1, 14) (1, 20) STRING '", does it"' (1, 20) (1, 31) ok Trying: dump_tokens("x = u'abc' + U'ABC'") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) STRING "u'abc'" (1, 4) (1, 10) OP '+' (1, 11) (1, 12) STRING "U'ABC'" (1, 13) (1, 19) ok Trying: dump_tokens('y = u"ABC" + U"ABC"') Expecting: NAME 'y' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) STRING 'u"ABC"' (1, 4) (1, 10) OP '+' (1, 11) (1, 12) STRING 'U"ABC"' (1, 13) (1, 19) ok Trying: dump_tokens("x = ur'abc' + Ur'ABC' + uR'ABC' + UR'ABC'") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) STRING "ur'abc'" (1, 4) (1, 11) OP '+' (1, 12) (1, 13) STRING "Ur'ABC'" (1, 14) (1, 21) OP '+' (1, 22) (1, 23) STRING "uR'ABC'" (1, 24) (1, 31) OP '+' (1, 32) (1, 33) STRING "UR'ABC'" (1, 34) (1, 41) ok Trying: dump_tokens('y = ur"abc" + Ur"ABC" + uR"ABC" + UR"ABC"') Expecting: NAME 'y' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) STRING 'ur"abc"' (1, 4) (1, 11) OP '+' (1, 12) (1, 13) STRING 'Ur"ABC"' (1, 14) (1, 21) OP '+' (1, 22) (1, 23) STRING 'uR"ABC"' (1, 24) (1, 31) OP '+' (1, 32) (1, 33) STRING 'UR"ABC"' (1, 34) (1, 41) ok Trying: dump_tokens("def d22(a, b, c=2, d=2, *k): pass") Expecting: NAME 'def' (1, 0) (1, 3) NAME 'd22' (1, 4) (1, 7) OP '(' (1, 7) (1, 8) NAME 'a' (1, 8) (1, 9) OP ',' (1, 9) (1, 10) NAME 'b' (1, 11) (1, 12) OP ',' (1, 12) (1, 13) NAME 'c' (1, 14) (1, 15) OP '=' (1, 15) (1, 16) NUMBER '2' (1, 16) (1, 17) OP ',' (1, 17) (1, 18) NAME 'd' (1, 19) (1, 20) OP '=' (1, 20) (1, 21) NUMBER '2' (1, 21) (1, 22) OP ',' (1, 22) (1, 23) OP '*' (1, 24) (1, 25) NAME 'k' (1, 25) (1, 26) OP ')' (1, 26) (1, 27) OP ':' (1, 27) (1, 28) NAME 'pass' (1, 29) (1, 33) ok Trying: dump_tokens("def d01v_(a=1, *k, **w): pass") Expecting: NAME 'def' (1, 0) (1, 3) NAME 'd01v_' (1, 4) (1, 9) OP '(' (1, 9) (1, 10) NAME 'a' (1, 10) (1, 11) OP '=' (1, 11) (1, 12) NUMBER '1' (1, 12) (1, 13) OP ',' (1, 13) (1, 14) OP '*' (1, 15) (1, 16) NAME 'k' (1, 16) (1, 17) OP ',' (1, 17) (1, 18) OP '**' (1, 19) (1, 21) NAME 'w' (1, 21) (1, 22) OP ')' (1, 22) (1, 23) OP ':' (1, 23) (1, 24) NAME 'pass' (1, 25) (1, 29) ok Trying: dump_tokens("if 1 < 1 > 1 == 1 >= 5 <= 0x15 <= 0x12 != " + "1 and 5 in 1 not in 1 is 1 or 5 is not 1: pass") Expecting: NAME 'if' (1, 0) (1, 2) NUMBER '1' (1, 3) (1, 4) OP '<' (1, 5) (1, 6) NUMBER '1' (1, 7) (1, 8) OP '>' (1, 9) (1, 10) NUMBER '1' (1, 11) (1, 12) OP '==' (1, 13) (1, 15) NUMBER '1' (1, 16) (1, 17) OP '>=' (1, 18) (1, 20) NUMBER '5' (1, 21) (1, 22) OP '<=' (1, 23) (1, 25) NUMBER '0x15' (1, 26) (1, 30) OP '<=' (1, 31) (1, 33) NUMBER '0x12' (1, 34) (1, 38) OP '!=' (1, 39) (1, 41) NUMBER '1' (1, 42) (1, 43) NAME 'and' (1, 44) (1, 47) NUMBER '5' (1, 48) (1, 49) NAME 'in' (1, 50) (1, 52) NUMBER '1' (1, 53) (1, 54) NAME 'not' (1, 55) (1, 58) NAME 'in' (1, 59) (1, 61) NUMBER '1' (1, 62) (1, 63) NAME 'is' (1, 64) (1, 66) NUMBER '1' (1, 67) (1, 68) NAME 'or' (1, 69) (1, 71) NUMBER '5' (1, 72) (1, 73) NAME 'is' (1, 74) (1, 76) NAME 'not' (1, 77) (1, 80) NUMBER '1' (1, 81) (1, 82) OP ':' (1, 82) (1, 83) NAME 'pass' (1, 84) (1, 88) ok Trying: dump_tokens("x = 1 << 1 >> 5") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '1' (1, 4) (1, 5) OP '<<' (1, 6) (1, 8) NUMBER '1' (1, 9) (1, 10) OP '>>' (1, 11) (1, 13) NUMBER '5' (1, 14) (1, 15) ok Trying: dump_tokens("x = 1 - y + 15 - 01 + 0x124 + z + a[5]") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '1' (1, 4) (1, 5) OP '-' (1, 6) (1, 7) NAME 'y' (1, 8) (1, 9) OP '+' (1, 10) (1, 11) NUMBER '15' (1, 12) (1, 14) OP '-' (1, 15) (1, 16) NUMBER '01' (1, 17) (1, 19) OP '+' (1, 20) (1, 21) NUMBER '0x124' (1, 22) (1, 27) OP '+' (1, 28) (1, 29) NAME 'z' (1, 30) (1, 31) OP '+' (1, 32) (1, 33) NAME 'a' (1, 34) (1, 35) OP '[' (1, 35) (1, 36) NUMBER '5' (1, 36) (1, 37) OP ']' (1, 37) (1, 38) ok Trying: dump_tokens("x = 1//1*1/5*12%0x12") Expecting: NAME 'x' (1, 0) (1, 1) OP '=' (1, 2) (1, 3) NUMBER '1' (1, 4) (1, 5) OP '//' (1, 5) (1, 7) NUMBER '1' (1, 7) (1, 8) OP '*' (1, 8) (1, 9) NUMBER '1' (1, 9) (1, 10) OP '/' (1, 10) (1, 11) NUMBER '5' (1, 11) (1, 12) OP '*' (1, 12) (1, 13) NUMBER '12' (1, 13) (1, 15) OP '%' (1, 15) (1, 16) NUMBER '0x12' (1, 16) (1, 20) ok Trying: dump_tokens("~1 ^ 1 & 1 |1 ^ -1") Expecting: OP '~' (1, 0) (1, 1) NUMBER '1' (1, 1) (1, 2) OP '^' (1, 3) (1, 4) NUMBER '1' (1, 5) (1, 6) OP '&' (1, 7) (1, 8) NUMBER '1' (1, 9) (1, 10) OP '|' (1, 11) (1, 12) NUMBER '1' (1, 12) (1, 13) OP '^' (1, 14) (1, 15) OP '-' (1, 16) (1, 17) NUMBER '1' (1, 17) (1, 18) ok Trying: dump_tokens("-1*1/1+1*1//1 - ---1**1") Expecting: OP '-' (1, 0) (1, 1) NUMBER '1' (1, 1) (1, 2) OP '*' (1, 2) (1, 3) NUMBER '1' (1, 3) (1, 4) OP '/' (1, 4) (1, 5) NUMBER '1' (1, 5) (1, 6) OP '+' (1, 6) (1, 7) NUMBER '1' (1, 7) (1, 8) OP '*' (1, 8) (1, 9) NUMBER '1' (1, 9) (1, 10) OP '//' (1, 10) (1, 12) NUMBER '1' (1, 12) (1, 13) OP '-' (1, 14) (1, 15) OP '-' (1, 16) (1, 17) OP '-' (1, 17) (1, 18) OP '-' (1, 18) (1, 19) NUMBER '1' (1, 19) (1, 20) OP '**' (1, 20) (1, 22) NUMBER '1' (1, 22) (1, 23) ok Trying: dump_tokens("import sys, time\nx = sys.modules['time'].time()") Expecting: NAME 'import' (1, 0) (1, 6) NAME 'sys' (1, 7) (1, 10) OP ',' (1, 10) (1, 11) NAME 'time' (1, 12) (1, 16) NEWLINE '\n' (1, 16) (1, 17) NAME 'x' (2, 0) (2, 1) OP '=' (2, 2) (2, 3) NAME 'sys' (2, 4) (2, 7) OP '.' (2, 7) (2, 8) NAME 'modules' (2, 8) (2, 15) OP '[' (2, 15) (2, 16) STRING "'time'" (2, 16) (2, 22) OP ']' (2, 22) (2, 23) OP '.' (2, 23) (2, 24) NAME 'time' (2, 24) (2, 28) OP '(' (2, 28) (2, 29) OP ')' (2, 29) (2, 30) ok Trying: dump_tokens("@staticmethod\ndef foo(x,y): pass") Expecting: OP '@' (1, 0) (1, 1) NAME 'staticmethod (1, 1) (1, 13) NEWLINE '\n' (1, 13) (1, 14) NAME 'def' (2, 0) (2, 3) NAME 'foo' (2, 4) (2, 7) OP '(' (2, 7) (2, 8) NAME 'x' (2, 8) (2, 9) OP ',' (2, 9) (2, 10) NAME 'y' (2, 10) (2, 11) OP ')' (2, 11) (2, 12) OP ':' (2, 12) (2, 13) NAME 'pass' (2, 14) (2, 18) ok Trying: roundtrip("x=1+\\n" "1\n" "# This is a comment\\n" "# This also\n") Expecting: True ok Trying: roundtrip("# Comment \\nx = 0") Expecting: True ok Trying: roundtrip("'' ''") Expecting: True ok Trying: tempdir = os.path.dirname(f) or os.curdir Expecting nothing ok Trying: testfiles = glob.glob(os.path.join(tempdir, "test*.py")) Expecting nothing ok Trying: if not test_support.is_resource_enabled("compiler"): testfiles = random.sample(testfiles, 10) Expecting nothing ok Trying: for testfile in testfiles: if not roundtrip(open(testfile)): print "Roundtrip failed for file %s" % testfile break else: True Expecting: True ok Trying: from decimal import Decimal Expecting nothing ok Trying: s = 'print +21.3e-5*-.1234/81.7' Expecting nothing ok Trying: decistmt(s) Expecting: "print +Decimal ('21.3e-5')*-Decimal ('.1234')/Decimal ('81.7')" ok Trying: exec(s) #doctest: +ELLIPSIS Expecting: -3.21716034272e-0...7 ok Trying: exec(decistmt(s)) Expecting: -3.217160342717258261933904529E-7 ok 3 items had no tests: test.test_tokenize test.test_tokenize.dump_tokens test.test_tokenize.test_main 2 items passed all tests: 60 tests in test.test_tokenize.__test__.doctests 5 tests in test.test_tokenize.decistmt 65 tests in 5 items. 65 passed and 0 failed. Test passed. doctest (test.test_tokenize) ... 65 tests with zero failures test_trace test_01_basic (test.test_trace.TraceTestCase) ... ok test_02_arigo (test.test_trace.TraceTestCase) ... ok test_03_one_instr (test.test_trace.TraceTestCase) ... ok test_04_no_pop_blocks (test.test_trace.TraceTestCase) ... ok test_05_no_pop_tops (test.test_trace.TraceTestCase) ... ok test_06_call (test.test_trace.TraceTestCase) ... ok test_07_raise (test.test_trace.TraceTestCase) ... ok test_08_settrace_and_return (test.test_trace.TraceTestCase) ... ok test_09_settrace_and_raise (test.test_trace.TraceTestCase) ... ok test_10_ireturn (test.test_trace.TraceTestCase) ... ok test_11_tightloop (test.test_trace.TraceTestCase) ... ok test_12_tighterloop (test.test_trace.TraceTestCase) ... ok test_13_genexp (test.test_trace.TraceTestCase) ... ok test_14_onliner_if (test.test_trace.TraceTestCase) ... ok test_15_loops (test.test_trace.TraceTestCase) ... ok test_16_blank_lines (test.test_trace.TraceTestCase) ... ok test_call (test.test_trace.RaisingTraceFuncTestCase) ... ok test_exception (test.test_trace.RaisingTraceFuncTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_trace.py:404: DeprecationWarning: classic int division y = 1/x ok test_line (test.test_trace.RaisingTraceFuncTestCase) ... ok test_return (test.test_trace.RaisingTraceFuncTestCase) ... ok test_trash_stack (test.test_trace.RaisingTraceFuncTestCase) ... ok test_01_jump_simple_forwards (test.test_trace.JumpTestCase) ... ok test_02_jump_simple_backwards (test.test_trace.JumpTestCase) ... ok test_03_jump_out_of_block_forwards (test.test_trace.JumpTestCase) ... ok test_04_jump_out_of_block_backwards (test.test_trace.JumpTestCase) ... ok test_05_jump_to_codeless_line (test.test_trace.JumpTestCase) ... ok test_06_jump_to_same_line (test.test_trace.JumpTestCase) ... ok test_07_jump_in_nested_finally (test.test_trace.JumpTestCase) ... ok test_08_no_jump_too_far_forwards (test.test_trace.JumpTestCase) ... ok test_09_no_jump_too_far_backwards (test.test_trace.JumpTestCase) ... ok test_10_no_jump_to_except_1 (test.test_trace.JumpTestCase) ... ok test_11_no_jump_to_except_2 (test.test_trace.JumpTestCase) ... ok test_12_no_jump_to_except_3 (test.test_trace.JumpTestCase) ... ok test_13_no_jump_to_except_4 (test.test_trace.JumpTestCase) ... ok test_14_no_jump_forwards_into_block (test.test_trace.JumpTestCase) ... ok test_15_no_jump_backwards_into_block (test.test_trace.JumpTestCase) ... ok test_16_no_jump_into_finally_block (test.test_trace.JumpTestCase) ... ok test_17_no_jump_out_of_finally_block (test.test_trace.JumpTestCase) ... ok test_18_no_jump_to_non_integers (test.test_trace.JumpTestCase) ... ok test_19_no_jump_without_trace_function (test.test_trace.JumpTestCase) ... ok test_20_large_function (test.test_trace.JumpTestCase) ... ok test_jump_to_firstlineno (test.test_trace.JumpTestCase) ... ok ---------------------------------------------------------------------- Ran 42 tests in 0.070s OK test_traceback test_bad_indentation (test.test_traceback.TracebackCases) ... ok test_base_exception (test.test_traceback.TracebackCases) ... ok test_bug737473 (test.test_traceback.TracebackCases) ... /home/exarkun/Projects/python/trunk/Lib/test/test_traceback.py:101: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(test_bug737473) ok test_caret (test.test_traceback.TracebackCases) ... ok test_format_exception_only_bad__str__ (test.test_traceback.TracebackCases) ... /home/exarkun/Projects/python/trunk/Lib/test/test_traceback.py:151: DeprecationWarning: classic int division 1/0 ok test_nocaret (test.test_traceback.TracebackCases) ... ok test_string_exception1 (test.test_traceback.TracebackCases) ... ok test_string_exception2 (test.test_traceback.TracebackCases) ... ok test_without_exception (test.test_traceback.TracebackCases) ... ok test_traceback_format (test.test_traceback.TracebackFormatTests) ... ok ---------------------------------------------------------------------- Ran 10 tests in 3.999s OK test_transformer testMultipleLHS (test.test_transformer.Tests) Test multiple targets on the left hand side. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.007s OK test_ttk_guionly test_ttk_guionly skipped -- ttk not available: can't find package tile test_ttk_textonly test_convert_stringval (test_ttk.test_functions.InternalFunctionsTest) ... ok test_dict_from_tcltuple (test_ttk.test_functions.InternalFunctionsTest) ... ok test_format_elemcreate (test_ttk.test_functions.InternalFunctionsTest) ... ok test_format_layoutlist (test_ttk.test_functions.InternalFunctionsTest) ... ok test_format_mapdict (test_ttk.test_functions.InternalFunctionsTest) ... ok test_format_optdict (test_ttk.test_functions.InternalFunctionsTest) ... /home/exarkun/Projects/python/trunk/Lib/lib-tk/test/test_ttk/test_functions.py:75: DeprecationWarning: classic int division amount_opts = len(ttk._format_optdict(opts, ignore=(u'á'))) / 2 /home/exarkun/Projects/python/trunk/Lib/lib-tk/test/test_ttk/test_functions.py:79: DeprecationWarning: classic int division amount_opts = len(ttk._format_optdict(opts, ignore=(u'á', 'b'))) / 2 ok test_list_from_layouttuple (test_ttk.test_functions.InternalFunctionsTest) ... ok test_list_from_statespec (test_ttk.test_functions.InternalFunctionsTest) ... ok test_script_from_settings (test_ttk.test_functions.InternalFunctionsTest) ... ok test_val_or_dict (test_ttk.test_functions.InternalFunctionsTest) ... ok test_multivalues (test_ttk.test_functions.TclObjsToPyTest) ... ok test_nosplit (test_ttk.test_functions.TclObjsToPyTest) ... ok test_unicode (test_ttk.test_functions.TclObjsToPyTest) ... ok ---------------------------------------------------------------------- Ran 13 tests in 0.004s OK test_tuple test_addmul (test.test_tuple.TupleTest) ... ok test_bigrepeat (test.test_tuple.TupleTest) ... ok test_constructors (test.test_tuple.TupleTest) ... ok test_contains (test.test_tuple.TupleTest) ... ok test_contains_fake (test.test_tuple.TupleTest) ... ok test_contains_order (test.test_tuple.TupleTest) ... ok test_count (test.test_tuple.TupleTest) ... ok test_getitem (test.test_tuple.TupleTest) ... ok test_getitemoverwriteiter (test.test_tuple.TupleTest) ... ok test_getslice (test.test_tuple.TupleTest) ... ok test_hash (test.test_tuple.TupleTest) ... ok test_iadd (test.test_tuple.TupleTest) ... ok test_imul (test.test_tuple.TupleTest) ... ok test_index (test.test_tuple.TupleTest) ... ok test_len (test.test_tuple.TupleTest) ... ok test_minmax (test.test_tuple.TupleTest) ... ok test_repeat (test.test_tuple.TupleTest) ... ok test_repr (test.test_tuple.TupleTest) ... ok test_subscript (test.test_tuple.TupleTest) ... ok test_track_dynamic (test.test_tuple.TupleTest) ... ok test_track_literals (test.test_tuple.TupleTest) ... ok test_track_subtypes (test.test_tuple.TupleTest) ... ok test_truth (test.test_tuple.TupleTest) ... ok test_tupleresizebug (test.test_tuple.TupleTest) ... ok ---------------------------------------------------------------------- Ran 24 tests in 3.245s OK test_typechecks testIsInstanceActual (test.test_typechecks.TypeChecksTest) ... ok testIsInstanceBuiltin (test.test_typechecks.TypeChecksTest) ... ok testIsSubclassActual (test.test_typechecks.TypeChecksTest) ... ok testIsSubclassBuiltin (test.test_typechecks.TypeChecksTest) ... ok testIsSubclassInternal (test.test_typechecks.TypeChecksTest) ... ok testSubclassBehavior (test.test_typechecks.TypeChecksTest) ... ok test_oldstyle (test.test_typechecks.TypeChecksTest) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.001s OK test_ucn test_ascii_letters (test.test_ucn.UnicodeNamesTest) ... ok test_bmp_characters (test.test_ucn.UnicodeNamesTest) ... ok test_cjk_unified_ideographs (test.test_ucn.UnicodeNamesTest) ... ok test_errors (test.test_ucn.UnicodeNamesTest) ... ok test_general (test.test_ucn.UnicodeNamesTest) ... ok test_hangul_syllables (test.test_ucn.UnicodeNamesTest) ... ok test_misc_symbols (test.test_ucn.UnicodeNamesTest) ... ok test_strict_eror_handling (test.test_ucn.UnicodeNamesTest) ... ok ---------------------------------------------------------------------- Ran 8 tests in 0.244s OK test_unary test_bad_types (test.test_unary.UnaryOpTestCase) ... ok test_invert (test.test_unary.UnaryOpTestCase) ... ok test_negation_of_exponentiation (test.test_unary.UnaryOpTestCase) ... ok test_negative (test.test_unary.UnaryOpTestCase) ... ok test_no_overflow (test.test_unary.UnaryOpTestCase) ... ok test_positive (test.test_unary.UnaryOpTestCase) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.001s OK test_undocumented_details test_cell_comparisons (test.test_undocumented_details.TestImplementationComparisons) ... /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:27: DeprecationWarning: cell comparisons not supported in 3.x self.assertTrue(h_cell < g_cell) /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:28: DeprecationWarning: cell comparisons not supported in 3.x self.assertTrue(g_cell >= h_cell) /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:29: DeprecationWarning: cell comparisons not supported in 3.x self.assertEqual(cmp(g_cell, h_cell), 1) /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:31: DeprecationWarning: cell comparisons not supported in 3.x self.assertTrue(g_cell == g_cell) /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:32: DeprecationWarning: cell comparisons not supported in 3.x self.assertTrue(h_cell == h_cell) /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:33: DeprecationWarning: cell comparisons not supported in 3.x self.assertTrue(g_cell != h_cell) ok test_type_comparisons (test.test_undocumented_details.TestImplementationComparisons) ... /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:8: DeprecationWarning: type inequality comparisons not supported in 3.x self.assertTrue(str < int or str > int) /home/exarkun/Projects/python/trunk/Lib/test/test_undocumented_details.py:9: DeprecationWarning: type inequality comparisons not supported in 3.x self.assertTrue(int <= str or int >= str) ok ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK test_unicode test___contains__ (test.test_unicode.UnicodeTest) ... ok test__format__ (test.test_unicode.UnicodeTest) ... ok test_bug1001011 (test.test_unicode.UnicodeTest) ... ok test_capitalize (test.test_unicode.UnicodeTest) ... ok test_center (test.test_unicode.UnicodeTest) ... ok test_codecs (test.test_unicode.UnicodeTest) ... ok test_codecs_charmap (test.test_unicode.UnicodeTest) ... ok test_codecs_errors (test.test_unicode.UnicodeTest) ... ok test_codecs_idna (test.test_unicode.UnicodeTest) ... ok test_codecs_utf7 (test.test_unicode.UnicodeTest) ... ok test_codecs_utf8 (test.test_unicode.UnicodeTest) ... ok test_comparison (test.test_unicode.UnicodeTest) ... ok test_concatenation (test.test_unicode.UnicodeTest) ... ok test_constructor (test.test_unicode.UnicodeTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_unicode.py:502: DeprecationWarning: buffer() not supported in 3.x buffer('character buffers are decoded to unicode'), ok test_contains (test.test_unicode.UnicodeTest) ... ok test_conversion (test.test_unicode.UnicodeTest) ... ok test_count (test.test_unicode.UnicodeTest) ... ok test_endswith (test.test_unicode.UnicodeTest) ... ok test_expandtabs (test.test_unicode.UnicodeTest) ... ok test_expandtabs_overflows_gracefully (test.test_unicode.UnicodeTest) ... ok test_extended_getslice (test.test_unicode.UnicodeTest) ... ok test_find (test.test_unicode.UnicodeTest) ... ok test_floatformatting (test.test_unicode.UnicodeTest) ... ok test_format (test.test_unicode.UnicodeTest) ... ok test_format_auto_numbering (test.test_unicode.UnicodeTest) ... ok test_format_float (test.test_unicode.UnicodeTest) ... ok test_formatting (test.test_unicode.UnicodeTest) ... ok test_hash (test.test_unicode.UnicodeTest) ... ok test_index (test.test_unicode.UnicodeTest) ... ok test_inplace_rewrites (test.test_unicode.UnicodeTest) ... ok test_isalnum (test.test_unicode.UnicodeTest) ... ok test_isalpha (test.test_unicode.UnicodeTest) ... ok test_isdecimal (test.test_unicode.UnicodeTest) ... ok test_isdigit (test.test_unicode.UnicodeTest) ... ok test_islower (test.test_unicode.UnicodeTest) ... ok test_isnumeric (test.test_unicode.UnicodeTest) ... ok test_isspace (test.test_unicode.UnicodeTest) ... ok test_istitle (test.test_unicode.UnicodeTest) ... ok test_isupper (test.test_unicode.UnicodeTest) ... ok test_join (test.test_unicode.UnicodeTest) ... ok test_literals (test.test_unicode.UnicodeTest) ... ok test_ljust (test.test_unicode.UnicodeTest) ... ok test_lower (test.test_unicode.UnicodeTest) ... ok test_mul (test.test_unicode.UnicodeTest) ... ok test_partition (test.test_unicode.UnicodeTest) ... ok test_printing (test.test_unicode.UnicodeTest) ... ok test_raiseMemError (test.test_unicode.UnicodeTest) ... ok test_replace (test.test_unicode.UnicodeTest) ... ok test_replace_overflow (test.test_unicode.UnicodeTest) ... ok test_repr (test.test_unicode.UnicodeTest) ... ok test_rfind (test.test_unicode.UnicodeTest) ... ok test_rindex (test.test_unicode.UnicodeTest) ... ok test_rjust (test.test_unicode.UnicodeTest) ... ok test_rpartition (test.test_unicode.UnicodeTest) ... ok test_rsplit (test.test_unicode.UnicodeTest) ... ok test_slice (test.test_unicode.UnicodeTest) ... ok test_split (test.test_unicode.UnicodeTest) ... ok test_splitlines (test.test_unicode.UnicodeTest) ... ok test_startswith (test.test_unicode.UnicodeTest) ... ok test_strip (test.test_unicode.UnicodeTest) ... ok test_subscript (test.test_unicode.UnicodeTest) ... ok test_swapcase (test.test_unicode.UnicodeTest) ... ok test_title (test.test_unicode.UnicodeTest) ... ok test_translate (test.test_unicode.UnicodeTest) ... ok test_ucs4 (test.test_unicode.UnicodeTest) ... ok test_unicode_repr (test.test_unicode.UnicodeTest) ... ok test_upper (test.test_unicode.UnicodeTest) ... ok test_zfill (test.test_unicode.UnicodeTest) ... ok ---------------------------------------------------------------------- Ran 68 tests in 0.497s OK test_unicode_file test_directories (test.test_unicode_file.TestUnicodeFiles) ... ok test_equivalent_files (test.test_unicode_file.TestUnicodeFiles) ... ok test_single_files (test.test_unicode_file.TestUnicodeFiles) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.004s OK test_unicodedata test_bug_1704793 (test.test_unicodedata.UnicodeMiscTest) ... ok test_bug_4971 (test.test_unicodedata.UnicodeMiscTest) ... ok test_bug_5828 (test.test_unicodedata.UnicodeMiscTest) ... ok test_decimal_numeric_consistent (test.test_unicodedata.UnicodeMiscTest) ... ok test_digit_numeric_consistent (test.test_unicodedata.UnicodeMiscTest) ... ok test_failed_import_during_compiling (test.test_unicodedata.UnicodeMiscTest) ... ok test_ucd_510 (test.test_unicodedata.UnicodeMiscTest) ... ok test_method_checksum (test.test_unicodedata.UnicodeMethodsTest) ... ok test_bidirectional (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_category (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_combining (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_decimal (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_decomposition (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_digit (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_east_asian_width (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_function_checksum (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_mirrored (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_normalize (test.test_unicodedata.UnicodeFunctionsTest) ... ok test_numeric (test.test_unicodedata.UnicodeFunctionsTest) ... ok ---------------------------------------------------------------------- Ran 19 tests in 1.341s OK test_univnewlines test_read (test.test_univnewlines.CTestCRNewlines) ... ok test_readline (test.test_univnewlines.CTestCRNewlines) ... ok test_readlines (test.test_univnewlines.CTestCRNewlines) ... ok test_seek (test.test_univnewlines.CTestCRNewlines) ... ok test_read (test.test_univnewlines.PyTestCRNewlines) ... ok test_readline (test.test_univnewlines.PyTestCRNewlines) ... ok test_readlines (test.test_univnewlines.PyTestCRNewlines) ... ok test_seek (test.test_univnewlines.PyTestCRNewlines) ... ok test_read (test.test_univnewlines.CTestLFNewlines) ... ok test_readline (test.test_univnewlines.CTestLFNewlines) ... ok test_readlines (test.test_univnewlines.CTestLFNewlines) ... ok test_seek (test.test_univnewlines.CTestLFNewlines) ... ok test_read (test.test_univnewlines.PyTestLFNewlines) ... ok test_readline (test.test_univnewlines.PyTestLFNewlines) ... ok test_readlines (test.test_univnewlines.PyTestLFNewlines) ... ok test_seek (test.test_univnewlines.PyTestLFNewlines) ... ok test_read (test.test_univnewlines.CTestCRLFNewlines) ... ok test_readline (test.test_univnewlines.CTestCRLFNewlines) ... ok test_readlines (test.test_univnewlines.CTestCRLFNewlines) ... ok test_seek (test.test_univnewlines.CTestCRLFNewlines) ... ok test_tell (test.test_univnewlines.CTestCRLFNewlines) ... ok test_read (test.test_univnewlines.PyTestCRLFNewlines) ... ok test_readline (test.test_univnewlines.PyTestCRLFNewlines) ... ok test_readlines (test.test_univnewlines.PyTestCRLFNewlines) ... ok test_seek (test.test_univnewlines.PyTestCRLFNewlines) ... ok test_tell (test.test_univnewlines.PyTestCRLFNewlines) ... ok test_read (test.test_univnewlines.CTestMixedNewlines) ... ok test_readline (test.test_univnewlines.CTestMixedNewlines) ... ok test_readlines (test.test_univnewlines.CTestMixedNewlines) ... ok test_seek (test.test_univnewlines.CTestMixedNewlines) ... ok test_read (test.test_univnewlines.PyTestMixedNewlines) ... ok test_readline (test.test_univnewlines.PyTestMixedNewlines) ... ok test_readlines (test.test_univnewlines.PyTestMixedNewlines) ... ok test_seek (test.test_univnewlines.PyTestMixedNewlines) ... ok ---------------------------------------------------------------------- Ran 34 tests in 0.027s OK test_univnewlines2k test_execfile (test.test_univnewlines2k.TestNativeNewlines) ... /home/exarkun/Projects/python/trunk/Lib/test/test_univnewlines2k.py:83: DeprecationWarning: execfile() not supported in 3.x; use exec() execfile(test_support.TESTFN, namespace) ok test_read (test.test_univnewlines2k.TestNativeNewlines) ... ok test_readline (test.test_univnewlines2k.TestNativeNewlines) ... ok test_readlines (test.test_univnewlines2k.TestNativeNewlines) ... ok test_seek (test.test_univnewlines2k.TestNativeNewlines) ... ok test_execfile (test.test_univnewlines2k.TestCRNewlines) ... ok test_read (test.test_univnewlines2k.TestCRNewlines) ... ok test_readline (test.test_univnewlines2k.TestCRNewlines) ... ok test_readlines (test.test_univnewlines2k.TestCRNewlines) ... ok test_seek (test.test_univnewlines2k.TestCRNewlines) ... ok test_execfile (test.test_univnewlines2k.TestLFNewlines) ... ok test_read (test.test_univnewlines2k.TestLFNewlines) ... ok test_readline (test.test_univnewlines2k.TestLFNewlines) ... ok test_readlines (test.test_univnewlines2k.TestLFNewlines) ... ok test_seek (test.test_univnewlines2k.TestLFNewlines) ... ok test_execfile (test.test_univnewlines2k.TestCRLFNewlines) ... ok test_read (test.test_univnewlines2k.TestCRLFNewlines) ... ok test_readline (test.test_univnewlines2k.TestCRLFNewlines) ... ok test_readlines (test.test_univnewlines2k.TestCRLFNewlines) ... ok test_seek (test.test_univnewlines2k.TestCRLFNewlines) ... ok test_tell (test.test_univnewlines2k.TestCRLFNewlines) ... ok test_execfile (test.test_univnewlines2k.TestMixedNewlines) ... ok test_read (test.test_univnewlines2k.TestMixedNewlines) ... ok test_readline (test.test_univnewlines2k.TestMixedNewlines) ... ok test_readlines (test.test_univnewlines2k.TestMixedNewlines) ... ok test_seek (test.test_univnewlines2k.TestMixedNewlines) ... ok ---------------------------------------------------------------------- Ran 26 tests in 0.009s OK test_unpack Trying: t = (1, 2, 3) Expecting nothing ok Trying: a, b, c = t Expecting nothing ok Trying: a == 1 and b == 2 and c == 3 Expecting: True ok Trying: l = [4, 5, 6] Expecting nothing ok Trying: a, b, c = l Expecting nothing ok Trying: a == 4 and b == 5 and c == 6 Expecting: True ok Trying: a, b, c = 7, 8, 9 Expecting nothing ok Trying: a == 7 and b == 8 and c == 9 Expecting: True ok Trying: a, b, c = 'one' Expecting nothing ok Trying: a == 'o' and b == 'n' and c == 'e' Expecting: True ok Trying: class Seq: def __getitem__(self, i): if i >= 0 and i < 3: return i raise IndexError Expecting nothing ok Trying: a, b, c = Seq() Expecting nothing ok Trying: a == 0 and b == 1 and c == 2 Expecting: True ok Trying: st = (99,) Expecting nothing ok Trying: sl = [100] Expecting nothing ok Trying: a, = st Expecting nothing ok Trying: a Expecting: 99 ok Trying: b, = sl Expecting nothing ok Trying: b Expecting: 100 ok Trying: a, b, c = 7 Expecting: Traceback (most recent call last): ... TypeError: 'int' object is not iterable ok Trying: a, b = t Expecting: Traceback (most recent call last): ... ValueError: too many values to unpack ok Trying: a, b = l Expecting: Traceback (most recent call last): ... ValueError: too many values to unpack ok Trying: a, b, c, d = Seq() Expecting: Traceback (most recent call last): ... ValueError: need more than 3 values to unpack ok Trying: a, b = Seq() Expecting: Traceback (most recent call last): ... ValueError: too many values to unpack ok Trying: class BozoError(Exception): pass Expecting nothing ok Trying: class BadSeq: def __getitem__(self, i): if i >= 0 and i < 3: return i elif i == 3: raise BozoError else: raise IndexError Expecting nothing ok Trying: a, b, c, d, e = BadSeq() Expecting: Traceback (most recent call last): ... BozoError ok Trying: a, b, c = BadSeq() Expecting: Traceback (most recent call last): ... BozoError ok 2 items had no tests: test.test_unpack test.test_unpack.test_main 1 items passed all tests: 28 tests in test.test_unpack.__test__.doctests 28 tests in 3 items. 28 passed and 0 failed. Test passed. doctest (test.test_unpack) ... 28 tests with zero failures test_urllib test_close (test.test_urllib.urlopen_FileTests) ... ok test_fileno (test.test_urllib.urlopen_FileTests) ... ok test_getcode (test.test_urllib.urlopen_FileTests) ... ok test_geturl (test.test_urllib.urlopen_FileTests) ... ok test_info (test.test_urllib.urlopen_FileTests) ... ok test_interface (test.test_urllib.urlopen_FileTests) ... ok test_iter (test.test_urllib.urlopen_FileTests) ... ok test_read (test.test_urllib.urlopen_FileTests) ... ok test_readline (test.test_urllib.urlopen_FileTests) ... ok test_readlines (test.test_urllib.urlopen_FileTests) ... ok test_empty_socket (test.test_urllib.urlopen_HttpTests) ... ok test_read (test.test_urllib.urlopen_HttpTests) ... ok test_read_bogus (test.test_urllib.urlopen_HttpTests) ... ok test_basic (test.test_urllib.urlretrieve_FileTests) ... ok test_copy (test.test_urllib.urlretrieve_FileTests) ... ok test_reporthook (test.test_urllib.urlretrieve_FileTests) ... ok test_reporthook_0_bytes (test.test_urllib.urlretrieve_FileTests) ... ok test_reporthook_5_bytes (test.test_urllib.urlretrieve_FileTests) ... ok test_reporthook_8193_bytes (test.test_urllib.urlretrieve_FileTests) ... ok test_getproxies_environment_keep_no_proxies (test.test_urllib.ProxyTests) ... ok test_default_quoting (test.test_urllib.QuotingTests) ... ok test_default_safe (test.test_urllib.QuotingTests) ... ok test_never_quote (test.test_urllib.QuotingTests) ... ok test_quoting_plus (test.test_urllib.QuotingTests) ... ok test_quoting_space (test.test_urllib.QuotingTests) ... ok test_safe (test.test_urllib.QuotingTests) ... ok test_unquote_with_unicode (test.test_urllib.UnquotingTests) ... ok test_unquoting (test.test_urllib.UnquotingTests) ... ok test_unquoting_parts (test.test_urllib.UnquotingTests) ... ok test_unquoting_plus (test.test_urllib.UnquotingTests) ... ok test_doseq (test.test_urllib.urlencode_Tests) ... ok test_quoting (test.test_urllib.urlencode_Tests) ... ok test_using_mapping (test.test_urllib.urlencode_Tests) ... ok test_using_sequence (test.test_urllib.urlencode_Tests) ... ok test_basic (test.test_urllib.Pathname_Tests) ... ok test_quoting (test.test_urllib.Pathname_Tests) ... ok test_splitpasswd (test.test_urllib.Utility_Tests) Some of the password examples are not sensible, but it is added to ... ok test_quoted_open (test.test_urllib.URLopener_Tests) ... ok ---------------------------------------------------------------------- Ran 38 tests in 0.012s OK test_urllib2 Trying: mgr = urllib2.HTTPPasswordMgr() Expecting nothing ok Trying: add = mgr.add_password Expecting nothing ok Trying: add("Some Realm", "http://example.com/", "joe", "password") Expecting nothing ok Trying: add("Some Realm", "http://example.com/ni", "ni", "ni") Expecting nothing ok Trying: add("c", "http://example.com/foo", "foo", "ni") Expecting nothing ok Trying: add("c", "http://example.com/bar", "bar", "nini") Expecting nothing ok Trying: add("b", "http://example.com/", "first", "blah") Expecting nothing ok Trying: add("b", "http://example.com/", "second", "spam") Expecting nothing ok Trying: add("a", "http://example.com", "1", "a") Expecting nothing ok Trying: add("Some Realm", "http://c.example.com:3128", "3", "c") Expecting nothing ok Trying: add("Some Realm", "d.example.com", "4", "d") Expecting nothing ok Trying: add("Some Realm", "e.example.com:3128", "5", "e") Expecting nothing ok Trying: mgr.find_user_password("Some Realm", "example.com") Expecting: ('joe', 'password') ok Trying: mgr.find_user_password("Some Realm", "http://example.com") Expecting: ('joe', 'password') ok Trying: mgr.find_user_password("Some Realm", "http://example.com/") Expecting: ('joe', 'password') ok Trying: mgr.find_user_password("Some Realm", "http://example.com/spam") Expecting: ('joe', 'password') ok Trying: mgr.find_user_password("Some Realm", "http://example.com/spam/spam") Expecting: ('joe', 'password') ok Trying: mgr.find_user_password("c", "http://example.com/foo") Expecting: ('foo', 'ni') ok Trying: mgr.find_user_password("c", "http://example.com/bar") Expecting: ('bar', 'nini') ok Trying: mgr.find_user_password("b", "http://example.com/") Expecting: ('second', 'spam') ok Trying: mgr.find_user_password("a", "http://example.com/") Expecting: ('1', 'a') ok Trying: mgr.find_user_password("a", "http://a.example.com/") Expecting: (None, None) ok Trying: mgr.find_user_password("Some Realm", "c.example.com") Expecting: (None, None) ok Trying: mgr.find_user_password("Some Realm", "c.example.com:3128") Expecting: ('3', 'c') ok Trying: mgr.find_user_password("Some Realm", "http://c.example.com:3128") Expecting: ('3', 'c') ok Trying: mgr.find_user_password("Some Realm", "d.example.com") Expecting: ('4', 'd') ok Trying: mgr.find_user_password("Some Realm", "e.example.com:3128") Expecting: ('5', 'e') ok Trying: mgr = urllib2.HTTPPasswordMgr() Expecting nothing ok Trying: add = mgr.add_password Expecting nothing ok Trying: add("f", "http://g.example.com:80", "10", "j") Expecting nothing ok Trying: add("g", "http://h.example.com", "11", "k") Expecting nothing ok Trying: add("h", "i.example.com:80", "12", "l") Expecting nothing ok Trying: add("i", "j.example.com", "13", "m") Expecting nothing ok Trying: mgr.find_user_password("f", "g.example.com:100") Expecting: (None, None) ok Trying: mgr.find_user_password("f", "g.example.com:80") Expecting: ('10', 'j') ok Trying: mgr.find_user_password("f", "g.example.com") Expecting: (None, None) ok Trying: mgr.find_user_password("f", "http://g.example.com:100") Expecting: (None, None) ok Trying: mgr.find_user_password("f", "http://g.example.com:80") Expecting: ('10', 'j') ok Trying: mgr.find_user_password("f", "http://g.example.com") Expecting: ('10', 'j') ok Trying: mgr.find_user_password("g", "h.example.com") Expecting: ('11', 'k') ok Trying: mgr.find_user_password("g", "h.example.com:80") Expecting: ('11', 'k') ok Trying: mgr.find_user_password("g", "http://h.example.com:80") Expecting: ('11', 'k') ok Trying: mgr.find_user_password("h", "i.example.com") Expecting: (None, None) ok Trying: mgr.find_user_password("h", "i.example.com:80") Expecting: ('12', 'l') ok Trying: mgr.find_user_password("h", "http://i.example.com:80") Expecting: ('12', 'l') ok Trying: mgr.find_user_password("i", "j.example.com") Expecting: ('13', 'm') ok Trying: mgr.find_user_password("i", "j.example.com:80") Expecting: (None, None) ok Trying: mgr.find_user_password("i", "http://j.example.com") Expecting: ('13', 'm') ok Trying: mgr.find_user_password("i", "http://j.example.com:80") Expecting: (None, None) ok Trying: url = "http://example.com" Expecting nothing ok Trying: Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"] Expecting: 'blah' ok Trying: Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"] Expecting: 'blah' ok Trying: url = "http://example.com" Expecting nothing ok Trying: r = Request(url, headers={"Spam-eggs": "blah"}) Expecting nothing ok Trying: r.has_header("Spam-eggs") Expecting: True ok Trying: r.header_items() Expecting: [('Spam-eggs', 'blah')] ok Trying: r.add_header("Foo-Bar", "baz") Expecting nothing ok Trying: items = r.header_items() Expecting nothing ok Trying: items.sort() Expecting nothing ok Trying: items Expecting: [('Foo-bar', 'baz'), ('Spam-eggs', 'blah')] ok Trying: r.has_header("Not-there") Expecting: False ok Trying: print r.get_header("Not-there") Expecting: None ok Trying: r.get_header("Not-there", "default") Expecting: 'default' ok 78 items had no tests: test.test_urllib2 test.test_urllib2.FakeMethod test.test_urllib2.FakeMethod.__call__ test.test_urllib2.FakeMethod.__init__ test.test_urllib2.HandlerTests test.test_urllib2.HandlerTests._test_basic_auth test.test_urllib2.HandlerTests.test_basic_and_digest_auth_handlers test.test_urllib2.HandlerTests.test_basic_auth test.test_urllib2.HandlerTests.test_basic_auth_with_single_quoted_realm test.test_urllib2.HandlerTests.test_cookie_redirect test.test_urllib2.HandlerTests.test_cookies test.test_urllib2.HandlerTests.test_errors test.test_urllib2.HandlerTests.test_file test.test_urllib2.HandlerTests.test_ftp test.test_urllib2.HandlerTests.test_http test.test_urllib2.HandlerTests.test_http_doubleslash test.test_urllib2.HandlerTests.test_proxy test.test_urllib2.HandlerTests.test_proxy_basic_auth test.test_urllib2.HandlerTests.test_proxy_https test.test_urllib2.HandlerTests.test_redirect test.test_urllib2.MiscTests test.test_urllib2.MiscTests.opener_has_handler test.test_urllib2.MiscTests.test_build_opener test.test_urllib2.MockCookieJar test.test_urllib2.MockCookieJar.add_cookie_header test.test_urllib2.MockCookieJar.extract_cookies test.test_urllib2.MockFile test.test_urllib2.MockFile.close test.test_urllib2.MockFile.read test.test_urllib2.MockFile.readline test.test_urllib2.MockHTTPHandler test.test_urllib2.MockHTTPHandler.__init__ test.test_urllib2.MockHTTPHandler.http_open test.test_urllib2.MockHTTPHandler.reset test.test_urllib2.MockHandler test.test_urllib2.MockHandler.__init__ test.test_urllib2.MockHandler.__lt__ test.test_urllib2.MockHandler._define_methods test.test_urllib2.MockHandler.add_parent test.test_urllib2.MockHandler.close test.test_urllib2.MockHandler.handle test.test_urllib2.MockHeaders test.test_urllib2.MockHeaders.getheaders test.test_urllib2.MockOpener test.test_urllib2.MockOpener.error test.test_urllib2.MockOpener.open test.test_urllib2.MockPasswordManager test.test_urllib2.MockPasswordManager.add_password test.test_urllib2.MockPasswordManager.find_user_password test.test_urllib2.MockResponse test.test_urllib2.MockResponse.__init__ test.test_urllib2.MockResponse.geturl test.test_urllib2.MockResponse.info test.test_urllib2.OpenerDirectorTests test.test_urllib2.OpenerDirectorTests.test_add_non_handler test.test_urllib2.OpenerDirectorTests.test_badly_named_methods test.test_urllib2.OpenerDirectorTests.test_handled test.test_urllib2.OpenerDirectorTests.test_handler_order test.test_urllib2.OpenerDirectorTests.test_http_error test.test_urllib2.OpenerDirectorTests.test_processors test.test_urllib2.OpenerDirectorTests.test_raise test.test_urllib2.RequestTests test.test_urllib2.RequestTests.setUp test.test_urllib2.RequestTests.test_add_data test.test_urllib2.RequestTests.test_get_full_url test.test_urllib2.RequestTests.test_get_host test.test_urllib2.RequestTests.test_get_host_unquote test.test_urllib2.RequestTests.test_get_type test.test_urllib2.RequestTests.test_method test.test_urllib2.RequestTests.test_proxy test.test_urllib2.RequestTests.test_selector test.test_urllib2.TrivialTests test.test_urllib2.TrivialTests.test_parse_http_list test.test_urllib2.TrivialTests.test_trivial test.test_urllib2.add_ordered_mock_handlers test.test_urllib2.build_test_opener test.test_urllib2.sanepathname2url test.test_urllib2.test_main 4 items passed all tests: 27 tests in test.test_urllib2.test_password_manager 22 tests in test.test_urllib2.test_password_manager_default_port 3 tests in test.test_urllib2.test_request_headers_dict 11 tests in test.test_urllib2.test_request_headers_methods 63 tests in 82 items. 63 passed and 0 failed. Test passed. doctest (test.test_urllib2) ... 63 tests with zero failures Trying: _parse_proxy('file:/ftp.example.com/') Expecting: Traceback (most recent call last): ValueError: proxy URL with no authority: 'file:/ftp.example.com/' ok Trying: _parse_proxy('proxy.example.com') Expecting: (None, None, None, 'proxy.example.com') ok Trying: _parse_proxy('proxy.example.com:3128') Expecting: (None, None, None, 'proxy.example.com:3128') ok Trying: _parse_proxy('joe:password@proxy.example.com') Expecting: (None, 'joe', 'password', 'proxy.example.com') ok Trying: _parse_proxy('joe:password@proxy.example.com:3128') Expecting: (None, 'joe', 'password', 'proxy.example.com:3128') ok Trying: _parse_proxy('http://proxy.example.com/') Expecting: ('http', None, None, 'proxy.example.com') ok Trying: _parse_proxy('http://proxy.example.com:3128/') Expecting: ('http', None, None, 'proxy.example.com:3128') ok Trying: _parse_proxy('http://joe:password@proxy.example.com/') Expecting: ('http', 'joe', 'password', 'proxy.example.com') ok Trying: _parse_proxy('http://joe:password@proxy.example.com:3128') Expecting: ('http', 'joe', 'password', 'proxy.example.com:3128') ok Trying: _parse_proxy('ftp://joe:password@proxy.example.com/rubbish:3128') Expecting: ('ftp', 'joe', 'password', 'proxy.example.com') ok Trying: _parse_proxy('http://joe:password@proxy.example.com') Expecting: ('http', 'joe', 'password', 'proxy.example.com') ok 113 items had no tests: urllib2 urllib2.AbstractBasicAuthHandler urllib2.AbstractBasicAuthHandler.__init__ urllib2.AbstractBasicAuthHandler.http_error_auth_reqed urllib2.AbstractBasicAuthHandler.retry_http_basic_auth urllib2.AbstractDigestAuthHandler urllib2.AbstractDigestAuthHandler.__init__ urllib2.AbstractDigestAuthHandler.get_algorithm_impls urllib2.AbstractDigestAuthHandler.get_authorization urllib2.AbstractDigestAuthHandler.get_cnonce urllib2.AbstractDigestAuthHandler.get_entity_digest urllib2.AbstractDigestAuthHandler.http_error_auth_reqed urllib2.AbstractDigestAuthHandler.reset_retry_count urllib2.AbstractDigestAuthHandler.retry_http_digest_auth urllib2.AbstractHTTPHandler urllib2.AbstractHTTPHandler.__init__ urllib2.AbstractHTTPHandler.do_open urllib2.AbstractHTTPHandler.do_request_ urllib2.AbstractHTTPHandler.set_http_debuglevel urllib2.BaseHandler urllib2.BaseHandler.__lt__ urllib2.BaseHandler.add_parent urllib2.BaseHandler.close urllib2.CacheFTPHandler urllib2.CacheFTPHandler.__init__ urllib2.CacheFTPHandler.check_cache urllib2.CacheFTPHandler.connect_ftp urllib2.CacheFTPHandler.setMaxConns urllib2.CacheFTPHandler.setTimeout urllib2.FTPHandler urllib2.FTPHandler.connect_ftp urllib2.FTPHandler.ftp_open urllib2.FileHandler urllib2.FileHandler.file_open urllib2.FileHandler.get_names urllib2.FileHandler.open_local_file urllib2.HTTPBasicAuthHandler urllib2.HTTPBasicAuthHandler.http_error_401 urllib2.HTTPCookieProcessor urllib2.HTTPCookieProcessor.__init__ urllib2.HTTPCookieProcessor.http_request urllib2.HTTPCookieProcessor.https_response urllib2.HTTPDefaultErrorHandler urllib2.HTTPDefaultErrorHandler.http_error_default urllib2.HTTPDigestAuthHandler urllib2.HTTPDigestAuthHandler.http_error_401 urllib2.HTTPError urllib2.HTTPError.__init__ urllib2.HTTPError.__str__ urllib2.HTTPErrorProcessor urllib2.HTTPErrorProcessor.https_response urllib2.HTTPHandler urllib2.HTTPHandler.http_open urllib2.HTTPPasswordMgr urllib2.HTTPPasswordMgr.__init__ urllib2.HTTPPasswordMgr.add_password urllib2.HTTPPasswordMgr.find_user_password urllib2.HTTPPasswordMgr.is_suburi urllib2.HTTPPasswordMgr.reduce_uri urllib2.HTTPPasswordMgrWithDefaultRealm urllib2.HTTPPasswordMgrWithDefaultRealm.find_user_password urllib2.HTTPRedirectHandler urllib2.HTTPRedirectHandler.http_error_307 urllib2.HTTPRedirectHandler.redirect_request urllib2.HTTPSHandler urllib2.HTTPSHandler.https_open urllib2.OpenerDirector urllib2.OpenerDirector.__init__ urllib2.OpenerDirector._call_chain urllib2.OpenerDirector._open urllib2.OpenerDirector.add_handler urllib2.OpenerDirector.close urllib2.OpenerDirector.error urllib2.OpenerDirector.open urllib2.ProxyBasicAuthHandler urllib2.ProxyBasicAuthHandler.http_error_407 urllib2.ProxyDigestAuthHandler urllib2.ProxyDigestAuthHandler.http_error_407 urllib2.ProxyHandler urllib2.ProxyHandler.__init__ urllib2.ProxyHandler.proxy_open urllib2.Request urllib2.Request.__getattr__ urllib2.Request.__init__ urllib2.Request.add_data urllib2.Request.add_header urllib2.Request.add_unredirected_header urllib2.Request.get_data urllib2.Request.get_full_url urllib2.Request.get_header urllib2.Request.get_host urllib2.Request.get_method urllib2.Request.get_origin_req_host urllib2.Request.get_selector urllib2.Request.get_type urllib2.Request.has_data urllib2.Request.has_header urllib2.Request.has_proxy urllib2.Request.header_items urllib2.Request.is_unverifiable urllib2.Request.set_proxy urllib2.URLError urllib2.URLError.__init__ urllib2.URLError.__str__ urllib2.UnknownHandler urllib2.UnknownHandler.unknown_open urllib2.build_opener urllib2.install_opener urllib2.parse_http_list urllib2.parse_keqv_list urllib2.randombytes urllib2.request_host urllib2.urlopen 1 items passed all tests: 11 tests in urllib2._parse_proxy 11 tests in 114 items. 11 passed and 0 failed. Test passed. doctest (urllib2) ... 11 tests with zero failures test_parse_http_list (test.test_urllib2.TrivialTests) ... ok test_trivial (test.test_urllib2.TrivialTests) ... ok test_add_non_handler (test.test_urllib2.OpenerDirectorTests) ... ok test_badly_named_methods (test.test_urllib2.OpenerDirectorTests) ... ok test_handled (test.test_urllib2.OpenerDirectorTests) ... ok test_handler_order (test.test_urllib2.OpenerDirectorTests) ... ok test_http_error (test.test_urllib2.OpenerDirectorTests) ... ok test_processors (test.test_urllib2.OpenerDirectorTests) ... ok test_raise (test.test_urllib2.OpenerDirectorTests) ... ok test_basic_and_digest_auth_handlers (test.test_urllib2.HandlerTests) ... ok test_basic_auth (test.test_urllib2.HandlerTests) ... ok test_basic_auth_with_single_quoted_realm (test.test_urllib2.HandlerTests) ... ok test_cookie_redirect (test.test_urllib2.HandlerTests) ... ok test_cookies (test.test_urllib2.HandlerTests) ... ok test_errors (test.test_urllib2.HandlerTests) ... ok test_file (test.test_urllib2.HandlerTests) ... ok test_ftp (test.test_urllib2.HandlerTests) ... ok test_http (test.test_urllib2.HandlerTests) ... ok test_http_doubleslash (test.test_urllib2.HandlerTests) ... ok test_proxy (test.test_urllib2.HandlerTests) ... ok test_proxy_basic_auth (test.test_urllib2.HandlerTests) ... ok test_proxy_https (test.test_urllib2.HandlerTests) ... ok test_redirect (test.test_urllib2.HandlerTests) ... ok test_build_opener (test.test_urllib2.MiscTests) ... ok test_add_data (test.test_urllib2.RequestTests) ... ok test_get_full_url (test.test_urllib2.RequestTests) ... ok test_get_host (test.test_urllib2.RequestTests) ... ok test_get_host_unquote (test.test_urllib2.RequestTests) ... ok test_get_type (test.test_urllib2.RequestTests) ... ok test_method (test.test_urllib2.RequestTests) ... ok test_proxy (test.test_urllib2.RequestTests) ... ok test_selector (test.test_urllib2.RequestTests) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.022s OK test_urllib2_localnet test_proxy_qop_auth_int_works_or_throws_urlerror (test.test_urllib2_localnet.ProxyAuthTests) ... ok test_proxy_qop_auth_works (test.test_urllib2_localnet.ProxyAuthTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_urllib2_localnet.py:163: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if self._users.has_key(auth_dict["username"]): ok test_proxy_with_bad_password_raises_httperror (test.test_urllib2_localnet.ProxyAuthTests) ... ok test_proxy_with_no_password_raises_httperror (test.test_urllib2_localnet.ProxyAuthTests) ... ok test_200 (test.test_urllib2_localnet.TestUrlopen) ... ok test_200_with_parameters (test.test_urllib2_localnet.TestUrlopen) ... ok test_404 (test.test_urllib2_localnet.TestUrlopen) ... ok test_bad_address (test.test_urllib2_localnet.TestUrlopen) ... /home/exarkun/Projects/python/trunk/Lib/httplib.py:932: DeprecationWarning: __getitem__ not supported for exception classes in 3.x; use args attribute if v[0] != 32 or not self.auto_open: ok test_basic (test.test_urllib2_localnet.TestUrlopen) ... ok test_geturl (test.test_urllib2_localnet.TestUrlopen) ... ok test_info (test.test_urllib2_localnet.TestUrlopen) ... ok test_redirection (test.test_urllib2_localnet.TestUrlopen) ... ok test_sending_headers (test.test_urllib2_localnet.TestUrlopen) ... ok ---------------------------------------------------------------------- Ran 13 tests in 7.050s OK test_urllib2net test_file (test.test_urllib2net.OtherNetworkTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_urllib2net.py:181: DeprecationWarning: With-statements now directly support multiple context managers with test_support.transient_internet(): ok test_ftp (test.test_urllib2net.OtherNetworkTests) ... ok test_close (test.test_urllib2net.CloseSocketTest) ... ok test_ftp_basic (test.test_urllib2net.TimeoutTest) ... ok test_ftp_default_timeout (test.test_urllib2net.TimeoutTest) ... ok test_ftp_no_timeout (test.test_urllib2net.TimeoutTest) ... ok test_ftp_timeout (test.test_urllib2net.TimeoutTest) ... ok test_http_basic (test.test_urllib2net.TimeoutTest) ... ok test_http_default_timeout (test.test_urllib2net.TimeoutTest) ... ok test_http_no_timeout (test.test_urllib2net.TimeoutTest) ... ok test_http_timeout (test.test_urllib2net.TimeoutTest) ... ok ---------------------------------------------------------------------- Ran 11 tests in 20.463s OK test_urllibnet testURLread (test.test_urllibnet.URLTimeoutTest) ... ok test_bad_address (test.test_urllibnet.urlopenNetworkTests) ... ok test_basic (test.test_urllibnet.urlopenNetworkTests) ... ok test_fileno (test.test_urllibnet.urlopenNetworkTests) ... ok test_getcode (test.test_urllibnet.urlopenNetworkTests) ... ok test_geturl (test.test_urllibnet.urlopenNetworkTests) ... ok test_info (test.test_urllibnet.urlopenNetworkTests) ... ok test_readlines (test.test_urllibnet.urlopenNetworkTests) ... ok test_basic (test.test_urllibnet.urlretrieveNetworkTests) ... ok test_header (test.test_urllibnet.urlretrieveNetworkTests) ... ok test_specified_path (test.test_urllibnet.urlretrieveNetworkTests) ... ok ---------------------------------------------------------------------- Ran 11 tests in 3.795s OK test_urlparse test_RFC1808 (test.test_urlparse.UrlParseTestCase) ... ok test_RFC2396 (test.test_urlparse.UrlParseTestCase) ... ok test_RFC3986 (test.test_urlparse.UrlParseTestCase) ... ok test_attributes_bad_port (test.test_urlparse.UrlParseTestCase) Check handling of non-integer ports. ... ok test_attributes_without_netloc (test.test_urlparse.UrlParseTestCase) ... ok test_caching (test.test_urlparse.UrlParseTestCase) ... ok test_http_roundtrips (test.test_urlparse.UrlParseTestCase) ... ok test_noslash (test.test_urlparse.UrlParseTestCase) ... ok test_qsl (test.test_urlparse.UrlParseTestCase) ... ok test_roundtrips (test.test_urlparse.UrlParseTestCase) ... ok test_unparse_parse (test.test_urlparse.UrlParseTestCase) ... ok test_urldefrag (test.test_urlparse.UrlParseTestCase) ... ok test_urlsplit_attributes (test.test_urlparse.UrlParseTestCase) ... ok ---------------------------------------------------------------------- Ran 13 tests in 0.008s OK test_userdict test_all (test.test_userdict.UserDictTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_userdict.py:100: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertEqual(u1.has_key(i), d1.has_key(i)) /home/exarkun/Projects/python/trunk/Lib/test/test_userdict.py:102: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertEqual(u0.has_key(i), d0.has_key(i)) ok test_bool (test.test_userdict.UserDictTest) ... ok test_clear (test.test_userdict.UserDictTest) ... ok test_constructor (test.test_userdict.UserDictTest) ... ok test_contains (test.test_userdict.UserDictTest) ... ok test_copy (test.test_userdict.UserDictTest) ... ok test_fromkeys (test.test_userdict.UserDictTest) ... ok test_get (test.test_userdict.UserDictTest) ... ok test_getitem (test.test_userdict.UserDictTest) ... ok test_has_key (test.test_userdict.UserDictTest) ... ok test_items (test.test_userdict.UserDictTest) ... ok test_keys (test.test_userdict.UserDictTest) ... ok test_le (test.test_userdict.UserDictTest) ... ok test_len (test.test_userdict.UserDictTest) ... ok test_missing (test.test_userdict.UserDictTest) ... ok test_mutatingiteration (test.test_userdict.UserDictTest) ... ok test_pop (test.test_userdict.UserDictTest) ... ok test_popitem (test.test_userdict.UserDictTest) ... ok test_read (test.test_userdict.UserDictTest) ... ok test_repr (test.test_userdict.UserDictTest) ... ok test_setdefault (test.test_userdict.UserDictTest) ... ok test_update (test.test_userdict.UserDictTest) ... ok test_values (test.test_userdict.UserDictTest) ... ok test_write (test.test_userdict.UserDictTest) ... ok test_all (test.test_userdict.UserDictMixinTest) ... ok test_bool (test.test_userdict.UserDictMixinTest) ... ok test_clear (test.test_userdict.UserDictMixinTest) ... ok test_constructor (test.test_userdict.UserDictMixinTest) ... ok test_contains (test.test_userdict.UserDictMixinTest) ... ok test_copy (test.test_userdict.UserDictMixinTest) ... ok test_fromkeys (test.test_userdict.UserDictMixinTest) ... ok test_get (test.test_userdict.UserDictMixinTest) ... ok test_getitem (test.test_userdict.UserDictMixinTest) ... ok test_has_key (test.test_userdict.UserDictMixinTest) ... ok test_items (test.test_userdict.UserDictMixinTest) ... ok test_keys (test.test_userdict.UserDictMixinTest) ... ok test_len (test.test_userdict.UserDictMixinTest) ... ok test_pop (test.test_userdict.UserDictMixinTest) ... ok test_popitem (test.test_userdict.UserDictMixinTest) ... ok test_read (test.test_userdict.UserDictMixinTest) ... ok test_setdefault (test.test_userdict.UserDictMixinTest) ... ok test_update (test.test_userdict.UserDictMixinTest) ... ok test_values (test.test_userdict.UserDictMixinTest) ... ok test_write (test.test_userdict.UserDictMixinTest) ... ok ---------------------------------------------------------------------- Ran 44 tests in 0.908s OK test_userlist test_add_specials (test.test_userlist.UserListTest) ... ok test_addmul (test.test_userlist.UserListTest) ... ok test_append (test.test_userlist.UserListTest) ... ok test_bigrepeat (test.test_userlist.UserListTest) ... ok test_constructor_exception_handling (test.test_userlist.UserListTest) ... ok test_constructors (test.test_userlist.UserListTest) ... ok test_contains (test.test_userlist.UserListTest) ... ok test_contains_fake (test.test_userlist.UserListTest) ... ok test_contains_order (test.test_userlist.UserListTest) ... ok test_count (test.test_userlist.UserListTest) ... ok test_delitem (test.test_userlist.UserListTest) ... ok test_delslice (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:195: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[1:2] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:196: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[0:1] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:200: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[1L:2L] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:201: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[0L:1L] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:205: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[-2:-1] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:209: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[-2L:-1L] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:213: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[1:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:214: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[:1] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:218: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[1L:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:219: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[:1L] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:223: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[-1:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:227: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[-1L:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:231: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del a[:] ok test_extend (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:246: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ a = a1[:] ok test_extendedslicing (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:512: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ b = a[:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:513: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ c = a[:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:514: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[2:3] = self.type2test(["two", "elements"]) ok test_getitem (test.test_userlist.UserListTest) ... ok test_getitemoverwriteiter (test.test_userlist.UserListTest) ... ok test_getslice (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:167: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[0:0], self.type2test()) /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:168: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[1:2], self.type2test([1])) /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:169: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[-2:-1], self.type2test([3])) /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:170: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[-1000:1000], u) /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:171: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[1000:-1000], self.type2test([])) /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:172: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[:], u) /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:196: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(a[ -pow(2,128L): 3 ], self.type2test([0,1,2])) /home/exarkun/Projects/python/trunk/Lib/test/seq_tests.py:197: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(a[ 3: pow(2,145L) ], self.type2test([3,4])) /home/exarkun/Projects/python/trunk/Lib/test/test_userlist.py:14: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[:i], l[:i]) /home/exarkun/Projects/python/trunk/Lib/test/test_userlist.py:15: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[i:], l[i:]) /home/exarkun/Projects/python/trunk/Lib/test/test_userlist.py:17: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(u[i:j], l[i:j]) ok test_iadd (test.test_userlist.UserListTest) ... ok test_imul (test.test_userlist.UserListTest) ... ok test_index (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:409: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[:] = [EvilCmp(a) for _ in xrange(100)] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:406: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del self.victim[:] ok test_init (test.test_userlist.UserListTest) ... ok test_insert (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:271: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ b = a[:] ok test_len (test.test_userlist.UserListTest) ... ok test_minmax (test.test_userlist.UserListTest) ... ok test_mixedadd (test.test_userlist.UserListTest) ... ok test_mixedcmp (test.test_userlist.UserListTest) ... ok test_pop (test.test_userlist.UserListTest) ... ok test_print (test.test_userlist.UserListTest) ... ok test_radd_specials (test.test_userlist.UserListTest) ... ok test_remove (test.test_userlist.UserListTest) ... ok test_repeat (test.test_userlist.UserListTest) ... ok test_repr (test.test_userlist.UserListTest) ... ok test_reverse (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:415: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ u2 = u[:] ok test_reversed (test.test_userlist.UserListTest) ... ok test_set_subscript (test.test_userlist.UserListTest) ... ok test_setitem (test.test_userlist.UserListTest) ... ok test_setslice (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:150: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[:i] = l[:i] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:152: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ a2 = a[:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:153: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ a2[:i] = a[:i] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:153: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a2[:i] = a[:i] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:155: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[i:] = l[i:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:157: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ a2 = a[:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:158: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ a2[i:] = a[i:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:158: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a2[i:] = a[i:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:161: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[i:j] = l[i:j] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:163: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ a2 = a[:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:164: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ a2[i:j] = a[i:j] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:164: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a2[i:j] = a[i:j] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:167: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ aa2 = a2[:] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:168: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ aa2[:0] = [-2, -1] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:170: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ aa2[0:] = [] /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:174: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[:-1] = a /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:177: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[1:] = a /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:180: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[1:-1] = a /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:184: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ a[:] = tuple(range(10)) ok test_slice (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/test/list_tests.py:458: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ u[:2] = "h" ok test_sort (test.test_userlist.UserListTest) ... /home/exarkun/Projects/python/trunk/Lib/UserList.py:83: DeprecationWarning: the cmp argument is not supported in 3.x def sort(self, *args, **kwds): self.data.sort(*args, **kwds) ok test_subscript (test.test_userlist.UserListTest) ... ok test_truth (test.test_userlist.UserListTest) ... ok ---------------------------------------------------------------------- Ran 41 tests in 0.020s OK test_userstring test___contains__ (test.test_userstring.UserStringTest) ... ok test_capitalize (test.test_userstring.UserStringTest) ... ok test_center (test.test_userstring.UserStringTest) ... ok test_count (test.test_userstring.UserStringTest) ... ok test_encoding_decoding (test.test_userstring.UserStringTest) ... ok test_endswith (test.test_userstring.UserStringTest) ... ok test_expandtabs (test.test_userstring.UserStringTest) ... ok test_extended_getslice (test.test_userstring.UserStringTest) ... ok test_find (test.test_userstring.UserStringTest) ... /home/exarkun/Projects/python/trunk/Lib/test/string_tests.py:211: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(i[loc:loc+len(j)], j) ok test_floatformatting (test.test_userstring.UserStringTest) ... ok test_formatting (test.test_userstring.UserStringTest) ... ok test_hash (test.test_userstring.UserStringTest) ... ok test_index (test.test_userstring.UserStringTest) ... ok test_inplace_rewrites (test.test_userstring.UserStringTest) ... ok test_isalnum (test.test_userstring.UserStringTest) ... ok test_isalpha (test.test_userstring.UserStringTest) ... ok test_isdigit (test.test_userstring.UserStringTest) ... ok test_islower (test.test_userstring.UserStringTest) ... ok test_isspace (test.test_userstring.UserStringTest) ... ok test_istitle (test.test_userstring.UserStringTest) ... ok test_isupper (test.test_userstring.UserStringTest) ... ok test_join (test.test_userstring.UserStringTest) ... ok test_ljust (test.test_userstring.UserStringTest) ... ok test_lower (test.test_userstring.UserStringTest) ... ok test_maketrans (test.test_userstring.UserStringTest) ... ok test_mul (test.test_userstring.UserStringTest) ... ok test_partition (test.test_userstring.UserStringTest) ... ok test_replace (test.test_userstring.UserStringTest) ... ok test_replace_overflow (test.test_userstring.UserStringTest) ... ok test_rfind (test.test_userstring.UserStringTest) ... ok test_rindex (test.test_userstring.UserStringTest) ... ok test_rjust (test.test_userstring.UserStringTest) ... ok test_rpartition (test.test_userstring.UserStringTest) ... ok test_rsplit (test.test_userstring.UserStringTest) ... ok test_slice (test.test_userstring.UserStringTest) ... ok test_split (test.test_userstring.UserStringTest) ... ok test_splitlines (test.test_userstring.UserStringTest) ... ok test_startswith (test.test_userstring.UserStringTest) ... ok test_strip (test.test_userstring.UserStringTest) ... ok test_subscript (test.test_userstring.UserStringTest) ... ok test_swapcase (test.test_userstring.UserStringTest) ... ok test_title (test.test_userstring.UserStringTest) ... ok test_translate (test.test_userstring.UserStringTest) ... ok test_upper (test.test_userstring.UserStringTest) ... ok test_zfill (test.test_userstring.UserStringTest) ... ok test___contains__ (test.test_userstring.MutableStringTest) ... ok test_capitalize (test.test_userstring.MutableStringTest) ... ok test_center (test.test_userstring.MutableStringTest) ... ok test_count (test.test_userstring.MutableStringTest) ... ok test_delitem (test.test_userstring.MutableStringTest) ... ok test_delslice (test.test_userstring.MutableStringTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_userstring.py:86: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del s[3:10] /home/exarkun/Projects/python/trunk/Lib/test/test_userstring.py:88: DeprecationWarning: in 3.x, __delslice__ has been removed; use __delitem__ del s[-1:10] ok test_encoding_decoding (test.test_userstring.MutableStringTest) ... ok test_endswith (test.test_userstring.MutableStringTest) ... ok test_expandtabs (test.test_userstring.MutableStringTest) ... ok test_extended_getslice (test.test_userstring.MutableStringTest) ... ok test_extended_set_del_slice (test.test_userstring.MutableStringTest) ... ok test_find (test.test_userstring.MutableStringTest) ... ok test_floatformatting (test.test_userstring.MutableStringTest) ... ok test_formatting (test.test_userstring.MutableStringTest) ... ok test_hash (test.test_userstring.MutableStringTest) ... ok test_iadd (test.test_userstring.MutableStringTest) ... ok test_immutable (test.test_userstring.MutableStringTest) ... ok test_imul (test.test_userstring.MutableStringTest) ... ok test_index (test.test_userstring.MutableStringTest) ... ok test_inplace_rewrites (test.test_userstring.MutableStringTest) ... ok test_isalnum (test.test_userstring.MutableStringTest) ... ok test_isalpha (test.test_userstring.MutableStringTest) ... ok test_isdigit (test.test_userstring.MutableStringTest) ... ok test_islower (test.test_userstring.MutableStringTest) ... ok test_isspace (test.test_userstring.MutableStringTest) ... ok test_istitle (test.test_userstring.MutableStringTest) ... ok test_isupper (test.test_userstring.MutableStringTest) ... ok test_join (test.test_userstring.MutableStringTest) ... ok test_ljust (test.test_userstring.MutableStringTest) ... ok test_lower (test.test_userstring.MutableStringTest) ... ok test_maketrans (test.test_userstring.MutableStringTest) ... ok test_mul (test.test_userstring.MutableStringTest) ... ok test_partition (test.test_userstring.MutableStringTest) ... ok test_replace (test.test_userstring.MutableStringTest) ... ok test_replace_overflow (test.test_userstring.MutableStringTest) ... ok test_rfind (test.test_userstring.MutableStringTest) ... ok test_rindex (test.test_userstring.MutableStringTest) ... ok test_rjust (test.test_userstring.MutableStringTest) ... ok test_rpartition (test.test_userstring.MutableStringTest) ... ok test_rsplit (test.test_userstring.MutableStringTest) ... ok test_setitem (test.test_userstring.MutableStringTest) ... ok test_setslice (test.test_userstring.MutableStringTest) ... /home/exarkun/Projects/python/trunk/Lib/test/test_userstring.py:75: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ s[:] = "bar" /home/exarkun/Projects/python/trunk/Lib/test/test_userstring.py:77: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ s[1:2] = "foo" /home/exarkun/Projects/python/trunk/Lib/test/test_userstring.py:79: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ s[1:-1] = UserString("a") /home/exarkun/Projects/python/trunk/Lib/test/test_userstring.py:81: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ s[0:10] = 42 ok test_slice (test.test_userstring.MutableStringTest) ... ok test_split (test.test_userstring.MutableStringTest) ... ok test_splitlines (test.test_userstring.MutableStringTest) ... ok test_startswith (test.test_userstring.MutableStringTest) ... ok test_strip (test.test_userstring.MutableStringTest) ... ok test_subscript (test.test_userstring.MutableStringTest) ... ok test_swapcase (test.test_userstring.MutableStringTest) ... ok test_title (test.test_userstring.MutableStringTest) ... ok test_translate (test.test_userstring.MutableStringTest) ... ok test_upper (test.test_userstring.MutableStringTest) ... ok test_zfill (test.test_userstring.MutableStringTest) ... ok ---------------------------------------------------------------------- Ran 98 tests in 1.879s OK test_uu test_decode (test.test_uu.UUTest) ... ok test_encode (test.test_uu.UUTest) ... ok test_missingbegin (test.test_uu.UUTest) ... ok test_truncatedinput (test.test_uu.UUTest) ... ok test_decode (test.test_uu.UUStdIOTest) ... ok test_encode (test.test_uu.UUStdIOTest) ... ok test_decode (test.test_uu.UUFileTest) ... ok test_decodetwice (test.test_uu.UUFileTest) ... ok test_encode (test.test_uu.UUFileTest) ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.001s OK test_uuid test_UUID (test.test_uuid.TestUUID) ... ok test_exceptions (test.test_uuid.TestUUID) ... ok test_getnode (test.test_uuid.TestUUID) ... WARNING: uuid.getnode is unreliable on many platforms. It is disabled until the code and/or test can be fixed properly. ok test_ifconfig_getnode (test.test_uuid.TestUUID) ... WARNING: uuid._ifconfig_getnode is unreliable on many platforms. It is disabled until the code and/or test can be fixed properly. ok test_ipconfig_getnode (test.test_uuid.TestUUID) ... ok test_netbios_getnode (test.test_uuid.TestUUID) ... ok test_random_getnode (test.test_uuid.TestUUID) ... ok test_unixdll_getnode (test.test_uuid.TestUUID) ... WARNING: uuid._unixdll_getnode is unreliable on many platforms. It is disabled until the code and/or test can be fixed properly. ok test_uuid1 (test.test_uuid.TestUUID) ... /home/exarkun/Projects/python/trunk/Lib/uuid.py:492: DeprecationWarning: classic long division timestamp = int(nanoseconds/100) + 0x01b21dd213814000L /home/exarkun/Projects/python/trunk/Lib/uuid.py:493: DeprecationWarning: comparing unequal types not supported in 3.x if timestamp <= _last_timestamp: ok test_uuid3 (test.test_uuid.TestUUID) ... ok test_uuid4 (test.test_uuid.TestUUID) ... ok test_uuid5 (test.test_uuid.TestUUID) ... ok test_windll_getnode (test.test_uuid.TestUUID) ... ok ---------------------------------------------------------------------- Ran 13 tests in 0.095s OK test_wait3 test_wait (test.test_wait3.Wait3Test) ... ok ---------------------------------------------------------------------- Ran 1 test in 6.003s OK test_wait4 test_wait (test.test_wait4.Wait4Test) ... ok ---------------------------------------------------------------------- Ran 1 test in 6.004s OK test_warnings test_always (test.test_warnings.CFilterTests) ... ok test_default (test.test_warnings.CFilterTests) ... ok test_error (test.test_warnings.CFilterTests) ... ok test_filterwarnings (test.test_warnings.CFilterTests) ... ok test_ignore (test.test_warnings.CFilterTests) ... ok test_inheritance (test.test_warnings.CFilterTests) ... ok test_module (test.test_warnings.CFilterTests) ... ok test_once (test.test_warnings.CFilterTests) ... ok test_ordering (test.test_warnings.CFilterTests) ... ok test_always (test.test_warnings.PyFilterTests) ... ok test_default (test.test_warnings.PyFilterTests) ... ok test_error (test.test_warnings.PyFilterTests) ... ok test_filterwarnings (test.test_warnings.PyFilterTests) ... ok test_ignore (test.test_warnings.PyFilterTests) ... ok test_inheritance (test.test_warnings.PyFilterTests) ... ok test_module (test.test_warnings.PyFilterTests) ... ok test_once (test.test_warnings.PyFilterTests) ... ok test_ordering (test.test_warnings.PyFilterTests) ... ok test_accelerated (test.test_warnings.CWarnTests) ... ok test_bad_str (test.test_warnings.CWarnTests) ... ok test_filename (test.test_warnings.CWarnTests) ... ok test_message (test.test_warnings.CWarnTests) ... ok test_missing_filename_main_with_argv (test.test_warnings.CWarnTests) ... ok test_missing_filename_main_with_argv_empty_string (test.test_warnings.CWarnTests) ... ok test_missing_filename_main_without_argv (test.test_warnings.CWarnTests) ... ok test_missing_filename_not_main (test.test_warnings.CWarnTests) ... ok test_stacklevel (test.test_warnings.CWarnTests) ... ok test_warn_explicit_type_errors (test.test_warnings.CWarnTests) ... ok test_bad_str (test.test_warnings.PyWarnTests) ... ok test_filename (test.test_warnings.PyWarnTests) ... ok test_message (test.test_warnings.PyWarnTests) ... ok test_missing_filename_main_with_argv (test.test_warnings.PyWarnTests) ... ok test_missing_filename_main_with_argv_empty_string (test.test_warnings.PyWarnTests) ... ok test_missing_filename_main_without_argv (test.test_warnings.PyWarnTests) ... ok test_missing_filename_not_main (test.test_warnings.PyWarnTests) ... ok test_pure_python (test.test_warnings.PyWarnTests) ... ok test_stacklevel (test.test_warnings.PyWarnTests) ... ok test_warn_explicit_type_errors (test.test_warnings.PyWarnTests) ... ok test_improper_input (test.test_warnings.CWCmdLineTests) ... ok test_improper_input (test.test_warnings.PyWCmdLineTests) ... ok test_default_action (test.test_warnings._WarningsTests) ... ok test_filter (test.test_warnings._WarningsTests) ... ok test_onceregistry (test.test_warnings._WarningsTests) ... ok test_show_warning_output (test.test_warnings._WarningsTests) ... ok test_showwarning_missing (test.test_warnings._WarningsTests) ... ok test_showwarning_not_callable (test.test_warnings._WarningsTests) ... ok test_formatwarning (test.test_warnings.CWarningsDisplayTests) ... ok test_showwarning (test.test_warnings.CWarningsDisplayTests) ... ok test_formatwarning (test.test_warnings.PyWarningsDisplayTests) ... ok test_showwarning (test.test_warnings.PyWarningsDisplayTests) ... ok test_catch_warnings_defaults (test.test_warnings.CCatchWarningTests) ... ok test_catch_warnings_recording (test.test_warnings.CCatchWarningTests) ... ok test_catch_warnings_reentry_guard (test.test_warnings.CCatchWarningTests) ... ok test_catch_warnings_restore (test.test_warnings.CCatchWarningTests) ... ok test_check_warnings (test.test_warnings.CCatchWarningTests) ... ok test_catch_warnings_defaults (test.test_warnings.PyCatchWarningTests) ... ok test_catch_warnings_recording (test.test_warnings.PyCatchWarningTests) ... ok test_catch_warnings_reentry_guard (test.test_warnings.PyCatchWarningTests) ... ok test_catch_warnings_restore (test.test_warnings.PyCatchWarningTests) ... ok test_check_warnings (test.test_warnings.PyCatchWarningTests) ... ok ---------------------------------------------------------------------- Ran 60 tests in 0.013s OK test_wave test_it (test.test_wave.TestWave) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.001s OK test_weakref test_basic_callback (test.test_weakref.ReferencesTestCase) ... ok test_basic_proxy (test.test_weakref.ReferencesTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_weakref.py:172: DeprecationWarning: in 3.x, __setslice__ has been removed; use __setitem__ p[:] = [2, 3] /home/exarkun/Projects/python/trunk/Lib/test/test_weakref.py:186: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(L3[:], p3[:]) /home/exarkun/Projects/python/trunk/Lib/test/test_weakref.py:187: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(L3[5:], p3[5:]) /home/exarkun/Projects/python/trunk/Lib/test/test_weakref.py:188: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(L3[:5], p3[:5]) /home/exarkun/Projects/python/trunk/Lib/test/test_weakref.py:189: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__ self.assertEqual(L3[2:5], p3[2:5]) ok test_basic_ref (test.test_weakref.ReferencesTestCase) ... ok test_callable_proxy (test.test_weakref.ReferencesTestCase) ... ok test_callback_in_cycle_1 (test.test_weakref.ReferencesTestCase) ... ok test_callback_in_cycle_2 (test.test_weakref.ReferencesTestCase) ... ok test_callback_in_cycle_3 (test.test_weakref.ReferencesTestCase) ... ok test_callback_in_cycle_4 (test.test_weakref.ReferencesTestCase) ... ok test_callback_in_cycle_resurrection (test.test_weakref.ReferencesTestCase) ... ok test_callbacks_on_callback (test.test_weakref.ReferencesTestCase) ... ok test_callbacks_protected (test.test_weakref.ReferencesTestCase) ... ok test_gc_during_proxy_creation (test.test_weakref.ReferencesTestCase) ... ok test_gc_during_ref_creation (test.test_weakref.ReferencesTestCase) ... ok test_getweakrefcount (test.test_weakref.ReferencesTestCase) ... ok test_getweakrefs (test.test_weakref.ReferencesTestCase) ... ok test_init (test.test_weakref.ReferencesTestCase) ... ok test_multiple_callbacks (test.test_weakref.ReferencesTestCase) ... ok test_multiple_selfref_callbacks (test.test_weakref.ReferencesTestCase) ... ok test_newstyle_number_ops (test.test_weakref.ReferencesTestCase) ... ok test_proxy_bool (test.test_weakref.ReferencesTestCase) ... ok test_proxy_deletion (test.test_weakref.ReferencesTestCase) ... ok test_proxy_div (test.test_weakref.ReferencesTestCase) ... ok test_proxy_index (test.test_weakref.ReferencesTestCase) ... ok test_proxy_ref (test.test_weakref.ReferencesTestCase) ... ok test_proxy_reuse (test.test_weakref.ReferencesTestCase) ... ok test_ref_created_during_del (test.test_weakref.ReferencesTestCase) ... ok test_ref_reuse (test.test_weakref.ReferencesTestCase) ... ok test_sf_bug_840829 (test.test_weakref.ReferencesTestCase) ... ok test_shared_proxy_without_callback (test.test_weakref.ReferencesTestCase) ... ok test_shared_ref_without_callback (test.test_weakref.ReferencesTestCase) ... ok test_make_weak_keyed_dict_from_dict (test.test_weakref.MappingTestCase) ... ok test_make_weak_keyed_dict_from_weak_keyed_dict (test.test_weakref.MappingTestCase) ... ok test_weak_keyed_bad_delitem (test.test_weakref.MappingTestCase) ... ok test_weak_keyed_cascading_deletes (test.test_weakref.MappingTestCase) ... ok test_weak_keyed_delitem (test.test_weakref.MappingTestCase) ... ok test_weak_keyed_dict_popitem (test.test_weakref.MappingTestCase) ... ok test_weak_keyed_dict_setdefault (test.test_weakref.MappingTestCase) ... ok test_weak_keyed_dict_update (test.test_weakref.MappingTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_weakref.py:1012: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(dict.has_key(k), ok test_weak_keyed_iters (test.test_weakref.MappingTestCase) ... ok test_weak_keys (test.test_weakref.MappingTestCase) ... ok test_weak_valued_delitem (test.test_weakref.MappingTestCase) ... ok test_weak_valued_dict_popitem (test.test_weakref.MappingTestCase) ... ok test_weak_valued_dict_setdefault (test.test_weakref.MappingTestCase) ... ok test_weak_valued_dict_update (test.test_weakref.MappingTestCase) ... ok test_weak_valued_iters (test.test_weakref.MappingTestCase) ... ok test_weak_values (test.test_weakref.MappingTestCase) ... ok test_bool (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_constructor (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_get (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_getitem (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_items (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_keys (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_len (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_pop (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_popitem (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_read (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_setdefault (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_update (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_values (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_write (test.test_weakref.WeakValueDictionaryTestCase) ... ok test_bool (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_constructor (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_get (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_getitem (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_items (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_keys (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_len (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_pop (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_popitem (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_read (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_setdefault (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_update (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_values (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_write (test.test_weakref.WeakKeyDictionaryTestCase) ... ok test_subclass_refs (test.test_weakref.SubclassableWeakrefTestCase) ... ok test_subclass_refs_dont_conflate_callbacks (test.test_weakref.SubclassableWeakrefTestCase) ... ok test_subclass_refs_dont_replace_standard_refs (test.test_weakref.SubclassableWeakrefTestCase) ... ok test_subclass_refs_with_cycle (test.test_weakref.SubclassableWeakrefTestCase) ... ok test_subclass_refs_with_slots (test.test_weakref.SubclassableWeakrefTestCase) ... ok ---------------------------------------------------------------------- Ran 79 tests in 0.565s OK Trying: import weakref Expecting nothing ok Trying: class Dict(dict): pass Expecting nothing ok Trying: obj = Dict(red=1, green=2, blue=3) # this object is weak referencable Expecting nothing ok Trying: r = weakref.ref(obj) Expecting nothing ok Trying: print r() is obj Expecting: True ok Trying: import weakref Expecting nothing ok Trying: class Object: pass Expecting nothing ok Trying: o = Object() Expecting nothing ok Trying: r = weakref.ref(o) Expecting nothing ok Trying: o2 = r() Expecting nothing ok Trying: o is o2 Expecting: True ok Trying: del o, o2 Expecting nothing ok Trying: print r() Expecting: None ok Trying: import weakref Expecting nothing ok Trying: class ExtendedRef(weakref.ref): def __init__(self, ob, callback=None, **annotations): super(ExtendedRef, self).__init__(ob, callback) self.__counter = 0 for k, v in annotations.iteritems(): setattr(self, k, v) def __call__(self): '''Return a pair containing the referent and the number of times the reference has been called. ''' ob = super(ExtendedRef, self).__call__() if ob is not None: self.__counter += 1 ob = (ob, self.__counter) return ob Expecting nothing ok Trying: class A: # not in docs from here, just testing the ExtendedRef pass Expecting nothing ok Trying: a = A() Expecting nothing ok Trying: r = ExtendedRef(a, foo=1, bar="baz") Expecting nothing ok Trying: r.foo Expecting: 1 ok Trying: r.bar Expecting: 'baz' ok Trying: r()[1] Expecting: 1 ok Trying: r()[1] Expecting: 2 ok Trying: r()[0] is a Expecting: True ok Trying: import weakref Expecting nothing ok Trying: _id2obj_dict = weakref.WeakValueDictionary() Expecting nothing ok Trying: def remember(obj): oid = id(obj) _id2obj_dict[oid] = obj return oid Expecting nothing ok Trying: def id2obj(oid): return _id2obj_dict[oid] Expecting nothing ok Trying: a = A() # from here, just testing Expecting nothing ok Trying: a_id = remember(a) Expecting nothing ok Trying: id2obj(a_id) is a Expecting: True ok Trying: del a Expecting nothing ok Trying: try: id2obj(a_id) except KeyError: print 'OK' else: print 'WeakValueDictionary error' Expecting: OK ok 84 items had no tests: test.test_weakref test.test_weakref.C test.test_weakref.C.method test.test_weakref.Callable test.test_weakref.Callable.__call__ test.test_weakref.MappingTestCase test.test_weakref.MappingTestCase.check_iters test.test_weakref.MappingTestCase.check_popitem test.test_weakref.MappingTestCase.check_setdefault test.test_weakref.MappingTestCase.check_update test.test_weakref.MappingTestCase.make_weak_keyed_dict test.test_weakref.MappingTestCase.make_weak_valued_dict test.test_weakref.MappingTestCase.test_make_weak_keyed_dict_from_dict test.test_weakref.MappingTestCase.test_make_weak_keyed_dict_from_weak_keyed_dict test.test_weakref.MappingTestCase.test_weak_keyed_bad_delitem test.test_weakref.MappingTestCase.test_weak_keyed_cascading_deletes test.test_weakref.MappingTestCase.test_weak_keyed_delitem test.test_weakref.MappingTestCase.test_weak_keyed_dict_popitem test.test_weakref.MappingTestCase.test_weak_keyed_dict_setdefault test.test_weakref.MappingTestCase.test_weak_keyed_dict_update test.test_weakref.MappingTestCase.test_weak_keyed_iters test.test_weakref.MappingTestCase.test_weak_keys test.test_weakref.MappingTestCase.test_weak_valued_delitem test.test_weakref.MappingTestCase.test_weak_valued_dict_popitem test.test_weakref.MappingTestCase.test_weak_valued_dict_setdefault test.test_weakref.MappingTestCase.test_weak_valued_dict_update test.test_weakref.MappingTestCase.test_weak_valued_iters test.test_weakref.MappingTestCase.test_weak_values test.test_weakref.Object test.test_weakref.Object.__init__ test.test_weakref.Object.__repr__ test.test_weakref.ReferencesTestCase test.test_weakref.ReferencesTestCase.check_basic_callback test.test_weakref.ReferencesTestCase.check_basic_ref test.test_weakref.ReferencesTestCase.check_gc_during_creation test.test_weakref.ReferencesTestCase.check_proxy test.test_weakref.ReferencesTestCase.check_shared_without_callback test.test_weakref.ReferencesTestCase.test_basic_callback test.test_weakref.ReferencesTestCase.test_basic_proxy test.test_weakref.ReferencesTestCase.test_basic_ref test.test_weakref.ReferencesTestCase.test_callable_proxy test.test_weakref.ReferencesTestCase.test_callback_in_cycle_1 test.test_weakref.ReferencesTestCase.test_callback_in_cycle_2 test.test_weakref.ReferencesTestCase.test_callback_in_cycle_3 test.test_weakref.ReferencesTestCase.test_callback_in_cycle_4 test.test_weakref.ReferencesTestCase.test_callback_in_cycle_resurrection test.test_weakref.ReferencesTestCase.test_callbacks_on_callback test.test_weakref.ReferencesTestCase.test_callbacks_protected test.test_weakref.ReferencesTestCase.test_gc_during_proxy_creation test.test_weakref.ReferencesTestCase.test_gc_during_ref_creation test.test_weakref.ReferencesTestCase.test_getweakrefcount test.test_weakref.ReferencesTestCase.test_getweakrefs test.test_weakref.ReferencesTestCase.test_init test.test_weakref.ReferencesTestCase.test_multiple_callbacks test.test_weakref.ReferencesTestCase.test_multiple_selfref_callbacks test.test_weakref.ReferencesTestCase.test_newstyle_number_ops test.test_weakref.ReferencesTestCase.test_proxy_bool test.test_weakref.ReferencesTestCase.test_proxy_deletion test.test_weakref.ReferencesTestCase.test_proxy_div test.test_weakref.ReferencesTestCase.test_proxy_index test.test_weakref.ReferencesTestCase.test_proxy_ref test.test_weakref.ReferencesTestCase.test_proxy_reuse test.test_weakref.ReferencesTestCase.test_ref_created_during_del test.test_weakref.ReferencesTestCase.test_ref_reuse test.test_weakref.ReferencesTestCase.test_sf_bug_840829 test.test_weakref.ReferencesTestCase.test_shared_proxy_without_callback test.test_weakref.ReferencesTestCase.test_shared_ref_without_callback test.test_weakref.SubclassableWeakrefTestCase test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_dont_conflate_callbacks test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_dont_replace_standard_refs test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_with_cycle test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_with_slots test.test_weakref.TestBase test.test_weakref.TestBase.callback test.test_weakref.TestBase.setUp test.test_weakref.WeakKeyDictionaryTestCase test.test_weakref.WeakKeyDictionaryTestCase._reference test.test_weakref.WeakValueDictionaryTestCase test.test_weakref.WeakValueDictionaryTestCase._reference test.test_weakref.create_bound_method test.test_weakref.create_function test.test_weakref.create_unbound_method test.test_weakref.test_main 1 items passed all tests: 32 tests in test.test_weakref.__test__.libreftest 32 tests in 85 items. 32 passed and 0 failed. Test passed. doctest (test.test_weakref) ... 32 tests with zero failures test_whichdb test_whichdb_dbhash (test.test_whichdb.WhichDBTestCase) ... ok test_whichdb_dbm (test.test_whichdb.WhichDBTestCase) ... ok test_whichdb_dumbdbm (test.test_whichdb.WhichDBTestCase) ... ok test_whichdb_gdbm (test.test_whichdb.WhichDBTestCase) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.039s OK test_winreg test_winreg skipped -- No module named _winreg test_winsound test_winsound skipped -- No module named winsound test_with testAssignmentToEmptyTupleError (test.test_with.FailureTestCase) ... ok testAssignmentToNoneError (test.test_with.FailureTestCase) ... ok testAssignmentToTupleContainingNoneError (test.test_with.FailureTestCase) ... ok testAssignmentToTupleOnlyContainingNoneError (test.test_with.FailureTestCase) ... ok testEnterAttributeError (test.test_with.FailureTestCase) ... ok testEnterThrows (test.test_with.FailureTestCase) ... ok testExitAttributeError (test.test_with.FailureTestCase) ... ok testExitThrows (test.test_with.FailureTestCase) ... ok testNameError (test.test_with.FailureTestCase) ... ok testBoundGenerator (test.test_with.NonexceptionalTestCase) ... ok testInlineGeneratorBoundSyntax (test.test_with.NonexceptionalTestCase) ... ok testInlineGeneratorBoundToDottedVariable (test.test_with.NonexceptionalTestCase) ... ok testInlineGeneratorBoundToExistingVariable (test.test_with.NonexceptionalTestCase) ... ok testInlineGeneratorSyntax (test.test_with.NonexceptionalTestCase) ... ok testNestedSingleStatements (test.test_with.NonexceptionalTestCase) ... ok testUnboundGenerator (test.test_with.NonexceptionalTestCase) ... ok testMultipleArgBound (test.test_with.NestedNonexceptionalTestCase) ... ok testMultipleArgUnbound (test.test_with.NestedNonexceptionalTestCase) ... ok testSingleArgBoundToMultipleElementTupleError (test.test_with.NestedNonexceptionalTestCase) ... ok testSingleArgBoundToNonTuple (test.test_with.NestedNonexceptionalTestCase) ... ok testSingleArgBoundToSingleElementParenthesizedList (test.test_with.NestedNonexceptionalTestCase) ... ok testSingleArgInlineGeneratorSyntax (test.test_with.NestedNonexceptionalTestCase) ... ok testSingleArgUnbound (test.test_with.NestedNonexceptionalTestCase) ... ok testErrorsInBool (test.test_with.ExceptionalTestCase) ... ok testMultipleResourcesInSingleStatement (test.test_with.ExceptionalTestCase) ... ok testNestedExceptionAfterInnerStatement (test.test_with.ExceptionalTestCase) ... ok testNestedExceptionBeforeInnerStatement (test.test_with.ExceptionalTestCase) ... ok testNestedSingleStatements (test.test_with.ExceptionalTestCase) ... ok testRaisedGeneratorExit1 (test.test_with.ExceptionalTestCase) ... ok testRaisedGeneratorExit2 (test.test_with.ExceptionalTestCase) ... ok testRaisedStopIteration1 (test.test_with.ExceptionalTestCase) ... ok testRaisedStopIteration2 (test.test_with.ExceptionalTestCase) ... ok testRaisedStopIteration3 (test.test_with.ExceptionalTestCase) ... ok testSingleResource (test.test_with.ExceptionalTestCase) ... ok testWithBreak (test.test_with.NonLocalFlowControlTestCase) ... ok testWithContinue (test.test_with.NonLocalFlowControlTestCase) ... ok testWithRaise (test.test_with.NonLocalFlowControlTestCase) ... ok testWithReturn (test.test_with.NonLocalFlowControlTestCase) ... ok testWithYield (test.test_with.NonLocalFlowControlTestCase) ... ok testMultipleComplexTargets (test.test_with.AssignmentTargetTestCase) ... ok testSingleComplexTarget (test.test_with.AssignmentTargetTestCase) ... ok testExitFalseDoesntSwallowException (test.test_with.ExitSwallowsExceptionTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_with.py:641: DeprecationWarning: classic int division 1/0 ok testExitTrueSwallowsException (test.test_with.ExitSwallowsExceptionTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_with.py:631: DeprecationWarning: classic int division 1/0 ok testEnterReturnsTuple (test.test_with.NestedWith) ... ok testExceptionInEnter (test.test_with.NestedWith) ... ok testExceptionInExit (test.test_with.NestedWith) ... ok testExceptionInExprList (test.test_with.NestedWith) ... ok testNoExceptions (test.test_with.NestedWith) ... ok ---------------------------------------------------------------------- Ran 48 tests in 0.004s OK test_wsgiref testAbstractMethods (test.test_wsgiref.HandlerTests) ... ok testBasicErrorOutput (test.test_wsgiref.HandlerTests) ... ok testCGIEnviron (test.test_wsgiref.HandlerTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_wsgiref.py:444: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(h.environ.has_key(key)) ok testContentLength (test.test_wsgiref.HandlerTests) ... ok testEnviron (test.test_wsgiref.HandlerTests) ... /home/exarkun/Projects/python/trunk/Lib/test/test_wsgiref.py:428: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator if not empty.has_key(k): /home/exarkun/Projects/python/trunk/Lib/test/test_wsgiref.py:431: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator self.assertTrue(env.has_key(k)) ok testErrorAfterOutput (test.test_wsgiref.HandlerTests) ... ok testHeaderFormats (test.test_wsgiref.HandlerTests) ... ok testScheme (test.test_wsgiref.HandlerTests) ... ok testExtras (test.test_wsgiref.HeaderTests) ... ok testMappingInterface (test.test_wsgiref.HeaderTests) ... ok testRequireList (test.test_wsgiref.HeaderTests) ... ok test_plain_hello (test.test_wsgiref.IntegrationTests) ... ok test_simple_validation_error (test.test_wsgiref.IntegrationTests) ... ok test_validated_hello (test.test_wsgiref.IntegrationTests) ... ok testAppURIs (test.test_wsgiref.UtilityTests) ... ok testCrossDefaults (test.test_wsgiref.UtilityTests) ... ok testDefaults (test.test_wsgiref.UtilityTests) ... ok testFileWrapper (test.test_wsgiref.UtilityTests) ... ok testGuessScheme (test.test_wsgiref.UtilityTests) ... ok testHopByHop (test.test_wsgiref.UtilityTests) ... ok testNormalizedShifts (test.test_wsgiref.UtilityTests) ... ok testReqURIs (test.test_wsgiref.UtilityTests) ... ok testSimpleShifts (test.test_wsgiref.UtilityTests) ... ok ---------------------------------------------------------------------- Ran 23 tests in 0.012s OK test_xdrlib test_xdr (test.test_xdrlib.XDRTest) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_xml_etree Trying: from xml.etree import ElementTree as ET Expecting nothing ok Trying: check_encoding(ET, "ascii") Expecting nothing ok Trying: check_encoding(ET, "us-ascii") Expecting nothing ok Trying: check_encoding(ET, "iso-8859-1") Expecting nothing ok Trying: check_encoding(ET, "iso-8859-15") Expecting nothing ok Trying: check_encoding(ET, "cp437") Expecting nothing ok Trying: check_encoding(ET, "mac-roman") Expecting nothing ok Trying: from xml.etree import ElementTree as ET Expecting nothing ok Trying: elem = ET.XML(SAMPLE_XML) Expecting nothing ok Trying: elem.find("tag").tag Expecting: 'tag' ok Trying: ET.ElementTree(elem).find("tag").tag Expecting: 'tag' ok Trying: elem.find("section/tag").tag Expecting: 'tag' ok Trying: ET.ElementTree(elem).find("section/tag").tag Expecting: 'tag' ok Trying: elem.findtext("tag") Expecting: 'text' ok Trying: elem.findtext("tog") Expecting nothing ok Trying: elem.findtext("tog", "default") Expecting: 'default' ok Trying: ET.ElementTree(elem).findtext("tag") Expecting: 'text' ok Trying: elem.findtext("section/tag") Expecting: 'subtext' ok Trying: ET.ElementTree(elem).findtext("section/tag") Expecting: 'subtext' ok Trying: summarize_list(elem.findall("tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(elem.findall("*")) Expecting: ['tag', 'tag', 'section'] ok Trying: summarize_list(elem.findall(".//tag")) Expecting: ['tag', 'tag', 'tag'] ok Trying: summarize_list(elem.findall("section/tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section//tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section/*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section//*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section/.//*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*/*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*//*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*/tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*/./tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("./tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(elem.findall(".//tag")) Expecting: ['tag', 'tag', 'tag'] ok Trying: summarize_list(elem.findall("././tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(ET.ElementTree(elem).findall("/tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(ET.ElementTree(elem).findall("./tag")) Expecting: ['tag', 'tag'] ok Trying: elem = ET.XML(SAMPLE_XML_NS) Expecting nothing ok Trying: summarize_list(elem/home/exarkun/Projects/python/trunk/Lib/test/test_xml_etree.py:40: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') if not callable(method): .findall("tag")) Expecting: [] ok Trying: summarize_list(elem.findall("{http://effbot.org/ns}tag")) Expecting: ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag'] ok Trying: summarize_list(elem.findall(".//{http://effbot.org/ns}tag")) Expecting: ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag'] ok Trying: from xml.etree import ElementTree as ET Expecting nothing ok Trying: element = ET.Element("tag", key="value") Expecting nothing ok Trying: tree = ET.ElementTree(element) Expecting nothing ok Trying: check_method(element.append) Expecting nothing ok Trying: check_method(element.insert) Expecting nothing ok Trying: check_method(element.remove) Expecting nothing ok Trying: check_method(element.getchildren) Expecting nothing ok Trying: check_method(element.find) Expecting nothing ok Trying: check_method(element.findall) Expecting nothing ok Trying: check_method(element.findtext) Expecting nothing ok Trying: check_method(element.clear) Expecting nothing ok Trying: check_method(element.get) Expecting nothing ok Trying: check_method(element.set) Expecting nothing ok Trying: check_method(element.keys) Expecting nothing ok Trying: check_method(element.items) Expecting nothing ok Trying: check_method(element.getiterator) Expecting nothing ok Trying: serialize(ET, element) # 1 Expecting: '' ok Trying: subelement = ET.Element("subtag") Expecting nothing ok Trying: element.append(subelement) Expecting nothing ok Trying: serialize(ET, element) # 2 Expecting: '' ok Trying: element.insert(0, subelement) Expecting nothing ok Trying: serialize(ET, element) # 3 Expecting: '' ok Trying: element.remove(subelement) Expecting nothing ok Trying: serialize(ET, element) # 4 Expecting: '' ok Trying: element.remove(subelement) Expecting nothing ok Trying: serialize(ET, element) # 5 Expecting: '' ok Trying: element.remove(subelement) Expecting: Traceback (most recent call last): ValueError: list.remove(x): x not in list ok Trying: serialize(ET, element) # 6 Expecting: '' ok Trying: from xml.etree import ElementTree as ET Expecting nothing ok Trying: element = ET.XML("text") Expecting nothing ok Trying: ET.ElementTree(element).write(sys.stdout) Expecting: text ok Trying: element = ET.fromstring("text") Expecting nothing ok Trying: ET.ElementTree(element).write(sys.stdout) Expecting: text ok Trying: print ET.tostring(element) Expecting: text ok Trying: print ET.tostring(element, "ascii") Expecting: text ok Trying: _, ids = ET.XMLID("text") Expecting nothing ok Trying: len(ids) Expecting: 0 ok Trying: _, ids = ET.XMLID("text") Expecting nothing ok Trying: len(ids) Expecting: 1 ok Trying: ids["body"].tag Expecting: 'body' ok Trying: from xml.etree import ElementTree Expecting nothing ok Trying: from xml.etree import ElementInclude Expecting nothing ok Trying: from xml.etree import ElementPath Expecting nothing ok Trying: from xml.etree import ElementTree as ET Expecting nothing ok Trying: from xml.etree import ElementInclude Expecting nothing ok Trying: document = xinclude_loader("C1.xml") Expecting nothing ok Trying: ElementInclude.include(document, xinclude_loader) Expecting nothing ok Trying: print serialize(ET, document) # C1 Expecting:

120 Mz is adequate for an average home user.

The opinions represented herein represent those of the individual and should not be interpreted as official policy endorsed by this organization.

ok Trying: document = xinclude_loader("C2.xml") Expecting nothing ok Trying: ElementInclude.include(document, xinclude_loader) Expecting nothing ok Trying: print serialize(ET, document) # C2 Expecting:

This document has been accessed 324387 times.

ok Trying: document = xinclude_loader("C3.xml") Expecting nothing ok Trying: ElementInclude.include(document, xinclude_loader) Expecting nothing ok Trying: print serialize(ET, document) # C3 Expecting:

The following is the source of the "data.xml" resource:

<?xml version='1.0'?> <data> <item><![CDATA[Brooks & Shields]]></item> </data>
ok Trying: document = xinclude_loader("C5.xml") Expecting nothing ok Trying: ElementInclude.include(document, xinclude_loader) Expecting: Traceback (most recent call last): IOError: resource not found ok 7 items had no tests: test.test_xml_etree test.test_xml_etree.check_method test.test_xml_etree.serialize test.test_xml_etree.summarize test.test_xml_etree.summarize_list test.test_xml_etree.test_main test.test_xml_etree.xinclude_loader 6 items passed all tests: 7 tests in test.test_xml_etree.check_encoding 33 tests in test.test_xml_etree.find 28 tests in test.test_xml_etree.interface 12 tests in test.test_xml_etree.parseliteral 3 tests in test.test_xml_etree.sanity 13 tests in test.test_xml_etree.xinclude 96 tests in 13 items. 96 passed and 0 failed. Test passed. doctest (test.test_xml_etree) ... 96 tests with zero failures test_xml_etree_c Trying: bob = ET.TreeBuilder() Expecting nothing ok Trying: e = bob.data("data") Expecting nothing ok Trying: e = bob.start("tag", {}) Expecting nothing ok Trying: e = bob.end("tag") Expecting nothing ok Trying: e = bob.close() Expecting nothing ok Trying: serialize(ET, e) Expecting: '' ok Trying: check_encoding("ascii") Expecting nothing ok Trying: check_encoding("us-ascii") Expecting nothing ok Trying: check_encoding("iso-8859-1") Expecting nothing ok Trying: check_encoding("iso-8859-15") Expecting nothing ok Trying: check_encoding("cp437") Expecting nothing ok Trying: check_encoding("mac-roman") Expecting nothing ok Trying: elem = ET.XML(SAMPLE_XML) Expecting nothing ok Trying: elem.find("tag").tag Expecting: 'tag' ok Trying: ET.ElementTree(elem).find("tag").tag Expecting: 'tag' ok Trying: elem.find("section/tag").tag Expecting: 'tag' ok Trying: ET.ElementTree(elem).find("section/tag").tag Expecting: 'tag' ok Trying: elem.findtext("tag") Expecting: 'text' ok Trying: elem.findtext("tog") Expecting nothing ok Trying: elem.findtext("tog", "default") Expecting: 'default' ok Trying: ET.ElementTree(elem).findtext("tag") Expecting: 'text' ok Trying: elem.findtext("section/tag") Expecting: 'subtext' ok Trying: ET.ElementTree(elem).findtext("section/tag") Expecting: 'subtext' ok Trying: summarize_list(elem.findall("tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(elem.findall("*")) Expecting: ['tag', 'tag', 'section'] ok Trying: summarize_list(elem.findall(".//tag")) Expecting: ['tag', 'tag', 'tag'] ok Trying: summarize_list(elem.findall("section/tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section//tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section/*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section//*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("section/.//*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*/*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*//*")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*/tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("*/./tag")) Expecting: ['tag'] ok Trying: summarize_list(elem.findall("./tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(elem.findall(".//tag")) Expecting: ['tag', 'tag', 'tag'] ok Trying: summarize_list(elem.findall("././tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(ET.ElementTree(elem).findall("/tag")) Expecting: ['tag', 'tag'] ok Trying: summarize_list(ET.Elemen/home/exarkun/Projects/python/trunk/Lib/test/test_xml_etree_c.py:38: DeprecationWarning: callable() not supported in 3.x; use hasattr(o, '__call__') if not callable(method): tTree(elem).findall("./tag")) Expecting: ['tag', 'tag'] ok Trying: elem = ET.XML(SAMPLE_XML_NS) Expecting nothing ok Trying: summarize_list(elem.findall("tag")) Expecting: [] ok Trying: summarize_list(elem.findall("{http://effbot.org/ns}tag")) Expecting: ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag'] ok Trying: summarize_list(elem.findall(".//{http://effbot.org/ns}tag")) Expecting: ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag'] ok Trying: element = ET.Element("tag", key="value") Expecting nothing ok Trying: tree = ET.ElementTree(element) Expecting nothing ok Trying: check_method(element.append) Expecting nothing ok Trying: check_method(element.insert) Expecting nothing ok Trying: check_method(element.remove) Expecting nothing ok Trying: check_method(element.getchildren) Expecting nothing ok Trying: check_method(element.find) Expecting nothing ok Trying: check_method(element.findall) Expecting nothing ok Trying: check_method(element.findtext) Expecting nothing ok Trying: check_method(element.clear) Expecting nothing ok Trying: check_method(element.get) Expecting nothing ok Trying: check_method(element.set) Expecting nothing ok Trying: check_method(element.keys) Expecting nothing ok Trying: check_method(element.items) Expecting nothing ok Trying: check_method(element.getiterator) Expecting nothing ok Trying: serialize(ET, element) # 1 Expecting: '' ok Trying: subelement = ET.Element("subtag") Expecting nothing ok Trying: element.append(subelement) Expecting nothing ok Trying: serialize(ET, element) # 2 Expecting: '' ok Trying: element.insert(0, subelement) Expecting nothing ok Trying: serialize(ET, element) # 3 Expecting: '' ok Trying: element.remove(subelement) Expecting nothing ok Trying: serialize(ET, element) # 4 Expecting: '' ok Trying: element.remove(subelement) Expecting nothing ok Trying: serialize(ET, element) # 5 Expecting: '' ok Trying: element.remove(subelement) Expecting: Traceback (most recent call last): ValueError: list.remove(x): x not in list ok Trying: serialize(ET, element) # 6 Expecting: '' ok Trying: element = ET.XML("text") Expecting nothing ok Trying: ET.ElementTree(element).write(sys.stdout) Expecting: text ok Trying: element = ET.fromstring("text") Expecting nothing ok Trying: ET.ElementTree(element).write(sys.stdout) Expecting: text ok Trying: print ET.tostring(element) Expecting: text ok Trying: print ET.tostring(element, "ascii") Expecting: text ok Trying: _, ids = ET.XMLID("text") Expecting nothing ok Trying: len(ids) Expecting: 0 ok Trying: _, ids = ET.XMLID("text") Expecting nothing ok Trying: len(ids) Expecting: 1 ok Trying: ids["body"].tag Expecting: 'body' ok Trying: from xml.etree import cElementTree Expecting nothing ok 6 items had no tests: test.test_xml_etree_c test.test_xml_etree_c.check_method test.test_xml_etree_c.serialize test.test_xml_etree_c.summarize test.test_xml_etree_c.summarize_list test.test_xml_etree_c.test_main 6 items passed all tests: 6 tests in test.test_xml_etree_c.bug_1534630 6 tests in test.test_xml_etree_c.check_encoding 32 tests in test.test_xml_etree_c.find 27 tests in test.test_xml_etree_c.interface 11 tests in test.test_xml_etree_c.parseliteral 1 tests in test.test_xml_etree_c.sanity 83 tests in 12 items. 83 passed and 0 failed. Test passed. doctest (test.test_xml_etree_c) ... 83 tests with zero failures test_xmllib /home/exarkun/Projects/python/trunk/Lib/test/test_xmllib.py:24: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead. import xmllib test_default_namespace (test.test_xmllib.XMLParserTestCase) ... ok test_simple (test.test_xmllib.XMLParserTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.004s OK test_xmlrpc test_bug_1164912 (test.test_xmlrpc.XMLRPCTestCase) ... ok test_cmp_datetime_DateTime (test.test_xmlrpc.XMLRPCTestCase) ... ok test_datetime_before_1900 (test.test_xmlrpc.XMLRPCTestCase) ... ok test_default_encoding_issues (test.test_xmlrpc.XMLRPCTestCase) ... /home/exarkun/Projects/python/trunk/Lib/test/test_xmlrpc.py:166: DeprecationWarning: In 3.x, reload() is renamed to imp.reload() reload(sys) # ugh! ok test_dump_bad_dict (test.test_xmlrpc.XMLRPCTestCase) ... ok test_dump_bare_datetime (test.test_xmlrpc.XMLRPCTestCase) ... ok test_dump_big_int (test.test_xmlrpc.XMLRPCTestCase) ... ok test_dump_big_long (test.test_xmlrpc.XMLRPCTestCase) ... ok test_dump_load (test.test_xmlrpc.XMLRPCTestCase) ... ok test_dump_none (test.test_xmlrpc.XMLRPCTestCase) ... ok test_dump_recursive_dict (test.test_xmlrpc.XMLRPCTestCase) ... ok test_dump_recursive_seq (test.test_xmlrpc.XMLRPCTestCase) ... ok test_newstyle_class (test.test_xmlrpc.XMLRPCTestCase) ... ok test_escape (test.test_xmlrpc.HelperTestCase) ... ok test_datetime_datetime (test.test_xmlrpc.DateTimeTestCase) ... ok test_decode (test.test_xmlrpc.DateTimeTestCase) ... ok test_default (test.test_xmlrpc.DateTimeTestCase) ... ok test_repr (test.test_xmlrpc.DateTimeTestCase) ... ok test_time (test.test_xmlrpc.DateTimeTestCase) ... ok test_time_struct (test.test_xmlrpc.DateTimeTestCase) ... ok test_time_tuple (test.test_xmlrpc.DateTimeTestCase) ... ok test_decode (test.test_xmlrpc.BinaryTestCase) ... ok test_default (test.test_xmlrpc.BinaryTestCase) ... ok test_string (test.test_xmlrpc.BinaryTestCase) ... ok test_dump_fault (test.test_xmlrpc.FaultTestCase) ... ok test_repr (test.test_xmlrpc.FaultTestCase) ... ok test_custom_user_agent (test.test_xmlrpc.TransportSubclassTestCase) ... ok test_send_content (test.test_xmlrpc.TransportSubclassTestCase) ... ok test_send_host (test.test_xmlrpc.TransportSubclassTestCase) ... ok test_send_request (test.test_xmlrpc.TransportSubclassTestCase) ... ok test_dotted_attribute (test.test_xmlrpc.SimpleServerTestCase) ... ok test_introspection1 (test.test_xmlrpc.SimpleServerTestCase) ... ok test_introspection2 (test.test_xmlrpc.SimpleServerTestCase) ... ok test_introspection3 (test.test_xmlrpc.SimpleServerTestCase) ... ok test_introspection4 (test.test_xmlrpc.SimpleServerTestCase) ... ok test_multicall (test.test_xmlrpc.SimpleServerTestCase) ... ok test_non_existing_multicall (test.test_xmlrpc.SimpleServerTestCase) ... ok test_nonascii (test.test_xmlrpc.SimpleServerTestCase) ... ok test_simple1 (test.test_xmlrpc.SimpleServerTestCase) ... ok test_two (test.test_xmlrpc.KeepaliveServerTestCase1) ... ok test_close (test.test_xmlrpc.KeepaliveServerTestCase2) ... ok test_transport (test.test_xmlrpc.KeepaliveServerTestCase2) ... ok test_bad_gzip_request (test.test_xmlrpc.GzipServerTestCase) ... ok test_gsip_response (test.test_xmlrpc.GzipServerTestCase) ... ok test_gzip_request (test.test_xmlrpc.GzipServerTestCase) ... ok test_path1 (test.test_xmlrpc.MultiPathServerTestCase) ... ok test_path2 (test.test_xmlrpc.MultiPathServerTestCase) ... ok test_close (test.test_xmlrpc.ServerProxyTestCase) ... ok test_transport (test.test_xmlrpc.ServerProxyTestCase) ... ok test_basic (test.test_xmlrpc.FailingServerTestCase) ... ok test_fail_no_info (test.test_xmlrpc.FailingServerTestCase) ... ok test_fail_with_info (test.test_xmlrpc.FailingServerTestCase) ... ok test_cgi_get (test.test_xmlrpc.CGIHandlerTestCase) ... ok test_cgi_xmlrpc_response (test.test_xmlrpc.CGIHandlerTestCase) ... ok ---------------------------------------------------------------------- Ran 54 tests in 0.154s OK test_xpickle /home/exarkun/Projects/python/trunk/Lib/test/test_xpickle.py:28: DeprecationWarning: execfile() not supported in 3.x; use exec() execfile(mod_path, pickletester.__dict__, pickletester.__dict__) sh: python2.6: not found test_attribute_name_interning (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_dict_chunking (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_float (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_float_format (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_garyp (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_getinitargs (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_global_ext1 (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_global_ext2 (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_global_ext4 (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_insecure_strings (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_ints (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_list_chunking (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_load_from_canned_string (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_long (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_long1 (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_long4 (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_many_puts_and_gets (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_maxint64 (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_metaclass (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_misc (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_newobj_generic (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_newobj_list (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_newobj_list_slots (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_newobj_tuple (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_proto (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_recursive_dict (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_recursive_inst (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_recursive_list (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_recursive_multi (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_recursive_tuple (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_reduce (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_reduce_bad_iterator (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_reduce_calls_base (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_reduce_ex_called (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_reduce_ex_calls_base (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_reduce_ex_overrides_reduce (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_reduce_overrides_default_reduce_ex (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_roundtrip_equality (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_short_tuples (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_simple_newobj (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_singletons (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_structseq (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_unicode (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_unicode_high_plane (test.test_xpickle.DumpCPickle_LoadPickle) ... ok test_attribute_name_interning (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_dict_chunking (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_float (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_float_format (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_garyp (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_getinitargs (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_global_ext1 (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_global_ext2 (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_global_ext4 (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_insecure_strings (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_ints (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_list_chunking (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_load_from_canned_string (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_long (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_long1 (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_long4 (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_many_puts_and_gets (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_maxint64 (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_metaclass (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_misc (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_newobj_generic (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_newobj_list (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_newobj_list_slots (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_newobj_tuple (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_proto (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_recursive_dict (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_recursive_inst (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_recursive_list (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_recursive_multi (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_recursive_tuple (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_reduce (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_reduce_bad_iterator (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_reduce_calls_base (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_reduce_ex_called (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_reduce_ex_calls_base (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_reduce_ex_overrides_reduce (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_reduce_overrides_default_reduce_ex (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_roundtrip_equality (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_short_tuples (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_simple_newobj (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_singletons (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_structseq (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_unicode (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_unicode_high_plane (test.test_xpickle.DumpPickle_LoadCPickle) ... ok test_attribute_name_interning (test.test_xpickle.CPicklePython24Compat) ... ok test_dict_chunking (test.test_xpickle.CPicklePython24Compat) ... ok test_float (test.test_xpickle.CPicklePython24Compat) ... ok test_float_format (test.test_xpickle.CPicklePython24Compat) ... ok test_garyp (test.test_xpickle.CPicklePython24Compat) ... ok test_getinitargs (test.test_xpickle.CPicklePython24Compat) ... ok test_global_ext1 (test.test_xpickle.CPicklePython24Compat) ... ok test_global_ext2 (test.test_xpickle.CPicklePython24Compat) ... ok test_global_ext4 (test.test_xpickle.CPicklePython24Compat) ... ok test_insecure_strings (test.test_xpickle.CPicklePython24Compat) ... ok test_ints (test.test_xpickle.CPicklePython24Compat) ... ok test_list_chunking (test.test_xpickle.CPicklePython24Compat) ... ok test_load_from_canned_string (test.test_xpickle.CPicklePython24Compat) ... ok test_long (test.test_xpickle.CPicklePython24Compat) ... ok test_long1 (test.test_xpickle.CPicklePython24Compat) ... ok test_long4 (test.test_xpickle.CPicklePython24Compat) ... ok test_many_puts_and_gets (test.test_xpickle.CPicklePython24Compat) ... ok test_maxint64 (test.test_xpickle.CPicklePython24Compat) ... ok test_metaclass (test.test_xpickle.CPicklePython24Compat) ... ok test_misc (test.test_xpickle.CPicklePython24Compat) ... ok test_newobj_generic (test.test_xpickle.CPicklePython24Compat) ... ok test_newobj_list (test.test_xpickle.CPicklePython24Compat) ... ok test_newobj_list_slots (test.test_xpickle.CPicklePython24Compat) ... ok test_newobj_tuple (test.test_xpickle.CPicklePython24Compat) ... ok test_proto (test.test_xpickle.CPicklePython24Compat) ... ok test_recursive_dict (test.test_xpickle.CPicklePython24Compat) ... ok test_recursive_inst (test.test_xpickle.CPicklePython24Compat) ... ok test_recursive_list (test.test_xpickle.CPicklePython24Compat) ... ok test_recursive_multi (test.test_xpickle.CPicklePython24Compat) ... ok test_recursive_tuple (test.test_xpickle.CPicklePython24Compat) ... ok test_reduce (test.test_xpickle.CPicklePython24Compat) ... ok test_reduce_bad_iterator (test.test_xpickle.CPicklePython24Compat) ... ok test_reduce_calls_base (test.test_xpickle.CPicklePython24Compat) ... ok test_reduce_ex_called (test.test_xpickle.CPicklePython24Compat) ... ok test_reduce_ex_calls_base (test.test_xpickle.CPicklePython24Compat) ... ok test_reduce_ex_overrides_reduce (test.test_xpickle.CPicklePython24Compat) ... ok test_reduce_overrides_default_reduce_ex (test.test_xpickle.CPicklePython24Compat) ... ok test_roundtrip_equality (test.test_xpickle.CPicklePython24Compat) ... ok test_short_tuples (test.test_xpickle.CPicklePython24Compat) ... ok test_simple_newobj (test.test_xpickle.CPicklePython24Compat) ... ok test_singletons (test.test_xpickle.CPicklePython24Compat) ... ok test_structseq (test.test_xpickle.CPicklePython24Compat) ... ok test_unicode (test.test_xpickle.CPicklePython24Compat) ... ok test_unicode_high_plane (test.test_xpickle.CPicklePython24Compat) ... ok test_attribute_name_interning (test.test_xpickle.CPicklePython25Compat) ... ok test_dict_chunking (test.test_xpickle.CPicklePython25Compat) ... ok test_float (test.test_xpickle.CPicklePython25Compat) ... ok test_float_format (test.test_xpickle.CPicklePython25Compat) ... ok test_garyp (test.test_xpickle.CPicklePython25Compat) ... ok test_getinitargs (test.test_xpickle.CPicklePython25Compat) ... ok test_global_ext1 (test.test_xpickle.CPicklePython25Compat) ... ok test_global_ext2 (test.test_xpickle.CPicklePython25Compat) ... ok test_global_ext4 (test.test_xpickle.CPicklePython25Compat) ... ok test_insecure_strings (test.test_xpickle.CPicklePython25Compat) ... ok test_ints (test.test_xpickle.CPicklePython25Compat) ... ok test_list_chunking (test.test_xpickle.CPicklePython25Compat) ... ok test_load_from_canned_string (test.test_xpickle.CPicklePython25Compat) ... ok test_long (test.test_xpickle.CPicklePython25Compat) ... ok test_long1 (test.test_xpickle.CPicklePython25Compat) ... ok test_long4 (test.test_xpickle.CPicklePython25Compat) ... ok test_many_puts_and_gets (test.test_xpickle.CPicklePython25Compat) ... ok test_maxint64 (test.test_xpickle.CPicklePython25Compat) ... ok test_metaclass (test.test_xpickle.CPicklePython25Compat) ... ok test_misc (test.test_xpickle.CPicklePython25Compat) ... ok test_newobj_generic (test.test_xpickle.CPicklePython25Compat) ... ok test_newobj_list (test.test_xpickle.CPicklePython25Compat) ... ok test_newobj_list_slots (test.test_xpickle.CPicklePython25Compat) ... ok test_newobj_tuple (test.test_xpickle.CPicklePython25Compat) ... ok test_proto (test.test_xpickle.CPicklePython25Compat) ... ok test_recursive_dict (test.test_xpickle.CPicklePython25Compat) ... ok test_recursive_inst (test.test_xpickle.CPicklePython25Compat) ... ok test_recursive_list (test.test_xpickle.CPicklePython25Compat) ... ok test_recursive_multi (test.test_xpickle.CPicklePython25Compat) ... ok test_recursive_tuple (test.test_xpickle.CPicklePython25Compat) ... ok test_reduce (test.test_xpickle.CPicklePython25Compat) ... ok test_reduce_bad_iterator (test.test_xpickle.CPicklePython25Compat) ... ok test_reduce_calls_base (test.test_xpickle.CPicklePython25Compat) ... ok test_reduce_ex_called (test.test_xpickle.CPicklePython25Compat) ... ok test_reduce_ex_calls_base (test.test_xpickle.CPicklePython25Compat) ... ok test_reduce_ex_overrides_reduce (test.test_xpickle.CPicklePython25Compat) ... ok test_reduce_overrides_default_reduce_ex (test.test_xpickle.CPicklePython25Compat) ... ok test_roundtrip_equality (test.test_xpickle.CPicklePython25Compat) ... ok test_short_tuples (test.test_xpickle.CPicklePython25Compat) ... ok test_simple_newobj (test.test_xpickle.CPicklePython25Compat) ... ok test_singletons (test.test_xpickle.CPicklePython25Compat) ... ok test_structseq (test.test_xpickle.CPicklePython25Compat) ... ok test_unicode (test.test_xpickle.CPicklePython25Compat) ... ok test_unicode_high_plane (test.test_xpickle.CPicklePython25Compat) ... ok test_attribute_name_interning (test.test_xpickle.PicklePython24Compat) ... ok test_dict_chunking (test.test_xpickle.PicklePython24Compat) ... ok test_float (test.test_xpickle.PicklePython24Compat) ... ok test_float_format (test.test_xpickle.PicklePython24Compat) ... ok test_garyp (test.test_xpickle.PicklePython24Compat) ... ok test_getinitargs (test.test_xpickle.PicklePython24Compat) ... ok test_global_ext1 (test.test_xpickle.PicklePython24Compat) ... ok test_global_ext2 (test.test_xpickle.PicklePython24Compat) ... ok test_global_ext4 (test.test_xpickle.PicklePython24Compat) ... ok test_insecure_strings (test.test_xpickle.PicklePython24Compat) ... ok test_ints (test.test_xpickle.PicklePython24Compat) ... ok test_list_chunking (test.test_xpickle.PicklePython24Compat) ... ok test_load_from_canned_string (test.test_xpickle.PicklePython24Compat) ... ok test_long (test.test_xpickle.PicklePython24Compat) ... ok test_long1 (test.test_xpickle.PicklePython24Compat) ... ok test_long4 (test.test_xpickle.PicklePython24Compat) ... ok test_many_puts_and_gets (test.test_xpickle.PicklePython24Compat) ... ok test_maxint64 (test.test_xpickle.PicklePython24Compat) ... ok test_metaclass (test.test_xpickle.PicklePython24Compat) ... ok test_misc (test.test_xpickle.PicklePython24Compat) ... ok test_newobj_generic (test.test_xpickle.PicklePython24Compat) ... ok test_newobj_list (test.test_xpickle.PicklePython24Compat) ... ok test_newobj_list_slots (test.test_xpickle.PicklePython24Compat) ... ok test_newobj_tuple (test.test_xpickle.PicklePython24Compat) ... ok test_proto (test.test_xpickle.PicklePython24Compat) ... ok test_recursive_dict (test.test_xpickle.PicklePython24Compat) ... ok test_recursive_inst (test.test_xpickle.PicklePython24Compat) ... ok test_recursive_list (test.test_xpickle.PicklePython24Compat) ... ok test_recursive_multi (test.test_xpickle.PicklePython24Compat) ... ok test_recursive_tuple (test.test_xpickle.PicklePython24Compat) ... ok test_reduce (test.test_xpickle.PicklePython24Compat) ... ok test_reduce_bad_iterator (test.test_xpickle.PicklePython24Compat) ... ok test_reduce_calls_base (test.test_xpickle.PicklePython24Compat) ... ok test_reduce_ex_called (test.test_xpickle.PicklePython24Compat) ... ok test_reduce_ex_calls_base (test.test_xpickle.PicklePython24Compat) ... ok test_reduce_ex_overrides_reduce (test.test_xpickle.PicklePython24Compat) ... ok test_reduce_overrides_default_reduce_ex (test.test_xpickle.PicklePython24Compat) ... ok test_roundtrip_equality (test.test_xpickle.PicklePython24Compat) ... ok test_short_tuples (test.test_xpickle.PicklePython24Compat) ... ok test_simple_newobj (test.test_xpickle.PicklePython24Compat) ... ok test_singletons (test.test_xpickle.PicklePython24Compat) ... ok test_structseq (test.test_xpickle.PicklePython24Compat) ... ok test_unicode (test.test_xpickle.PicklePython24Compat) ... ok test_unicode_high_plane (test.test_xpickle.PicklePython24Compat) ... ok test_attribute_name_interning (test.test_xpickle.PicklePython25Compat) ... ok test_dict_chunking (test.test_xpickle.PicklePython25Compat) ... ok test_float (test.test_xpickle.PicklePython25Compat) ... ok test_float_format (test.test_xpickle.PicklePython25Compat) ... ok test_garyp (test.test_xpickle.PicklePython25Compat) ... ok test_getinitargs (test.test_xpickle.PicklePython25Compat) ... ok test_global_ext1 (test.test_xpickle.PicklePython25Compat) ... ok test_global_ext2 (test.test_xpickle.PicklePython25Compat) ... ok test_global_ext4 (test.test_xpickle.PicklePython25Compat) ... ok test_insecure_strings (test.test_xpickle.PicklePython25Compat) ... ok test_ints (test.test_xpickle.PicklePython25Compat) ... ok test_list_chunking (test.test_xpickle.PicklePython25Compat) ... ok test_load_from_canned_string (test.test_xpickle.PicklePython25Compat) ... ok test_long (test.test_xpickle.PicklePython25Compat) ... ok test_long1 (test.test_xpickle.PicklePython25Compat) ... ok test_long4 (test.test_xpickle.PicklePython25Compat) ... ok test_many_puts_and_gets (test.test_xpickle.PicklePython25Compat) ... ok test_maxint64 (test.test_xpickle.PicklePython25Compat) ... ok test_metaclass (test.test_xpickle.PicklePython25Compat) ... ok test_misc (test.test_xpickle.PicklePython25Compat) ... ok test_newobj_generic (test.test_xpickle.PicklePython25Compat) ... ok test_newobj_list (test.test_xpickle.PicklePython25Compat) ... ok test_newobj_list_slots (test.test_xpickle.PicklePython25Compat) ... ok test_newobj_tuple (test.test_xpickle.PicklePython25Compat) ... ok test_proto (test.test_xpickle.PicklePython25Compat) ... ok test_recursive_dict (test.test_xpickle.PicklePython25Compat) ... ok test_recursive_inst (test.test_xpickle.PicklePython25Compat) ... ok test_recursive_list (test.test_xpickle.PicklePython25Compat) ... ok test_recursive_multi (test.test_xpickle.PicklePython25Compat) ... ok test_recursive_tuple (test.test_xpickle.PicklePython25Compat) ... ok test_reduce (test.test_xpickle.PicklePython25Compat) ... ok test_reduce_bad_iterator (test.test_xpickle.PicklePython25Compat) ... ok test_reduce_calls_base (test.test_xpickle.PicklePython25Compat) ... ok test_reduce_ex_called (test.test_xpickle.PicklePython25Compat) ... ok test_reduce_ex_calls_base (test.test_xpickle.PicklePython25Compat) ... ok test_reduce_ex_overrides_reduce (test.test_xpickle.PicklePython25Compat) ... ok test_reduce_overrides_default_reduce_ex (test.test_xpickle.PicklePython25Compat) ... ok test_roundtrip_equality (test.test_xpickle.PicklePython25Compat) ... ok test_short_tuples (test.test_xpickle.PicklePython25Compat) ... ok test_simple_newobj (test.test_xpickle.PicklePython25Compat) ... ok test_singletons (test.test_xpickle.PicklePython25Compat) ... ok test_structseq (test.test_xpickle.PicklePython25Compat) ... ok test_unicode (test.test_xpickle.PicklePython25Compat) ... ok test_unicode_high_plane (test.test_xpickle.PicklePython25Compat) ... ok ---------------------------------------------------------------------- Ran 264 tests in 83.298s OK test_xrange test_pickling (test.test_xrange.XrangeTest) ... ok test_xrange (test.test_xrange.XrangeTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.002s OK test_zipfile test_absolute_arcnames (test.test_zipfile.TestsWithSourceFile) ... ok test_append_to_non_zip_file (test.test_zipfile.TestsWithSourceFile) ... ok test_append_to_zip_file (test.test_zipfile.TestsWithSourceFile) ... ok test_deflated (test.test_zipfile.TestsWithSourceFile) ... ok test_extract (test.test_zipfile.TestsWithSourceFile) ... ok test_extract_all (test.test_zipfile.TestsWithSourceFile) ... ok test_iterlines_deflated (test.test_zipfile.TestsWithSourceFile) ... ok test_iterlines_stored (test.test_zipfile.TestsWithSourceFile) ... ok test_low_compression (test.test_zipfile.TestsWithSourceFile) ... ok test_open_deflated (test.test_zipfile.TestsWithSourceFile) ... ok test_open_stored (test.test_zipfile.TestsWithSourceFile) ... ok test_open_via_zip_info (test.test_zipfile.TestsWithSourceFile) ... ok test_per_file_compression (test.test_zipfile.TestsWithSourceFile) ... ok test_random_open_deflated (test.test_zipfile.TestsWithSourceFile) ... ok test_random_open_stored (test.test_zipfile.TestsWithSourceFile) ... ok test_readline_deflated (test.test_zipfile.TestsWithSourceFile) ... ok test_readline_stored (test.test_zipfile.TestsWithSourceFile) ... ok test_readlines_deflated (test.test_zipfile.TestsWithSourceFile) ... ok test_readlines_stored (test.test_zipfile.TestsWithSourceFile) ... ok test_stored (test.test_zipfile.TestsWithSourceFile) ... ok test_write_default_name (test.test_zipfile.TestsWithSourceFile) ... ok test_write_to_readonly (test.test_zipfile.TestsWithSourceFile) ... ok test_writestr_permissions (test.test_zipfile.TestsWithSourceFile) ... ok test_absolute_arcnames (test.test_zipfile.TestZip64InSmallFiles) ... ok test_deflated (test.test_zipfile.TestZip64InSmallFiles) ... ok test_large_file_exception (test.test_zipfile.TestZip64InSmallFiles) ... ok test_stored (test.test_zipfile.TestZip64InSmallFiles) ... ok test_bad_compression_mode (test.test_zipfile.OtherTests) ... ok test_bad_constructor_mode (test.test_zipfile.OtherTests) ... ok test_bad_open_mode (test.test_zipfile.OtherTests) ... ok test_close_erroneous_file (test.test_zipfile.OtherTests) ... ok test_closed_zip_raises_RuntimeError (test.test_zipfile.OtherTests) ... ok test_comments (test.test_zipfile.OtherTests) ... ok test_create_non_existent_file_for_append (test.test_zipfile.OtherTests) ... ok test_empty_file_raises_BadZipFile (test.test_zipfile.OtherTests) ... ok test_is_zip_erroneous_file (test.test_zipfile.OtherTests) ... ok test_is_zip_valid_file (test.test_zipfile.OtherTests) ... ok test_non_existent_file_raises_IOError (test.test_zipfile.OtherTests) ... ok test_null_byte_in_filename (test.test_zipfile.OtherTests) ... ok test_open_non_existent_item (test.test_zipfile.OtherTests) ... ok test_read0 (test.test_zipfile.OtherTests) ... ok test_struct_sizes (test.test_zipfile.OtherTests) ... ok test_unicode_filenames (test.test_zipfile.OtherTests) ... ok test_write_non_pyfile (test.test_zipfile.PyZipFileTests) ... ok test_write_pyfile (test.test_zipfile.PyZipFileTests) ... ok test_write_python_directory (test.test_zipfile.PyZipFileTests) ... ok test_write_python_package (test.test_zipfile.PyZipFileTests) ... ok test_bad_password (test.test_zipfile.DecryptionTests) ... ok test_good_password (test.test_zipfile.DecryptionTests) ... ok test_no_password (test.test_zipfile.DecryptionTests) ... ok test_different_file (test.test_zipfile.TestsWithMultipleOpens) ... ok test_interleaved (test.test_zipfile.TestsWithMultipleOpens) ... ok test_same_file (test.test_zipfile.TestsWithMultipleOpens) ... ok test_bug_6050 (test.test_zipfile.TestWithDirectory) ... ok test_extract_dir (test.test_zipfile.TestWithDirectory) ... ok test_store_dir (test.test_zipfile.TestWithDirectory) ... ok test_iterlines_deflated (test.test_zipfile.UniversalNewlineTests) ... ok test_iterlines_stored (test.test_zipfile.UniversalNewlineTests) ... ok test_read_deflated (test.test_zipfile.UniversalNewlineTests) ... ok test_read_stored (test.test_zipfile.UniversalNewlineTests) ... ok test_readline_deflated (test.test_zipfile.UniversalNewlineTests) ... ok test_readline_stored (test.test_zipfile.UniversalNewlineTests) ... ok test_readlines_deflated (test.test_zipfile.UniversalNewlineTests) ... ok test_readlines_stored (test.test_zipfile.UniversalNewlineTests) ... ok test_open_stored (test.test_zipfile.TestsWithRandomBinaryFiles) ... ok test_random_open_stored (test.test_zipfile.TestsWithRandomBinaryFiles) ... ok test_stored (test.test_zipfile.TestsWithRandomBinaryFiles) ... ok ---------------------------------------------------------------------- Ran 67 tests in 1.769s OK test_zipfile64 test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run test_zipimport testAFakeZlib (test.test_zipimport.UncompressedZipImportTestCase) ... ok testBadMTime (test.test_zipimport.UncompressedZipImportTestCase) ... ok testBadMagic (test.test_zipimport.UncompressedZipImportTestCase) ... ok testBadMagic2 (test.test_zipimport.UncompressedZipImportTestCase) ... ok testBoth (test.test_zipimport.UncompressedZipImportTestCase) ... ok testDeepPackage (test.test_zipimport.UncompressedZipImportTestCase) ... ok testDoctestFile (test.test_zipimport.UncompressedZipImportTestCase) ... Trying: log.append(True) Expecting nothing ok 1 items passed all tests: 1 tests in xyz.txt 1 tests in 1 items. 1 passed and 0 failed. Test passed. ok testDoctestSuite (test.test_zipimport.UncompressedZipImportTestCase) ... ok testEmptyPy (test.test_zipimport.UncompressedZipImportTestCase) ... ok testGetCompiledSource (test.test_zipimport.UncompressedZipImportTestCase) ... ok testGetData (test.test_zipimport.UncompressedZipImportTestCase) ... ok testGetSource (test.test_zipimport.UncompressedZipImportTestCase) ... ok testImport_WithStuff (test.test_zipimport.UncompressedZipImportTestCase) ... ok testImporterAttr (test.test_zipimport.UncompressedZipImportTestCase) ... ok testPackage (test.test_zipimport.UncompressedZipImportTestCase) ... ok testPy (test.test_zipimport.UncompressedZipImportTestCase) ... ok testPyc (test.test_zipimport.UncompressedZipImportTestCase) ... ok testTraceback (test.test_zipimport.UncompressedZipImportTestCase) ... ok testZipImporterMethods (test.test_zipimport.UncompressedZipImportTestCase) ... ok testZipImporterMethodsInSubDirectory (test.test_zipimport.UncompressedZipImportTestCase) ... ok testAFakeZlib (test.test_zipimport.CompressedZipImportTestCase) ... ok testBadMTime (test.test_zipimport.CompressedZipImportTestCase) ... ok testBadMagic (test.test_zipimport.CompressedZipImportTestCase) ... ok testBadMagic2 (test.test_zipimport.CompressedZipImportTestCase) ... ok testBoth (test.test_zipimport.CompressedZipImportTestCase) ... ok testDeepPackage (test.test_zipimport.CompressedZipImportTestCase) ... ok testDoctestFile (test.test_zipimport.CompressedZipImportTestCase) ... Trying: log.append(True) Expecting nothing ok 1 items passed all tests: 1 tests in xyz.txt 1 tests in 1 items. 1 passed and 0 failed. Test passed. ok testDoctestSuite (test.test_zipimport.CompressedZipImportTestCase) ... ok testEmptyPy (test.test_zipimport.CompressedZipImportTestCase) ... ok testGetCompiledSource (test.test_zipimport.CompressedZipImportTestCase) ... ok testGetData (test.test_zipimport.CompressedZipImportTestCase) ... ok testGetSource (test.test_zipimport.CompressedZipImportTestCase) ... ok testImport_WithStuff (test.test_zipimport.CompressedZipImportTestCase) ... ok testImporterAttr (test.test_zipimport.CompressedZipImportTestCase) ... ok testPackage (test.test_zipimport.CompressedZipImportTestCase) ... ok testPy (test.test_zipimport.CompressedZipImportTestCase) ... ok testPyc (test.test_zipimport.CompressedZipImportTestCase) ... ok testTraceback (test.test_zipimport.CompressedZipImportTestCase) ... ok testZipImporterMethods (test.test_zipimport.CompressedZipImportTestCase) ... ok testZipImporterMethodsInSubDirectory (test.test_zipimport.CompressedZipImportTestCase) ... ok testBadArgs (test.test_zipimport.BadFileZipImportTestCase) ... ok testEmptyFile (test.test_zipimport.BadFileZipImportTestCase) ... ok testEmptyFilename (test.test_zipimport.BadFileZipImportTestCase) ... ok testFileUnreadable (test.test_zipimport.BadFileZipImportTestCase) ... ok testFilenameTooLong (test.test_zipimport.BadFileZipImportTestCase) ... ok testNoFile (test.test_zipimport.BadFileZipImportTestCase) ... ok testNotZipFile (test.test_zipimport.BadFileZipImportTestCase) ... ok ---------------------------------------------------------------------- Ran 47 tests in 0.038s OK test_zipimport_support test_doctest_issue4197 (test.test_zipimport_support.ZipSupportTests) ... Contents of '/tmp/tmpi3xn5m/test_zip.zip': File Name Modified Size test_zipped_doctest.py 2009-10-09 10:17:36 76697 sample_zipped_doctest.py 2009-10-09 10:17:36 1041 Finding tests in test_zipped_doctest.SampleClass Trying: print 1 Expecting: 1 ok Trying: sc = SampleClass(3) Expecting nothing ok Trying: for i in range(10): sc = sc.double() print sc.get(), Expecting: 6 12 24 48 96 192 384 768 1536 3072 ok doctest (test_zipped_doctest) ... 3 tests with zero failures Finding tests in test_zipped_doctest.NestedClass Trying: x = SampleClass.NestedClass(5) Expecting nothing ok Trying: y = x.square() Expecting nothing ok Trying: print y.get() Expecting: 25 ok doctest (test_zipped_doctest) ... 3 tests with zero failures Finding tests in test_zipped_doctest.__init__ Trying: print SampleClass.NestedClass().get() Expecting: 0 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.__init__ Trying: print SampleClass(12).get() Expecting: 12 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.a_classmethod Trying: print SampleClass.a_classmethod(10) Expecting: 12 ok Trying: print SampleClass(0).a_classmethod(10) Expecting: 12 ok doctest (test_zipped_doctest) ... 2 tests with zero failures Finding tests in test_zipped_doctest Trying: print SampleClass(22).a_property Expecting: 22 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.a_staticmethod Trying: print SampleClass.a_staticmethod(10) Expecting: 11 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.double Trying: print SampleClass(12).double().get() Expecting: 24 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.get Trying: print SampleClass(-5).get() Expecting: -5 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.SampleNewStyleClass Trying: print '1\n2\n3' Expecting: 1 2 3 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.__init__ Trying: print SampleNewStyleClass(12).get() Expecting: 12 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.double Trying: print SampleNewStyleClass(12).double().get() Expecting: 24 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.get Trying: print SampleNewStyleClass(-5).get() Expecting: -5 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.old_test1 Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={'x': 42}, verbose=0) Expecting nothing ok Trying: t.runstring(r''' >>> x = x * 2 >>> print x 42 ''', 'XYZ') Expecting: ********************************************************************** Line 3, in XYZ Failed example: print x Expected: 42 Got: 84 TestResults(failed=1, attempted=2) ok Trying: t.runstring(">>> x = x * 2\n>>> print x\n84\n", 'example2') Expecting: TestResults(failed=0, attempted=2) ok Trying: t.summarize() Expecting: ********************************************************************** 1 items had failures: 1 of 2 in XYZ ***Test Failed*** 1 failures. TestResults(failed=1, attempted=4) ok Trying: t.summarize(verbose=1) Expecting: 1 items passed all tests: 2 tests in example2 ********************************************************************** 1 items had failures: 1 of 2 in XYZ 4 tests in 2 items. 3 passed and 1 failed. ***Test Failed*** 1 failures. TestResults(failed=1, attempted=4) ok doctest (test_zipped_doctest) ... 6 tests with zero failures Finding tests in test_zipped_doctest.old_test2 Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={}, verbose=1) Expecting nothing ok Trying: test = r''' # just an example >>> x = 1 + 2 >>> x 3 ''' Expecting nothing ok Trying: t.runstring(test, "Example") Expecting: Running string Example Trying: x = 1 + 2 Expecting nothing ok Trying: x Expecting: 3 ok 0 of 2 examples failed in string Example TestResults(failed=0, attempted=2) ok doctest (test_zipped_doctest) ... 4 tests with zero failures Finding tests in test_zipped_doctest.old_test3 Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={}, verbose=0) Expecting nothing ok Trying: def _f(): '''Trivial docstring example. >>> assert 2 == 2 ''' return 32 Expecting nothing ok Trying: t.rundoc(_f) # expect 0 failures in 1 example Expecting: TestResults(failed=0, attempted=1) ok doctest (test_zipped_doctest) ... 4 tests with zero failures Finding tests in test_zipped_doctest.old_test4 Trying: import types Expecting nothing ok Trying: m1 = types.ModuleType('_m1') Expecting nothing ok Trying: m2 = types.ModuleType('_m2') Expecting nothing ok Trying: test_data = """ def _f(): '''>>> assert 1 == 1 ''' def g(): '''>>> assert 2 != 1 ''' class H: '''>>> assert 2 > 1 ''' def bar(self): '''>>> assert 1 < 2 ''' """ Expecting nothing ok Trying: exec test_data in m1.__dict__ Expecting nothing ok Trying: exec test_data in m2.__dict__ Expecting nothing ok Trying: m1.__dict__.update({"f2": m2._f, "g2": m2.g, "h2": m2.H}) Expecting nothing ok Trying: from doctest import Tester Expecting nothing ok Trying: t = Tester(globs={}, verbose=0) Expecting nothing ok Trying: t.rundict(m1.__dict__, "rundict_test", m1) # f2 and g2 and h2 skipped Expecting: TestResults(failed=0, attempted=4) ok Trying: t = Tester(globs={}, verbose=0) Expecting nothing ok Trying: t.rundict(m1.__dict__, "rundict_test_pvt") # None are skipped. Expecting: TestResults(failed=0, attempted=8) ok Trying: doctest.testmod(m1, verbose=False) Expecting: TestResults(failed=0, attempted=4) ok doctest (test_zipped_doctest) ... 13 tests with zero failures Finding tests in test_zipped_doctest.sample_func Trying: print sample_func(22) Expecting: 44 ok doctest (test_zipped_doctest) ... 1 tests with zero failures Finding tests in test_zipped_doctest.test_DocTest Trying: docstring = ''' >>> print 12 12 Non-example text. >>> print 'another\example' another example ''' Expecting nothing ok Trying: globs = {} # globals to run the test in. Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: test = parser.get_doctest(docstring, globs, 'some_test', 'some_file', 20) Expecting nothing ok Trying: print test Expecting: ok Trying: len(test.examples) Expecting: 2 ok Trying: e1, e2 = test.examples Expecting nothing ok Trying: (e1.source, e1.want, e1.lineno) Expecting: ('print 12\n', '12\n', 1) ok Trying: (e2.source, e2.want, e2.lineno) Expecting: ("print 'another\\example'\n", 'another\nexample\n', 6) ok Trying: (test.name, test.filename, test.lineno) Expecting: ('some_test', 'some_file', 20) ok Trying: test.lineno + e1.lineno Expecting: 21 ok Trying: test.lineno + e2.lineno Expecting: 26 ok Trying: docstring = r''' >>> print 'bad\nindentation' bad indentation ''' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 4 of the docstring for some_test has inconsistent leading whitespace: 'indentation' ok Trying: docstring = r''' >>> print ('bad indentation', ... 2) ('bad', 'indentatio:5: SyntaxWarning: backquote not supported in 3.x; use repr() print ' Text:', `piece` n') ''' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 2 of the docstring for some_test has inconsistent leading whitespace: '... 2)' ok Trying: docstring = '>>>print 1\n1' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the docstring for some_test lacks blank after >>>: '>>>print 1' ok Trying: docstring = '>>> if 1:\n...print 1\n1' Expecting nothing ok Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 2 of the docstring for some_test lacks blank after ...: '...print 1' ok doctest (test_zipped_doctest) ... 20 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestParser Trying: s = ''' >>> x, y = 2, 3 # no output expected >>> if 1: ... print x ... print y 2 3 Some text. >>> x+y 5 ''' Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: for piece in parser.parse(s): if isinstance(piece, doctest.Example): print 'Example:', (piece.source, piece.want, piece.lineno) else: print ' Text:', `piece` Expecting: Text: '\n' Example: ('x, y = 2, 3 # no output expected\n', '', 1) Text: '' Example: ('if 1:\n print x\n print y\n', '2\n3\n', 2) Text: '\nSome text.\n' Example: ('x+y\n', '5\n', 9) Text: '' ok Trying: for piece in parser.get_examples(s): print (piece.source, piece.want, piece.lineno) Expecting: ('x, y = 2, 3 # no output expected\n', '', 1) ('if 1:\n print x\n print y\n', '2\n3\n', 2) ('x+y\n', '5\n', 9) ok Trying: test = parser.get_doctest(s, {}, 'name', 'filename', lineno=5) Expecting nothing ok Trying: (test.name, test.filename, test.lineno) Expecting: ('name', 'filename', 5) ok Trying: for piece in test.examples: print (piece.source, piece.want, piece.lineno) Expecting: ('x, y = 2, 3 # no output expected\n', '', 1) ('if 1:\n print x\n print y\n', '2\n3\n', 2) ('x+y\n', '5\n', 9) ok doctest (test_zipped_doctest) ... 7 tests with zero failures Finding tests in test_zipped_doctest.basics Trying: def f(x): ''' >>> x = 12 >>> print x 12 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=3) ok Trying: def f(x): ''' >>> x = 12 >>> print x 14 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=True).run(test) # doctest: +ELLIPSIS Expecting: Trying: x = 12 Expecting nothing ok Trying: print x Expecting: 14 ********************************************************************** File ..., line 4, in f Failed example: print x Expected: 14 Got: 12 Trying: x//2 Expecting: 6 ok TestResults(failed=1, attempted=3) ok doctest (test_zipped_doctest) ... 6 tests with zero failures Finding tests in test_zipped_doctest.exceptions Trying: def f(x): ''' >>> x = 12 >>> print x//0 Traceback (most recent call last): ZeroDivisionError: integer division or modulo by zero ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) ok Trying: def f(x): ''' >>> x = 12 >>> print 'pre-exception output', x//0 pre-exception output Traceback (most recent call last): ZeroDivisionError: integer division or modulo by zero ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 4, in f Failed example: print 'pre-exception output', x//0 Exception raised: ... ZeroDivisionError: integer division or modulo by zero TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> raise ValueError, 'multi\nline\nmessage' Traceback (most recent call last): ValueError: multi line message ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: def f(x): r''' >>> raise ValueError, 'message' Traceback (most recent call last): ValueError: wrong message ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: raise ValueError, 'message' Expected: Traceback (most recent call last): ValueError: wrong message Got: Traceback (most recent call last): ... ValueError: message TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> raise ValueError, 'message' #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): ValueError: wrong message ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: def f(x): r''' >>> raise ValueError, 'message' #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): TypeError: wrong type ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: raise ValueError, 'message' #doctest: +IGNORE_EXCEPTION_DETAIL Expected: Traceback (most recent call last): TypeError: wrong type Got: Traceback (most recent call last): ... ValueError: message TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> 1//0 0 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: 1//0 Exception raised: Traceback (most recent call last): ... ZeroDivisionError: integer division or modulo by zero TestResults(failed=1, attempted=1) ok doctest (test_zipped_doctest) ... 21 tests with zero failures Finding tests in test_zipped_doctest.option_directives Trying: def f(x): r''' >>> print range(10) # should fail: no ellipsis [0, 1, ..., 9] >>> print range(10) # doctest: +ELLIPSIS [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # should fail: no ellipsis Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) [0, 1, ..., 9] >>> # should fail: no ellipsis >>> print range(10) # doctest: -ELLIPSIS [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=doctest.ELLIPSIS).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 6, in f Failed example: print range(10) # doctest: -ELLIPSIS Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) # Should fail: no ellipsis [0, 1, ..., 9] >>> print range(10) # doctest: +ELLIPSIS [0, 1, ..., 9] >>> print range(10) # Should fail: no ellipsis [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail: no ellipsis Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] ********************************************************************** File ..., line 8, in f Failed example: print range(10) # Should fail: no ellipsis Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=2, attempted=3) ok Trying: def f(x): r''' >>> print range(10) # Should fail [0, 1, ..., 9] >>> print range(10) # Should succeed ... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) # Should fail [0, 1, ..., 9] >>> print range(10) # Should succeed ... # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) # Should fail [0, 1, ..., 9] >>> print range(10) # Should succeed ... # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(10) # Should fail Expected: [0, 1, ..., 9] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] TestResults(failed=1, attempted=2) ok Trying: def f(x): r''' >>> print range(10) ... # doctest: +ELLIPSIS [0, 1, ..., 9] ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: def f(x): r''' >>> for x in range(10): # doctest: +ELLIPSIS ... print x, 0 1 2 ... 9 >>> for x in range(10): ... print x, # doctest: +ELLIPSIS 0 1 2 ... 9 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) ok Trying: def f(x): r''' Should fail (option directive not on the last line): >>> for x in range(10): # doctest: +ELLIPSIS ... print x, # doctest: +NORMALIZE_WHITESPACE 0 1 2...9 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: s = '>>> print 12 #doctest: +BADOPTION' Expecting nothing ok Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the doctest for s has an invalid option: '+BADOPTION' ok Trying: s = '>>> print 12 #doctest: ELLIPSIS' Expecting nothing ok Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the doctest for s has an invalid option: 'ELLIPSIS' ok Trying: s = '>>> # doctest: +ELLIPSIS' Expecting nothing ok Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 0 of the doctest for s has an option directive on a line with no example: '# doctest: +ELLIPSIS' ok doctest (test_zipped_doctest) ... 33 tests with zero failures Finding tests in test_zipped_doctest.optionflags Trying: def f(x): '>>> True\n1\n' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.DONT_ACCEPT_TRUE_FOR_1 Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: True Expected: 1 Got: True TestResults(failed=1, attempted=1) ok Trying: def f(x): '>>> print "a\\n\\nb"\na\n\nb\n' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.DONT_ACCEPT_BLANKLINE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print "a\n\nb" Expected: a b Got: a b TestResults(failed=1, attempted=1) ok Trying: def f(x): '>>> print 1, 2, 3\n 1 2\n 3' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print 1, 2, 3 Expected: 1 2 3 Got: 1 2 3 TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.NORMALIZE_WHITESPACE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: print range(20) #doctest: +NORMALIZE_WHITESPACE Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] ok Trying: def f(x): '>>> print range(15)\n[0, 1, 2, ..., 14]\n' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print range(15) Expected: [0, 1, 2, ..., 14] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.ELLIPSIS Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) Expecting: TestResults(failed=0, attempted=1) ok Trying: for i in range(100): print i**2, #doctest: +ELLIPSIS Expecting: 0 1...4...9 16 ... 36 49 64 ... 9801 ok Trying: for i in range(21): #doctest: +ELLIPSIS print i, Expecting: 0 1 2 ...1...2...0 ok Trying: print range(20) # doctest:+ELLIPSIS Expecting: [0, 1, ..., 18, 19] ok Trying: print range(20) # doctest: +ELLIPSIS # doctest: +NORMALIZE_WHITESPACE Expecting: [0, 1, ..., 18, 19] ok Trying: import random Expecting nothing ok Trying: def f(x): r''' >>> print '\n'.join('abcdefg') a B c d f g h ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print '\n'.join('abcdefg') Expected: a B c d f g h Got: a b c d e f g TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_UDIFF Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print '\n'.join('abcdefg') Differences (unified diff with -expected +actual): @@ -1,7 +1,7 @@ a -B +b c d +e f g -h TestResults(failed=1, attempted=1) ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_CDIFF Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print '\n'.join('abcdefg') Differences (context diff with expected followed by actual): *************** *** 1,7 **** a ! B c d f g - h --- 1,7 ---- a ! b c d + e f g TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> print "a b c d e f g h i j k l m" a b c d e f g h i j k 1 m ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_NDIFF Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print "a b c d e f g h i j k l m" Differences (ndiff with -expected +actual): - a b c d e f g h i j k 1 m ? ^ + a b c d e f g h i j k l m ? + ++ ^ TestResults(failed=1, attempted=1) ok Trying: def f(x): r''' >>> print 1 # first success 1 >>> print 2 # first failure 200 >>> print 3 # second failure 300 >>> print 4 # second success 4 >>> print 5 # third failure 500 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_ONLY_FIRST_FAILURE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: print 2 # first failure Expected: 200 Got: 2 TestResults(failed=3, attempted=5) ok Trying: doctest.DocTestRunner(verbose=True, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: Trying: print 1 # first success Expecting: 1 ok Trying: print 2 # first failure Expecting: 200 ********************************************************************** File ..., line 5, in f Failed example: print 2 # first failure Expected: 200 Got: 2 TestResults(failed=3, attempted=5) ok Trying: def f(x): r''' >>> print 1 # first success 1 >>> raise ValueError(2) # first failure 200 >>> print 3 # second failure 300 >>> print 4 # second success 4 >>> print 5 # third failure 500 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: flags = doctest.REPORT_ONLY_FIRST_FAILURE Expecting nothing ok Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: raise ValueError(2) # first failure Exception raised: ... ValueError: 2 TestResults(failed=3, attempted=5) ok Trying: unlikely = "UNLIKELY_OPTION_NAME" Expecting nothing ok Trying: unlikely in doctest.OPTIONFLAGS_BY_NAME Expecting: False ok Trying: new_flag_value = doctest.register_optionflag(unlikely) Expecting nothing ok Trying: unlikely in doctest.OPTIONFLAGS_BY_NAME Expecting: True ok Trying: redundant_flag_value = doctest.register_optionflag(unlikely) Expecting nothing ok Trying: redundant_flag_value == new_flag_value Expecting: True ok Trying: del doctest.OPTIONFLAGS_BY_NAME[unlikely] Expecting nothing ok doctest (test_zipped_doctest) ... 59 tests with zero failures Finding tests in test_zipped_doctest.verbose_flag Trying: def f(x): ''' >>> x = 12 >>> print x 12 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: doctest.DocTestRunner(verbose=True).run(test) Expecting: Trying: x = 12 Expecting nothing ok Trying: print x Expecting: 12 ok Trying: x//2 Expecting: 6 ok TestResults(failed=0, attempted=3) ok Trying: old_argv = sys.argv Expecting nothing ok Trying: sys.argv = ['test'] Expecting nothing ok Trying: doctest.DocTestRunner().run(test) Expecting: TestResults(failed=0, attempted=3) ok Trying: sys.argv = ['test', '-v'] Expecting nothing ok Trying: doctest.DocTestRunner().run(test) Expecting: Trying: x = 12 Expecting nothing ok Trying: print x Expecting: 12 ok Trying: x//2 Expecting: 6 ok TestResults(failed=0, attempted=3) ok Trying: sys.argv = old_argv Expecting nothing ok doctest (test_zipped_doctest) ... 9 tests with zero failures Finding tests in test_zipped_doctest.test_Example Trying: example = doctest.Example('print 1', '1\n') Expecting nothing ok Trying: (example.source, example.want, example.exc_msg, example.lineno, example.indent, example.options) Expecting: ('print 1\n', '1\n', None, 0, 0, {}) ok Trying: exc_msg = 'IndexError: pop from an empty list' Expecting nothing ok Trying: example = doctest.Example('[].pop()', '', exc_msg, lineno=5, indent=4, options={doctest.ELLIPSIS: True}) Expecting nothing ok Trying: (example.source, example.want, example.exc_msg, example.lineno, example.indent, example.options) Expecting: ('[].pop()\n', '', 'IndexError: pop from an empty list\n', 5, 4, {8: True}) ok Trying: e = doctest.Example('print 1', '1\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print 1\n', '1\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print 1;\nprint 2\n', '1\n2\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1;\nprint 2\n', '1\n2\n') ok Trying: e = doctest.Example('print 1;\nprint 2', '1\n2\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1;\nprint 2\n', '1\n2\n') ok Trying: e = doctest.Example('', '') Expecting nothing ok Trying: e.source, e.want Expecting: ('\n', '') ok Trying: e = doctest.Example('print 1', '1\n') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print 1', '1') Expecting nothing ok Trying: e.source, e.want Expecting: ('print 1\n', '1\n') ok Trying: e = doctest.Example('print', '') Expecting nothing ok Trying: e.source, e.want Expecting: ('print\n', '') ok Trying: exc_msg = 'IndexError: pop from an empty list' Expecting nothing ok Trying: e = doctest.Example('[].pop()', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'IndexError: pop from an empty list\n' ok Trying: exc_msg = 'IndexError: pop from an empty list\n' Expecting nothing ok Trying: e = doctest.Example('[].pop()', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'IndexError: pop from an empty list\n' ok Trying: exc_msg = 'ValueError: 1\n 2' Expecting nothing ok Trying: e = doctest.Example('raise ValueError:1: DeprecationWarning: execfile() not supported in 3.x; use exec() ("1\n 2")', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'ValueError: 1\n 2\n' ok Trying: exc_msg = 'ValueError: 1\n 2\n' Expecting nothing ok Trying: e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: 'ValueError: 1\n 2\n' ok Trying: exc_msg = '' Expecting nothing ok Trying: e = doctest.Example('raise X()', '', exc_msg) Expecting nothing ok Trying: e.exc_msg Expecting: '\n' ok doctest (test_zipped_doctest) ... 36 tests with zero failures Finding tests in test_zipped_doctest.test_debug Trying: s = ''' >>> x = 12 >>> print x 12 ''' Expecting nothing ok Trying: import tempfile Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput(['next', 'print x', 'continue']) Expecting nothing ok Trying: try: doctest.debug_src(s) finally: sys.stdin = real_stdin Expecting: > (1)() (Pdb) next 12 --Return-- > (1)()->None (Pdb) print x 12 (Pdb) continue ok doctest (test_zipped_doctest) ... 5 tests with zero failures Finding tests in test_zipped_doctest.test_pdb_set_trace Trying: doc = ''' >>> x = 42 >>> import pdb; pdb.set_trace() ''' Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: test = parser.get_doctest(doc, {}, "foo", "foo.py", 0) Expecting nothing ok Trying: runner = doctest.DocTestRunner(verbose=False) Expecting nothing ok Trying: import tempfile Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'print x', # print data defined by the example 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin Expecting: --Return-- > (1)()->None -> import pdb; pdb.set_trace() (Pdb) print x 42 (Pdb) continue TestResults(failed=0, attempted=2) ok Trying: def calls_set_trace(): y=2 import pdb; pdb.set_trace() Expecting nothing ok Trying: doc = ''' >>> x=1 >>> calls_set_trace() ''' Expecting nothing ok Trying: test = parser.get_doctest(doc, globals(), "foo", "foo.py", 0) Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'print y', # print data defined in the function 'up', # out of function 'print x', # print data defined by the example 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin Expecting: --Return-- > (3)calls_set_trace()->None -> import pdb; pdb.set_trace() (Pdb) print y 2 (Pdb) up > (1)() -> calls_set_trace() (Pdb) print x 1 (Pdb) continue TestResults(failed=0, attempted=2) ok Trying: doc = ''' >>> def f(x): ... g(x*2) >>> def g(x): ... print x+3 ... import pdb; pdb.set_trace() >>> f(3) ''' Expecting nothing ok Trying: test = parser.get_doctest(doc, globals(), "foo", "foo.py", 0) Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'list', # list source from example 2 'next', # return from g() 'list', # list source from example 1 'next', # return from f() 'list', # list source from example 3 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin # doctest: +NORMALIZE_WHITESPACE Expecting: --Return-- > (3)g()->None -> import pdb; pdb.set_trace() (Pdb) list 1 def g(x): 2 print x+3 3 -> import pdb; pdb.set_trace() [EOF] (Pdb) next --Return-- > (2)f()->None -> g(x*2) (Pdb) list 1 def f(x): 2 -> g(x*2) [EOF] (Pdb) next --Return-- > (1)()->None -> f(3) (Pdb) list 1 -> f(3) [EOF] (Pdb) continue ********************************************************************** File "foo.py", line 7, in foo Failed example: f(3) Expected nothing Got: 9 TestResults(failed=1, attempted=3) ok doctest (test_zipped_doctest) ... 19 tests with zero failures Finding tests in test_zipped_doctest.test_pdb_set_trace_nested Trying: class C(object): def calls_set_trace(self): y = 1 import pdb; pdb.set_trace() self.f1() y = 2 def f1(self): x = 1 self.f2() x = 2 def f2(self): z = 1 z = 2 Expecting nothing ok Trying: calls_set_trace = C().calls_set_trace Expecting nothing ok Trying: doc = ''' >>> a = 1 >>> calls_set_trace() ''' Expecting nothing ok Trying: parser = doctest.DocTestParser() Expecting nothing ok Trying: runner = doctest.DocTestRunner(verbose=False) Expecting nothing ok Trying: test = parser.get_doctest(doc, globals(), "foo", "foo.py", 0) Expecting nothing ok Trying: real_stdin = sys.stdin Expecting nothing ok Trying: sys.stdin = _FakeInput([ 'print y', # print data defined in the function 'step', 'step', 'step', 'step', 'step', 'step', 'print z', 'up', 'print x', 'up', 'print y', 'up', 'print foo', 'continue', # stop debugging '']) Expecting nothing ok Trying: try: runner.run(test) finally: sys.stdin = real_stdin Expecting: > (5)calls_set_trace() -> self.f1() (Pdb) print y 1 (Pdb) step --Call-- > (7)f1() -> def f1(self): (Pdb) step > (8)f1() -> x = 1 (Pdb) step > (9)f1() -> self.f2() (Pdb) step --Call-- > (11)f2() -> def f2(self): (Pdb) step > (12)f2() -> z = 1 (Pdb) step > (13)f2() -> z = 2 (Pdb) print z 1 (Pdb) up > (9)f1() -> self.f2() (Pdb) print x 1 (Pdb) up > (5)calls_set_trace() -> self.f1() (Pdb) print y 1 (Pdb) up > (1)() -> calls_set_trace() (Pdb) print foo *** NameError: name 'foo' is not defined (Pdb) continue TestResults(failed=0, attempted=2) ok doctest (test_zipped_doctest) ... 9 tests with zero failures Finding tests in test_zipped_doctest.test_testsource Trying: import test_zipped_doctest Expecting nothing ok Trying: name = 'test_zipped_doctest.sample_func' Expecting nothing ok Trying: print doctest.testsource(test_zipped_doctest, name) Expecting: # Blah blah # print sample_func(22) # Expected: ## 44 # # Yee ha! ok Trying: name = 'test_zipped_doctest.SampleNewStyleClass' Expecting nothing ok Trying: print doctest.testsource(test_zipped_doctest, name) Expecting: print '1\n2\n3' # Expected: ## 1 ## 2 ## 3 ok Trying: name = 'test_zipped_doctest.SampleClass.a_classmethod' Expecting nothing ok Trying: print doctest.testsource(test_zipped_doctest, name) Expecting: print SampleClass.a_classmethod(10) # Expected: ## 12 print SampleClass(0).a_classmethod(10) # Expected: ## 12 ok doctest (test_zipped_doctest) ... 7 tests with zero failures Finding tests in test_zipped_doctest.test_trailing_space_in_test Trying: x, y = 'foo', '' Expecting nothing ok Trying: print x, y Expecting: foo ok doctest (test_zipped_doctest) ... 2 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestSuite Trying: import unittest Expecting nothing ok Trying: import sample_zipped_doctest Expecting nothing ok Trying: suite = doctest.DocTestSuite(sample_zipped_doctest) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('sample_zipped_doctest') Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = sample_zipped_doctest.test_suite() Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', globs={}) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', extraglobs={'y': 1}) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', optionflags=doctest.DONT_ACCEPT_BLANKLINE) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: def setUp(t): import test_zipped_doctest test_zipped_doctest.sillySetup = True Expecting nothing ok Trying: def tearDown(t): import test_zipped_doctest del test_zipped_doctest.sillySetup Expecting nothing ok Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', setUp=setUp, tearDown=tearDown) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok Trying: import test_zipped_doctest Expecting nothing ok Trying: test_zipped_doctest.sillySetup Expecting: Traceback (most recent call last): ... AttributeError: 'module' object has no attribute 'sillySetup' ok Trying: def setUp(test): test.globs['y'] = 1 Expecting nothing ok Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', setUp=setUp) Expecting nothing ok Trying: suite.run(unittest.TestResult()) Expecting: ok doctest (test_zipped_doctest) ... 23 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestFinder Trying: finder = doctest.DocTestFinder() Expecting nothing ok Trying: import test_zipped_doctest Expecting nothing ok Trying: old = test_zipped_doctest.__file__ Expecting nothing ok Trying: test_zipped_doctest.__file__ = 'test_doctest.pyc' Expecting nothing ok Trying: tests = finder.find(sample_func) Expecting nothing ok Trying: print tests # doctest: +ELLIPSIS Expecting: [] ok Trying: tests[0].filename # doctest: +ELLIPSIS Expecting: '...test_doctest.py' ok Trying: test_zipped_doctest.__file__ = old Expecting nothing ok Trying: e = tests[0].examples[0] Expecting nothing ok Trying: (e.source, e.want, e.lineno) Expecting: ('print sample_func(22)\n', '44\n', 3) ok Trying: def no_docstring(v): pass Expecting nothing ok Trying: finder.find(no_docstring) Expecting: [] ok Trying: def no_docstring(v): pass Expecting nothing ok Trying: excl_empty_finder = doctest.DocTestFinder(exclude_empty=True) Expecting nothing ok Trying: excl_empty_finder.find(no_docstring) Expecting: [] ok Trying: def no_examples(v): ''' no doctest examples ''' Expecting nothing ok Trying: finder.find(no_examples) # doctest: +ELLIPSIS Expecting: [] ok Trying: finder = doctest.DocTestFinder() Expecting nothing ok Trying: tests = finder.find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass 3 SampleClass.NestedClass 1 SampleClass.NestedClass.__init__ 1 SampleClass.__init__ 2 SampleClass.a_classmethod 1 SampleClass.a_property 1 SampleClass.a_staticmethod 1 SampleClass.double 1 SampleClass.get ok Trying: tests = finder.find(SampleNewStyleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 1 SampleNewStyleClass 1 SampleNewStyleClass.__init__ 1 SampleNewStyleClass.double 1 SampleNewStyleClass.get ok Trying: import types Expecting nothing ok Trying: m = types.ModuleType('some_module') Expecting nothing ok Trying: def triple(val): ''' >>> print triple(11) 33 ''' return val*3 Expecting nothing ok Trying: m.__dict__.update({ 'sample_func': sample_func, 'SampleClass': SampleClass, '__doc__': ''' Module docstring. >>> print 'module' module ''', '__test__': { 'd': '>>> print 6\n6\n>>> print 7\n7\n', 'c': triple}}) Expecting nothing ok Trying: finder = doctest.DocTestFinder() Expecting nothing ok Trying: import test_zipped_doctest Expecting nothing ok Trying: tests = finder.find(m, module=test_zipped_doctest) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 1 some_module 3 some_module.SampleClass 3 some_module.SampleClass.NestedClass 1 some_module.SampleClass.NestedClass.__init__ 1 some_module.SampleClass.__init__ 2 some_module.SampleClass.a_classmethod 1 some_module.SampleClass.a_property 1 some_module.SampleClass.a_staticmethod 1 some_module.SampleClass.double 1 some_module.SampleClass.get 1 some_module.__test__.c 2 some_module.__test__.d 1 some_module.sample_func ok Trying: from test import doctest_aliases Expecting nothing ok Trying: assert doctest_aliases.TwoNames.f Expecting nothing ok Trying: assert doctest_aliases.TwoNames.g Expecting nothing ok Trying: tests = excl_empty_finder.find(doctest_aliases) Expecting nothing ok Trying: print len(tests) Expecting: 2 ok Trying: print tests[0].name Expecting: test.doctest_aliases.TwoNames ok Trying: tests[1].name.split('.')[-1] in ['f', 'g'] Expecting: True ok Trying: tests = doctest.DocTestFinder().find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass 3 SampleClass.NestedClass 1 SampleClass.NestedClass.__init__ 1 SampleClass.__init__ 2 SampleClass.a_classmethod 1 SampleClass.a_property 1 SampleClass.a_staticmethod 1 SampleClass.double 1 SampleClass.get ok Trying: tests = doctest.DocTestFinder(exclude_empty=False).find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass 3 SampleClass.NestedClass 1 SampleClass.NestedClass.__init__ 0 SampleClass.NestedClass.get 0 SampleClass.NestedClass.square 1 SampleClass.__init__ 2 SampleClass.a_classmethod 1 SampleClass.a_property 1 SampleClass.a_staticmethod 1 SampleClass.double 1 SampleClass.get ok Trying: tests = doctest.DocTestFinder(recurse=False).find(SampleClass) Expecting nothing ok Trying: for t in tests: print '%2s %s' % (len(t.examples), t.name) Expecting: 3 SampleClass ok Trying: def f(x): ''' >>> x = 12 some text >>> # examples are not created for comments & bare prompts. >>> ... >>> for x in range(10): ... print x, 0 1 2 3 4 5 6 7 8 9 >>> x//2 6 ''' Expecting nothing ok Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing ok Trying: [e.lineno for e in test.examples] Expecting: [1, 9, 12] ok doctest (test_zipped_doctest) ... 46 tests with zero failures ok test_doctest_main_issue4197 (test.test_zipimport_support.ZipSupportTests) ... Expected line File "/tmp/tmp9xW4xr/script.py", line 2, in __main__.Test Got stdout: ********************************************************************** File "/tmp/tmp9xW4xr/script.py", line 2, in __main__.Test Failed example: 'line 2' Expected nothing Got: 'line 2' ********************************************************************** 1 items had failures: 1 of 1 in __main__.Test ***Test Failed*** 1 failures. Expected line File "/tmp/tmp9xW4xr/test_zip.zip/__main__.py", line 2, in __main__.Test Got stdout: ********************************************************************** File "/tmp/tmp9xW4xr/test_zip.zip/__main__.py", line 2, in __main__.Test Failed example: 'line 2' Expected nothing Got: 'line 2' ********************************************************************** 1 items had failures: 1 of 1 in __main__.Test ***Test Failed*** 1 failures. ok test_inspect_getsource_issue4223 (test.test_zipimport_support.ZipSupportTests) ... ok test_pdb_issue4201 (test.test_zipimport_support.ZipSupportTests) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.415s OK test_zlib test_abcdefghijklmnop (test.test_zlib.ChecksumTestCase) test issue1202 compliance: signed crc32, adler32 in 2.x ... ok test_adler32empty (test.test_zlib.ChecksumTestCase) ... ok test_adler32start (test.test_zlib.ChecksumTestCase) ... ok test_crc32empty (test.test_zlib.ChecksumTestCase) ... ok test_crc32start (test.test_zlib.ChecksumTestCase) ... ok test_negative_crc_iv_input (test.test_zlib.ChecksumTestCase) ... ok test_penguins (test.test_zlib.ChecksumTestCase) ... ok test_same_as_binascii_crc32 (test.test_zlib.ChecksumTestCase) ... ok test_badcompressobj (test.test_zlib.ExceptionTestCase) ... ok test_baddecompressobj (test.test_zlib.ExceptionTestCase) ... ok test_badlevel (test.test_zlib.ExceptionTestCase) ... ok test_decompressobj_badflush (test.test_zlib.ExceptionTestCase) ... ok test_speech (test.test_zlib.CompressTestCase) ... ok test_speech128 (test.test_zlib.CompressTestCase) ... ok test_badcompresscopy (test.test_zlib.CompressObjectTestCase) ... ok test_baddecompresscopy (test.test_zlib.CompressObjectTestCase) ... ok test_compresscopy (test.test_zlib.CompressObjectTestCase) ... ok test_compressincremental (test.test_zlib.CompressObjectTestCase) ... ok test_compressoptions (test.test_zlib.CompressObjectTestCase) ... ok test_decompimax (test.test_zlib.CompressObjectTestCase) ... ok test_decompinc (test.test_zlib.CompressObjectTestCase) ... ok test_decompincflush (test.test_zlib.CompressObjectTestCase) ... ok test_decompresscopy (test.test_zlib.CompressObjectTestCase) ... ok test_decompressmaxlen (test.test_zlib.CompressObjectTestCase) ... ok test_decompressmaxlenflush (test.test_zlib.CompressObjectTestCase) ... ok test_empty_flush (test.test_zlib.CompressObjectTestCase) ... ok test_flushes (test.test_zlib.CompressObjectTestCase) ... ok test_maxlenmisc (test.test_zlib.CompressObjectTestCase) ... ok test_odd_flush (test.test_zlib.CompressObjectTestCase) ... ok test_pair (test.test_zlib.CompressObjectTestCase) ... ok ---------------------------------------------------------------------- Ran 30 tests in 0.259s OK 350 tests OK. 7 tests failed: test_atexit test_curses test_doctest test_linuxaudiodev test_ossaudiodev test_profilehooks test_py3kwarn 19 tests skipped: test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl test_gl test_imgfile test_kqueue test_macos test_macostools test_pep277 test_scriptpackages test_startfile test_sunaudiodev test_ttk_guionly test_winreg test_winsound test_zipfile64 1 skip unexpected on linux2: test_ttk_guionly