It is shown that a Tychonoff space X is pseudocompact if and only if for every metrizable space Y, all uniformities on Y induce the same topology on the space of continuous functions from X into Y. Also for certain pairs of spaces X and Y, a necessary and sufficient condition is established in order that all uniformities on Y induce the same topology on the space of continuous functions from X into Y.