Skip to content

Commit 6b50562

Browse files
committed
Reformat according to code formatter checks
1 parent 259ed0f commit 6b50562

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_subtract_itemsd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_tensor_values(self):
2828
input_data = {
2929
"img1": torch.tensor([[0, 1], [1, 2]], device=device),
3030
"img2": torch.tensor([[0, 1], [1, 2]], device=device),
31-
"name" : "key_name"
31+
"name": "key_name",
3232
}
3333
result = SubtractItemsd(keys=["img1", "img2"], name="sub_img")(input_data)
3434
self.assertIn("sub_img", result)
@@ -58,5 +58,6 @@ def test_numpy_values(self):
5858
np.testing.assert_allclose(result["img1"], np.array([[0, 1], [1, 2]]))
5959
np.testing.assert_allclose(result["sub_img"], np.array([[1, 1], [1, 1]]))
6060

61+
6162
if __name__ == "__main__":
6263
unittest.main()

0 commit comments

Comments
 (0)