Selecting a gpio as output automatically disables the weak pull-up. Several peripherals do the same.

George