Skip to content

Commit 0714933

Browse files
committed
clean up
1 parent 1c0610d commit 0714933

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/accelerators/test_cpu.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
from pytorch_lightning.utilities.exceptions import MisconfigurationException
1010

1111

12-
13-
14-
1512
def test_invalid_root_device():
1613
""" Test that CPU Accelerator has root device on CPU. """
1714
trainer = Mock()

tests/accelerators/test_gpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import torch
88

99
from pytorch_lightning.accelerators import GPUAccelerator
10-
from pytorch_lightning.plugins import SingleDevicePlugin, PrecisionPlugin
10+
from pytorch_lightning.plugins import PrecisionPlugin, SingleDevicePlugin
1111
from pytorch_lightning.utilities.exceptions import MisconfigurationException
1212

1313

0 commit comments

Comments
 (0)