Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Dec 28, 2024
1 parent fc611ed commit 2e0dfb3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions test/python/testapi/testencoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def testImages(self):

def testInvalidInputs(self):
"""
Tests invalid parameter inputs
Test invalid parameter inputs
"""

response = self.client.post("addimage", data={"uid": [0, 1]}, files={"data": b"123"})
Expand All @@ -98,7 +98,7 @@ def testInvalidInputs(self):

def testInvalidJSON(self):
"""
Tests that invalid JSON raises an exception
Test that invalid JSON raises an exception
"""

with self.assertRaises(TypeError):
Expand Down Expand Up @@ -149,7 +149,7 @@ def testObjects(self):

def testReadOnly(self):
"""
Tests read only indexes
Test read only indexes
"""

# Recreate model with standard object encoding
Expand Down
2 changes: 1 addition & 1 deletion test/python/testdatabase/testrdbms.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def testMultiSave(self):

def testNoIndex(self):
"""
Tests an embeddings instance with no available indexes
Test an embeddings instance with no available indexes
"""

# Disable top-level indexing
Expand Down
2 changes: 1 addition & 1 deletion test/python/testmodels/testmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def testDeviceid(self, cuda):

def testDevice(self):
"""
Tests the device method
Test the device method
"""

# pylint: disable=E1101
Expand Down
2 changes: 1 addition & 1 deletion test/python/testmodels/testpooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def testLength(self):

def testMean(self):
"""
Tests mean pooling
Test mean pooling
"""

# Test mean pooling
Expand Down
2 changes: 1 addition & 1 deletion test/python/testscoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def copy(self, config):
@patch("sys.byteorder", "big")
def settings(self, config):
"""
Tests various settings.
Test various settings.
Args:
config: scoring config
Expand Down

0 comments on commit 2e0dfb3

Please sign in to comment.