@staticmethod
    def _infimum_key(expr):
        try:
            infimum = expr.inf
            assert infimum.is_comparable
        except (NotImplementedError,
                AttributeError, AssertionError, ValueError):
            infimum = S.Infinity
        return infimum
Test that a CryptographicLength attribute can be created.
dataset/ETHPy150Open sympy/sympy/sympy/sets/sets.py/Set._infimum_key--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/factories/test_attribute_values.py/TestAttributeValueFactory.test_create_cryptographic_length