def test_postcode(self, faker, num_samples):
    for _ in range(num_samples):
        pcd = faker.postcode()
        assert re.fullmatch('H-[1-9]\\d{3}', pcd)
def test_postcode(self, faker, num_samples):
    for _ in range(num_samples):
        pcd = faker.postcode()
        assert re.fullmatch('H-[1-9]\\d{3}', pcd)