Skip to content

Commit 6885d0b

Browse files
committed
Use imperative tense in test code docstrings
1 parent 5be0963 commit 6885d0b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/test_basics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
class TestBasics(object):
1010
"""
11-
Tests basic scyjava functions.
11+
Test basic scyjava functions.
1212
"""
1313

1414
def test_jclass(self):
1515
"""
16-
Tests the jclass function.
16+
Test the jclass function.
1717
"""
1818
if mode == Mode.JEP:
1919
pytest.skip("Jep does not support Java class objects!")
@@ -23,7 +23,7 @@ def test_jclass(self):
2323

2424
def test_jimport(self):
2525
"""
26-
Tests the jimport function.
26+
Test the jimport function.
2727
"""
2828
Object = scyjava.jimport("java.lang.Object")
2929
assert Object is not None
@@ -34,7 +34,7 @@ def test_jimport(self):
3434

3535
def test_jinstance(self):
3636
"""
37-
Tests the jinstance function.
37+
Test the jinstance function.
3838
"""
3939
jstr = scyjava.to_java("Hello")
4040
assert scyjava.jinstance(jstr, "java.lang.String")

tests/test_convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
class TestConvert(object):
2828
def testClass(self):
2929
"""
30-
Tests class detection from Java objects.
30+
Test class detection from Java objects.
3131
"""
3232
if mode == Mode.JEP:
3333
pytest.skip("The jclass function does not work yet in Jep mode.")

0 commit comments

Comments
 (0)