The provisions of section 313 of the code of civil procedure do not apply to this case. The prohibition in that section applies only to the testimony of a witness examined on commission, or on trial, or hearing of an action or special proceeding, and has no reference to the affidavits that may be required to be made in the progress of a cause. It has always been the practice of the courts to receive the affidavit of parties to a suit who were incompetent, on the 'trial, on account of interest, infamy, or other cause, on questions connected with the progress of the action which did not involve the matters in controversy, but matter which was auxiliary thereto, and which was always addressed to the court; as for instance, the affidavit of a party to a suit as to the materiality of a witness, diligent search, made for a witness or a paper,, the death of a subscribing witness, the continuance of a cause, or the loss of an instrument which is the foundation of an action. 1 Greenl. Ev., 401.
The same doctrine has been uniformly recognized and practiced in this state. In the case of Ritter v. Stutts, 8 Ired. Eq., 240, it is held : “ If in the institution of a suit, or in its progress, the course of the court requires a party to make an affidavit, the fact of his being infamous does not make him incompetent to do so,” for said Chief Justice PearsoN, who .delivered the opinion of the court, “if an affidavit be required, and at the same time the party is held to be incompetent to make it, he cannot pursue his right, and there will be in effect a denial of justice. The principle is settled as well upon the reason of the thing as by authority.” In that case the plaintiff in the cause, though interested and infamous, was allowed to prove the loss of his bond upon which the suit was brought.
But section 256 of the code of civil procedure, which provides that no execution shall be issued upon a judgment after the lapse of three years without leave of the court, ex*57pressly admits the oath of the party to establish the fact that the judgment in some part thereof remains unsatisfied. If this were not so, it would often happen when a defendant dies after judgment, that the plaintiff would be unable to prove the non-payment of the judgment by any one else, and it would often amount to a denial of justice, for it is a fact that lies most generally in the exclusive knowledge of the plaintiff.
No error. Affirmed.