[2.7] bpo-36216: Only print test messages when verbose (GH-12291) by zooba · Pull Request #12291 · python/cpython
Expand Up
@@ -644,7 +644,8 @@ def test_urlsplit_normalization(self):
for scheme in [u"http", u"https", u"ftp"]:
for c in denorm_chars:
url = u"{}://netloc{}false.netloc/path".format(scheme, c)
print "Checking %r" % url
if test_support.verbose:
print "Checking %r" % url
with self.assertRaises(ValueError):
urlparse.urlsplit(url)
Expand Down
Expand Down