def METHOD_NAME():
    py38 = PythonInterpreter.from_binary(ensure_python_interpreter(PY38))
    assert py38 in InterpreterConstraint.parse("==3.8.*")
    assert py38 in InterpreterConstraint.parse("CPython==3.8.*")
    assert py38 in InterpreterConstraint.parse("==3.8.*", default_interpreter="CPython")
    assert py38 not in InterpreterConstraint.parse("==3.8.*", default_interpreter="PyPy")
    assert py38 not in InterpreterConstraint.parse("PyPy==3.8.*")