BsMBP:cpython bem$ ./Lib/test/regrtest.py -v test_gdb == CPython 2.7.11 (default, Dec 5 2015, 14:44:53) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)] == Darwin-15.2.0-x86_64-i386-64bit little-endian == /private/var/folders/8m/6dsl12z52g7b_9f4kh1yb0s40000gn/T/test_python_53211 Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0, division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0, unicode=0, bytes_warning=0, hash_randomization=0) [1/1] test_gdb GDB version 7.10: GNU gdb (GDB) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin15.2.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". test_NULL_instance_dict (test.test_gdb.PrettyPrintTests) Ensure that a PyInstanceObject with with a NULL in_dict is handled ... FAIL test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ... FAIL test_NULL_ptr (test.test_gdb.PrettyPrintTests) Ensure that a NULL PyObject* is handled gracefully ... FAIL test_builtin_function (test.test_gdb.PrettyPrintTests) ... FAIL test_builtin_method (test.test_gdb.PrettyPrintTests) ... FAIL test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ... FAIL test_classic_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of classic class instances ... FAIL test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... FAIL test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ... FAIL test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ... FAIL test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ... FAIL test_exceptions (test.test_gdb.PrettyPrintTests) ... FAIL test_frames (test.test_gdb.PrettyPrintTests) ... FAIL test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ... FAIL test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... FAIL test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int" values ... FAIL test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ... FAIL test_long (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "long" values ... FAIL test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ... FAIL test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ... FAIL test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ... FAIL test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... FAIL test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... FAIL test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ... FAIL test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ... FAIL test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of strings ... FAIL test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ... FAIL test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ... FAIL test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ... FAIL test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ... FAIL test_unicode (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode values ... FAIL test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ... skipped 'Python was compiled with optimizations' test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ... skipped 'Python was compiled with optimizations' test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ... skipped 'Python was compiled with optimizations' test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ... FAIL test_pyup_command (test.test_gdb.StackNavigationTests) Verify that the "py-up" command works ... skipped 'Python was compiled with optimizations' test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ... FAIL test_up_then_down (test.test_gdb.StackNavigationTests) Verify "py-up" followed by "py-down" ... skipped 'Python was compiled with optimizations' test_bt (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ... skipped 'Python was compiled with optimizations' test_bt_full (test.test_gdb.PyBtTests) Verify that the "py-bt-full" command works ... skipped 'Python was compiled with optimizations' test_gc (test.test_gdb.PyBtTests) Verify that "py-bt" indicates if a thread is garbage-collecting ... skipped 'Python was compiled with optimizations' test_pycfunction (test.test_gdb.PyBtTests) Verify that "py-bt" displays invocations of PyCFunction instances ... skipped 'Python was compiled with optimizations' test_threads (test.test_gdb.PyBtTests) Verify that "py-bt" indicates threads that are waiting for the GIL ... FAIL test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ... skipped 'Python was compiled with optimizations' test_print_after_up (test.test_gdb.PyPrintTests) ... skipped 'Python was compiled with optimizations' test_printing_builtin (test.test_gdb.PyPrintTests) ... skipped 'Python was compiled with optimizations' test_printing_global (test.test_gdb.PyPrintTests) ... skipped 'Python was compiled with optimizations' test_basic_command (test.test_gdb.PyLocalsTests) ... skipped 'Python was compiled with optimizations' test_locals_after_up (test.test_gdb.PyLocalsTests) ... skipped 'Python was compiled with optimizations' ====================================================================== FAIL: test_NULL_instance_dict (test.test_gdb.PrettyPrintTests) Ensure that a PyInstanceObject with with a NULL in_dict is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 521, in test_NULL_instance_dict exptype='Foo') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 459, in assertSane cmds_after_breakpoint=cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 4 additional elements. First extra element 0: Unable to find Mach task port for process-id 53220: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53220: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No symbol table is loaded. Use the "file" command.', - 'No stack.'] ====================================================================== FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 492, in test_NULL_ob_type 'set op->ob_type=0') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 459, in assertSane cmds_after_breakpoint=cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 4 additional elements. First extra element 0: Unable to find Mach task port for process-id 53222: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53222: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No symbol table is loaded. Use the "file" command.', - 'No stack.'] ====================================================================== FAIL: test_NULL_ptr (test.test_gdb.PrettyPrintTests) Ensure that a NULL PyObject* is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 484, in test_NULL_ptr 'backtrace']) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 4 additional elements. First extra element 0: Unable to find Mach task port for process-id 53224: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53224: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No symbol table is loaded. Use the "file" command.', - 'No stack.'] ====================================================================== FAIL: test_builtin_function (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 623, in test_builtin_function gdb_repr, gdb_output = self.get_gdb_repr('print len') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53226: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53226: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_builtin_method (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 627, in test_builtin_method gdb_repr, gdb_output = self.get_gdb_repr('import sys; print sys.stdout.readlines') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53228: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53228: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 528, in test_builtins_help gdb_repr, gdb_output = self.get_gdb_repr('print __builtins__.help', import_site=True) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53230: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53230: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_classic_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of classic class instances ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 402, in test_classic_class print foo''') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53232: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53232: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 498, in test_corrupt_ob_type expvalue=42) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 459, in assertSane cmds_after_breakpoint=cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 4 additional elements. First extra element 0: Unable to find Mach task port for process-id 53234: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53234: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No symbol table is loaded. Use the "file" command.', - 'No stack.'] ====================================================================== FAIL: test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 504, in test_corrupt_tp_flags expvalue=42) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 459, in assertSane cmds_after_breakpoint=cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 4 additional elements. First extra element 0: Unable to find Mach task port for process-id 53236: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53236: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No symbol table is loaded. Use the "file" command.', - 'No stack.'] ====================================================================== FAIL: test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 510, in test_corrupt_tp_name expvalue=42) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 459, in assertSane cmds_after_breakpoint=cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 4 additional elements. First extra element 0: Unable to find Mach task port for process-id 53238: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53238: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No symbol table is loaded. Use the "file" command.', - 'No stack.'] ====================================================================== FAIL: test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 296, in test_dicts self.assertGdbRepr({}) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53240: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53240: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_exceptions (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 380, in test_exceptions ''') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53242: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53242: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_frames (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 641, in test_frames cmds_after_breakpoint=['print (PyFrameObject*)(((PyCodeObject*)op)->co_zombieframe)'] File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53244: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53244: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No symbol table is loaded. Use the "file" command.'] ====================================================================== FAIL: test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 363, in test_frozensets self.assertGdbRepr(frozenset()) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53246: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53246: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_getting_backtrace (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 263, in test_getting_backtrace gdb_output = self.get_stack_trace('print 42') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53248: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53248: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int" values ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 275, in test_int self.assertGdbRepr(42) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53250: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53250: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 302, in test_lists self.assertGdbRepr([]) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53252: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53252: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_long (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "long" values ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 283, in test_long self.assertGdbRepr(0L) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53254: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53254: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 414, in test_modern_class print foo''') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53256: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53256: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 550, in test_selfreferential_dict self.get_gdb_repr("a = {} ; b = {'bar':a} ; a['foo'] = b ; print a") File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53258: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53258: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 537, in test_selfreferential_list self.get_gdb_repr("a = [3, 4, 5] ; a.append(a) ; print a") File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53260: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53260: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 574, in test_selfreferential_new_style_instance print foo''') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53262: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53262: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 561, in test_selfreferential_old_style_instance print foo''') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53264: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53264: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 344, in test_sets self.assertGdbRepr(set()) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53266: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53266: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 290, in test_singletons self.assertGdbRepr(True) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53268: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53268: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of strings ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 307, in test_strings self.assertGdbRepr('') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53270: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53270: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 427, in test_subclassing_list print foo''') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53272: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53272: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 441, in test_subclassing_tuple print foo''') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53274: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53274: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 596, in test_truncation gdb_repr, gdb_output = self.get_gdb_repr('print range(1000)') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53276: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53276: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 314, in test_tuples self.assertGdbRepr(tuple()) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53278: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53278: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_unicode (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode values ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 321, in test_unicode self.assertGdbRepr(u'') File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 270, in assertGdbRepr cmds_after_breakpoint) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 239, in get_gdb_repr import_site=import_site) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53280: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53280: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'No stack.'] ====================================================================== FAIL: test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 708, in test_down_at_bottom cmds_after_breakpoint=['py-down']) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 3 additional elements. First extra element 0: Unable to find Mach task port for process-id 53282: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53282: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'Undefined command: "py-down". Try "help".'] ====================================================================== FAIL: test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 716, in test_up_at_top cmds_after_breakpoint=['py-up'] * 4) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 6 additional elements. First extra element 0: Unable to find Mach task port for process-id 53284: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53284: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))', - 'Undefined command: "py-up". Try "help".', - 'Undefined command: "py-up". Try "help".', - 'Undefined command: "py-up". Try "help".', - 'Undefined command: "py-up". Try "help".'] ====================================================================== FAIL: test_threads (test.test_gdb.PyBtTests) Verify that "py-bt" indicates threads that are waiting for the GIL ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 797, in test_threads cmds_after_breakpoint=['thread apply all py-bt']) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_gdb.py", line 224, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['Unable to find Mach task por... != [] First list contains 2 additional elements. First extra element 0: Unable to find Mach task port for process-id 53286: (os/kern) failure (0x5). + [] - ['Unable to find Mach task port for process-id 53286: (os/kern) failure (0x5).', - ' (please check gdb is codesigned - see taskgated(8))'] ---------------------------------------------------------------------- Ran 49 tests in 1.075s FAILED (failures=34, skipped=15) test test_gdb failed -- multiple errors occurred 1 test failed: test_gdb BsMBP:cpython bem$