Skip to content

Commit 507bd8c

Browse files
authored
[3.7] bpo-36216: Only print test messages when verbose (GH-12291)
1 parent 701af60 commit 507bd8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Lib/test/test_urlparse.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,8 @@ def test_urlsplit_normalization(self):
644644
for scheme in [u"http", u"https", u"ftp"]:
645645
for c in denorm_chars:
646646
url = u"{}://netloc{}false.netloc/path".format(scheme, c)
647-
print "Checking %r" % url
647+
if test_support.verbose:
648+
print "Checking %r" % url
648649
with self.assertRaises(ValueError):
649650
urlparse.urlsplit(url)
650651

0 commit comments

Comments
 (0)