From: Bob Halley Date: Sun, 23 May 2021 17:06:07 +0000 (-0700) Subject: remove or comment out some prints in tests X-Git-Tag: v2.2.0rc1~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf73187c7c13a7d913a8d069849f37b91157f497;p=thirdparty%2Fdnspython.git remove or comment out some prints in tests --- 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( '