You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2020/02/12 08:24:08 UTC

[couchdb] 03/03: Remove prints

This is an automated email from the ASF dual-hosted git repository.

jaydoane pushed a commit to branch test-improvements
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 2982dd16ca8d59f0a2d1dbf2d2bc8944b33f6d8e
Author: Jay Doane <ja...@apache.org>
AuthorDate: Wed Feb 12 00:23:35 2020 -0800

    Remove prints
---
 src/mango/test/01-index-crud-test.py      | 1 -
 src/mango/test/15-execution-stats-test.py | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/mango/test/01-index-crud-test.py b/src/mango/test/01-index-crud-test.py
index 3434c66..dd9ab1a 100644
--- a/src/mango/test/01-index-crud-test.py
+++ b/src/mango/test/01-index-crud-test.py
@@ -91,7 +91,6 @@ class IndexCrudTests(mango.DbPerClass):
         for idx in self.db.list_indexes():
             if idx["name"] != "idx_01":
                 continue
-            print(idx)
             self.assertEqual(idx["def"]["fields"], [{"foo": "asc"}, {"bar": "asc"}])
             return
         raise AssertionError("index not created")
diff --git a/src/mango/test/15-execution-stats-test.py b/src/mango/test/15-execution-stats-test.py
index 90430d8..0ac8a3d 100644
--- a/src/mango/test/15-execution-stats-test.py
+++ b/src/mango/test/15-execution-stats-test.py
@@ -36,7 +36,6 @@ class ExecutionStatsTests(mango.UserDocsTests):
         resp = self.db.find(
             {"age": {"$lt": 35}}, return_raw=True, r=3, executionStats=True
         )
-        print(resp)
         self.assertEqual(len(resp["docs"]), 3)
         self.assertEqual(resp["execution_stats"]["total_keys_examined"], 0)
         self.assertEqual(resp["execution_stats"]["total_docs_examined"], 3)