This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch cleanup_warnings
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
The following commit(s) were added to refs/heads/cleanup_warnings by this push:
new df702cc fixed typos
df702cc is described below
commit df702ccb83c486b83b9766d98a7b8ddcc9fab3a5
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Tue Apr 6 15:23:28 2021 -0700
fixed typos
---
python/tests/hll_test.py | 2 +-
python/tests/vo_test.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/python/tests/hll_test.py b/python/tests/hll_test.py
index a7c085d..9573626 100644
--- a/python/tests/hll_test.py
+++ b/python/tests/hll_test.py
@@ -58,7 +58,7 @@ class HllTest(unittest.TestCase):
self.assertEqual(len(sk_bytes),
result.get_compact_serialization_bytes())
new_hll = hll_sketch.deserialize(sk_bytes)
- # the sketch can self-report its configuation and status
+ # the sketch can self-report its configuration and status
self.assertEqual(new_hll.lg_config_k, k)
self.assertEqual(new_hll.tgt_type, tgt_hll_type.HLL_4)
self.assertFalse(new_hll.is_empty())
diff --git a/python/tests/vo_test.py b/python/tests/vo_test.py
index f30e45d..1cc3e3a 100644
--- a/python/tests/vo_test.py
+++ b/python/tests/vo_test.py
@@ -46,7 +46,7 @@ class VoTest(unittest.TestCase):
self.assertEqual(len(items), k)
# we can also apply a predicate to the sketch to get an estimate
- # (with optimially minimal variance) of the subset sum of items
+ # (with optimally minimal variance) of the subset sum of items
# matching that predicate among the entire population
# we'll use a lambda here, but any function operating on a single
@@ -89,11 +89,11 @@ class VoTest(unittest.TestCase):
# the union and a sketch.
print(union)
- # if we want to print the list of itmes, there must be a
+ # if we want to print the list of items, there must be a
# __str__() method for each item (which need not be the same
# type; they're all generic python objects when used from
# python), otherwise you may trigger an exception.
- # to_string() is provided as a convenince to avoid direct
+ # to_string() is provided as a convenience to avoid direct
# calls to __str__() with parameters.
print(result.to_string(True))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]