Skip to content

Commit ab4d2a0

Browse files
committed
update
1 parent 9ec3639 commit ab4d2a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/tests_pytorch/loggers/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def _test_logger_initialization(tmp_path, logger_class):
287287

288288

289289
@mock.patch.dict(os.environ, {})
290-
@mock.patch("lightning.pytorch.loggers.mlflow._get_resolve_tags", Mock())
290+
@mock.patch("pytorch_lightning_enterprise.loggers.mlflow._get_resolve_tags", Mock())
291291
def test_logger_with_prefix_all(mlflow_mock, wandb_mock, comet_mock, neptune_mock, monkeypatch, tmp_path):
292292
"""Test that prefix is added at the beginning of the metric keys."""
293293
prefix = "tmp"

tests/tests_pytorch/models/test_tpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def test_tpu_misconfiguration(devices, tpu_available):
235235

236236

237237
@pytest.mark.skipif(XLAAccelerator.is_available(), reason="test requires missing TPU")
238-
@mock.patch("lightning.fabric.accelerators.xla._using_pjrt", return_value=True)
238+
@mock.patch("pytorch_lightning_enterprise.accelerators.xla._using_pjrt", return_value=True)
239239
def test_exception_when_no_tpu_found(_, xla_available):
240240
"""Test if exception is thrown when xla devices are not available."""
241241
with pytest.raises(MisconfigurationException, match="XLAAccelerator` can not run on your system"):

0 commit comments

Comments
 (0)