Skip to content

Commit 19c30f7

Browse files
committed
remove problematic unit test
1 parent c109029 commit 19c30f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/test_pixelunshuffle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ def test_inverse_operation(self):
4646
unshuffled = pixelunshuffle(shuffled, spatial_dims=3, scale_factor=2)
4747
torch.testing.assert_close(x, unshuffled)
4848

49+
4950
if __name__ == "__main__":
5051
unittest.main()

tests/test_restormer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class TestRestormer(unittest.TestCase):
123123
@skipUnless(has_einops, "Requires einops")
124124
@parameterized.expand(TEST_CASES_RESTORMER)
125125
def test_shape(self, input_param, input_shape, expected_shape):
126-
if input_param.get('flash_attention', False) and not torch.cuda.is_available():
126+
if input_param.get("flash_attention", False) and not torch.cuda.is_available():
127127
self.skipTest("Flash attention requires CUDA")
128128
net = Restormer(**input_param)
129129
with eval_mode(net):

0 commit comments

Comments
 (0)