@mock_streams('stderr')
def test_require_mixed_state_keys_prints_missing_only():
    """
    When given mixed-state keys, require() prints missing keys only
    """
    try:
        require('foo', 'version')
    except SystemExit:
        err = sys.stderr.getvalue()
        assert 'version' not in err
        assert 'foo' in err
dataset/ETHPy150Open fabric/fabric/tests/test_operations.py/test_require_mixed_state_keys_prints_missing_only/original