Skip to content

Commit 6bfec82

Browse files
committed
Add toplevel docstrings to test files
1 parent c8afba4 commit 6bfec82

File tree

7 files changed

+26
-2
lines changed

7 files changed

+26
-2
lines changed

tests/test_arrays.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Tests for array-related functions in _types submodule.
3+
"""
4+
15
import numpy as np
26

37
from scyjava import is_jarray, jarray, to_python

tests/test_basics.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Tests for key functions across all scyjava submodules.
3+
"""
4+
15
import re
26

37
import pytest

tests/test_convert.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Tests for functions in _convert submodule.
3+
"""
4+
15
import math
26
from os import getcwd
37
from pathlib import Path

tests/test_introspect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
Tests for introspection of java classes (fields and methods), as well
3-
as the GitHub source code URLs. Created on Fri Mar 28 13:58:54 2025
2+
Tests for functions in _introspect submodule.
3+
Created on Fri Mar 28 13:58:54 2025
44
55
@author: ian-coccimiglio
66
"""

tests/test_pandas.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Tests for functions in _pandas submodule.
3+
"""
4+
15
import numpy as np
26
import numpy.testing as npt
37
import pandas as pd

tests/test_types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Tests for functions in _types submodule.
3+
"""
4+
15
from scyjava import jclass, jimport, numeric_bounds, to_java
26
from scyjava.config import Mode, mode
37

tests/test_version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Tests for functions in _versions submodule.
3+
"""
4+
15
from pathlib import Path
26

37
import toml

0 commit comments

Comments
 (0)