Skip to content

Commit db0ffb4

Browse files
committed
pragma no cover
1 parent df2ed80 commit db0ffb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
dtypes.remove(torch.half)
66

77
devices = [torch.device('cpu')]
8-
if torch.cuda.is_available():
8+
if torch.cuda.is_available(): # pragma: no cover
99
devices += [torch.device('cuda:{}'.format(torch.cuda.current_device()))]
1010

1111

0 commit comments

Comments
 (0)