Skip to content

Commit 3871759

Browse files
committed
Improve variable name
1 parent 5d57843 commit 3871759

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_manually.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ def test_generating_barcodes(
5959
) -> None:
6060
os.makedirs(TESTPATH, exist_ok=True)
6161

62-
objects = gather_image_elements_into_html
62+
image_elements = gather_image_elements_into_html
6363

6464
def append(x, y) -> None:
65-
objects.append(OBJECTS.format(filename=x, name=y))
65+
image_elements.append(OBJECTS.format(filename=x, name=y))
6666

6767
def append_img(x, y) -> None:
68-
objects.append(IMAGES.format(filename=x, name=y))
68+
image_elements.append(IMAGES.format(filename=x, name=y))
6969

7070
options = {}
7171
bcode = get_barcode(codename, code)
@@ -87,7 +87,7 @@ def append_img(x, y) -> None:
8787
filename = bcode.save(os.path.join(TESTPATH, codename), options=opts)
8888
append_img(os.path.basename(filename), bcode.name)
8989
else:
90-
objects.append(NO_PIL)
90+
image_elements.append(NO_PIL)
9191

9292

9393
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)