Water is flowing in streamline motion through a tube with its axis horizontal. Consider two points A and B in the tube at the same horizontal level.
The pressures are equal if the tube has a uniform cross section.
The pressures may be equal even if the tube has a non-uniform cross section.
Consider a situation as shown above,
Now if A1=A2
⇒V1=V2
So velocities can be equal even if the cross section of the pipe is non-uniform.