From 706671bc5a2a7ec660f61e09d167939a6a7259cc Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 07:38:09 +0000 Subject: [PATCH] Remove assignment of variable to itself --- tests/test_apply_filter.py | 1 - tests/test_separable_filter.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/test_apply_filter.py b/tests/test_apply_filter.py index 3174211f34..62372516a5 100644 --- a/tests/test_apply_filter.py +++ b/tests/test_apply_filter.py @@ -64,7 +64,6 @@ def test_3d(self): ], ] ) - expected = expected # testing shapes k = torch.tensor([[[1, 1, 1], [1, 1, 1], [1, 1, 1]]]) for kernel in (k, k[None], k[None][None]): diff --git a/tests/test_separable_filter.py b/tests/test_separable_filter.py index e152ad2c2b..e6838e2f9b 100644 --- a/tests/test_separable_filter.py +++ b/tests/test_separable_filter.py @@ -64,7 +64,6 @@ def test_3d(self): ], ] ) - expected = expected # testing shapes k = torch.tensor([1, 1, 1]) for kernel in (k, [k] * 3):