Pakistan condemns nuclear test by North Korea