diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index 73b0228ea8e3b50..1830d0b28688d55 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -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)