We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51937b5 commit 192be35Copy full SHA for 192be35
1 file changed
tests/test_stubgen.py
@@ -5,16 +5,19 @@
5
from unittest.mock import patch
6
7
import jpype
8
+import pytest
9
10
import scyjava
11
from scyjava._stubs import _cli
12
13
if TYPE_CHECKING:
14
from pathlib import Path
15
- import pytest
16
-
17
+@pytest.mark.skipif(
18
+ scyjava.config.mode != scyjava.config.Mode.JPYPE,
19
+ reason="Stubgen not supported in JEP",
20
+)
21
def test_stubgen(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
22
# run the stubgen command as if it was run from the command line
23
monkeypatch.setattr(
0 commit comments