def test_enable(self):
        """test 'gci disable' reporting the gc as enabled by default."""
        assert gc.isenabled(), "Internal error: gc not enabled at test start!"
        gc.disable()
        self.run_command("gci enable", exitcode=0)
        assert gc.isenabled(), "'gci enable' did not work!"
test 'gci disable' reporting the gc as enabled by default.
tests/misc/test_gci.py