Commit 507bd8cd authored by Steve Dower's avatar Steve Dower Committed by GitHub

[3.7] bpo-36216: Only print test messages when verbose (GH-12291)

parent 701af605
......@@ -644,6 +644,7 @@ class UrlParseTestCase(unittest.TestCase):
for scheme in [u"http", u"https", u"ftp"]:
for c in denorm_chars:
url = u"{}://netloc{}false.netloc/path".format(scheme, c)
if test_support.verbose:
print "Checking %r" % url
with self.assertRaises(ValueError):
urlparse.urlsplit(url)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment