def test_zipcode(self, faker, num_samples):
    for _ in range(num_samples):
        zipcode = faker.zipcode()
        assert isinstance(zipcode, str)
        assert re.fullmatch('\\d{3}-\\d{4}', zipcode)
def test_zipcode(self, faker, num_samples):
    for _ in range(num_samples):
        zipcode = faker.zipcode()
        assert isinstance(zipcode, str)
        assert re.fullmatch('\\d{3}-\\d{4}', zipcode)