Then you need to develop a good feel for the relative acidities and basicities of a lot of functional groups. You can't memorize the pKa for every compound, but you need to at least have some feel for the groups.
In your case, you are looking at an acetylenic hydrogen compared to a hydroxy hydrogen. Although an acetylenic hydrogen is acidic compared to, say, an alkyl or alkenyl hydrogen, that is far far less acidic than a hydrogen attached to an oxygen, nitrogen, sulfur, phosphorus, or almost anything else except a metal. Carbons really do not want to lose their hydrogens to gain a negative charge, while oxygen is pretty okay with it. Pulling a proton from nitrogen isn't as easy as pulling it from oxygen, but still far easier than pulling it from carbon. And so on. As you learn about new functional groups, you need to get some idea of what effect they will have on the acidity of attached or neighboring hydrogens.