From cf73187c7c13a7d913a8d069849f37b91157f497 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sun, 23 May 2021 10:06:07 -0700 Subject: [PATCH] remove or comment out some prints in tests --- tests/test_processing_order.py | 2 -- tests/test_rdataset.py | 1 - tests/test_transaction.py | 5 ++--- tests/test_xfr.py | 1 - tests/util.py | 4 ++-- 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/test_processing_order.py b/tests/test_processing_order.py index 45a90cff..4be695a0 100644 --- a/tests/test_processing_order.py +++ b/tests/test_processing_order.py @@ -80,14 +80,12 @@ def test_processing_order_empty(): def test_processing_singleton_priority(): rds = dns.rdataset.from_text('in', 'mx', 300, '10 a') po = rds.processing_order() - print(po) assert po == [rds[0]] def test_processing_singleton_weighted(): rds = dns.rdataset.from_text('in', 'srv', 300, '1 10 1234 a') po = rds.processing_order() - print(po) assert po == [rds[0]] diff --git a/tests/test_rdataset.py b/tests/test_rdataset.py index 4710e2a9..69ec6ded 100644 --- a/tests/test_rdataset.py +++ b/tests/test_rdataset.py @@ -117,7 +117,6 @@ class RdatasetTestCase(unittest.TestCase): '2143 foo Ym9ndXM=') # Using startswith as I don't care about the repr of the rdata, # just the covers - print(repr(rds)) self.assertTrue(repr(rds).startswith( '