Skip to content

Commit

Permalink
skip broken skip condition
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaehashi committed Jun 8, 2021
1 parent f53e574 commit eb6593e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/chainer_tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_valid_case_combination(self):
self.assertFalse(chainer.should_use_cudnn('==always'))
self.assertFalse(chainer.should_use_cudnn('>=auto'))

@unittest.skip(not cuda.cudnn_enabled)
@unittest.skipIf(cuda.cudnn_enabled, 'cudnn unavailable')
def test_no_cudnn_available(self):
with chainer.using_config('use_cudnn', 'always'):
self.assertFalse(chainer.should_use_cudnn('==always'))
Expand Down

0 comments on commit eb6593e

Please sign in to comment.