From a1ebe9db7d9ff83b614598ed0049fa4d0092aed8 Mon Sep 17 00:00:00 2001 From: TechyDaniel <117300186+TechyDaniel@users.noreply.github.com> Date: Tue, 12 Dec 2023 10:41:17 +0100 Subject: [PATCH] fix: updated variable name to remove ambiguity --- tests/readyplayerme/meshops/integration/test_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/readyplayerme/meshops/integration/test_integration.py b/tests/readyplayerme/meshops/integration/test_integration.py index 3867a02..892fa07 100644 --- a/tests/readyplayerme/meshops/integration/test_integration.py +++ b/tests/readyplayerme/meshops/integration/test_integration.py @@ -22,5 +22,5 @@ def test_get_diffuse_image(gltf_file_with_diffuse: str | Path, load_local_image: local_mesh = mops.read_mesh(gltf_file_with_diffuse) extracted_image = img.get_diffuse_image(local_mesh) local_image = Image.open(load_local_image) - local_image = np.array((local_image), dtype=np.uint8) - assert np.array_equal(extracted_image, local_image), "Not matching." + local_np_image = np.array((local_image), dtype=np.uint8) + assert np.array_equal(extracted_image, local_np_image), "Not matching."