def test_gou(self, faker, num_samples):
    for _ in range(num_samples):
        gou = faker.gou()
        assert isinstance(gou, str)
        match = re.fullmatch('(?P<gou_number>\\d{1,2})号', gou)
        assert match
        assert (1 <= int(match.group('gou_number')) <= 20)
def test_gou(self, faker, num_samples):
    for _ in range(num_samples):
        gou = faker.gou()
        assert isinstance(gou, str)
        match = re.fullmatch('(?P<gou_number>\\d{1,2})号', gou)
        assert match
        assert (1 <= int(match.group('gou_number')) <= 20)