Skip to content

Commit 6bff2a8

Browse files
authored
remove test
1 parent 107acd4 commit 6bff2a8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/tests_fabric/test_cli.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -179,18 +179,6 @@ def test_run_through_fabric_entry_point():
179179
assert message in result.stdout or message in result.stderr
180180

181181

182-
@pytest.mark.skipif("lightning.fabric" == "lightning_fabric", reason="standalone package")
183-
def test_run_through_lightning_entry_point():
184-
result = subprocess.run("lightning run model --help", capture_output=True, text=True, shell=True)
185-
186-
deprecation_message = (
187-
"`lightning run model` is deprecated and will be removed in future versions. Please call `fabric run` instead"
188-
)
189-
message = "Usage: lightning run [OPTIONS] SCRIPT [SCRIPT_ARGS]"
190-
assert deprecation_message in result.stdout
191-
assert message in result.stdout or message in result.stderr
192-
193-
194182
@mock.patch("lightning.fabric.cli._process_cli_args")
195183
@mock.patch("lightning.fabric.cli._load_distributed_checkpoint")
196184
@mock.patch("lightning.fabric.cli.torch.save")

0 commit comments

Comments
 (0)