Disobedience to a subpoena, or a refusal to be sworn or to testify, may be punished by the court or magistrate, as for a criminal contempt, in the manner provided in civil procedure.
R.L.1910, § 6022.