Skip to content

Commit 7e3b5c4

Browse files
manskxpre-commit-ci[bot]
authored andcommitted
Remove pytest as a requirement to run app (#15449)
* Remove pytest as a requirment to run app * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (cherry picked from commit 0421d6b)
1 parent 5d638cf commit 7e3b5c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lightning_app/testing/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from queue import Empty
44
from typing import List, Optional, Tuple
55

6-
import pytest
76
from packaging.version import Version
87

98
from lightning_app import LightningFlow, LightningWork
@@ -64,6 +63,8 @@ def __new__(
6463
cloud: bool = False,
6564
**kwargs,
6665
):
66+
import pytest
67+
6768
"""
6869
Args:
6970
*args: Any :class:`pytest.mark.skipif` arguments.

0 commit comments

Comments
 (0)