Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 35b5250

Browse files
committed
Remove useless function
1 parent 2070825 commit 35b5250

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/util.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import asyncio
22
import os
33
import sys
4-
from collections.abc import Generator
54
from pathlib import Path
65

76
os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
@@ -13,12 +12,6 @@
1312
output_path_betterproto_pydantic = root_path.joinpath("output_betterproto_pydantic")
1413

1514

16-
def get_files(path, suffix: str) -> Generator[str, None, None]:
17-
for r, dirs, files in os.walk(path):
18-
for filename in [f for f in files if f.endswith(suffix)]:
19-
yield os.path.join(r, filename)
20-
21-
2215
def get_directories(path):
2316
for root, directories, files in os.walk(path):
2417
yield from directories

0 commit comments

Comments
 (0)