Skip to content

Commit a4cb4fe

Browse files
committed
refactor: rename test_data to _test_data and update related variables for clarity
1 parent 9ec0930 commit a4cb4fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tabled/tests/util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ def local_text(*path):
1212
return local_posix(*path).read_text()
1313

1414

15-
test_data_path = ("tests", "data")
16-
test_data_posix = local_posix(*test_data_path)
15+
_test_data_path = ("tests", "data")
16+
_test_data_posix = local_posix(*_test_data_path)
1717

1818

19-
def test_data(name, text=False):
20-
name_posix = test_data_posix.joinpath(name)
19+
def _test_data(name, text=False):
20+
name_posix = _test_data_posix.joinpath(name)
2121
if not text:
2222
return name_posix.read_bytes()
2323
else:

0 commit comments

Comments
 (0)