:right-sidebar: True TestTrapFlags =================================================================== .. currentmodule:: gi.repository.GLib .. deprecated:: 2.38 :obj:`~gi.repository.GLib.TestTrapFlags` is used only with :func:`~gi.repository.GLib.test_trap_fork`, which is deprecated. :func:`~gi.repository.GLib.test_trap_subprocess` uses :obj:`~gi.repository.GLib.TestSubprocessFlags`\. .. class:: TestTrapFlags :no-contents-entry: Test traps are guards around forked tests. These flags determine what traps to set. Fields ------ .. rst-class:: interim-class .. class:: TestTrapFlags :no-index: .. attribute:: DEFAULT The type of the None singleton. .. attribute:: INHERIT_STDIN The type of the None singleton. .. attribute:: SILENCE_STDERR The type of the None singleton. .. attribute:: SILENCE_STDOUT The type of the None singleton.