def METHOD_NAME(self):
    assert not signac.is_buffered()
    with signac.buffered():
        assert signac.is_buffered()
    assert not signac.is_buffered()
    assert not signac.is_buffered()
    with signac.buffered():
        assert signac.is_buffered()
        with signac.buffered():
            assert signac.is_buffered()
        assert signac.is_buffered()
    assert not signac.is_buffered()