Skip to content

Commit 5e791b8

Browse files
Use HyperlinkTestCase for out-of-range port tests
1 parent 846bc86 commit 5e791b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/hyperlink/test/test_url.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ def test_idna_corners(self):
14951495
)
14961496

14971497

1498-
class OutOfRangePortTests(object):
1498+
class OutOfRangePortTests(HyperlinkTestCase):
14991499
def test_from_text_rejects_out_of_range_port(self):
15001500
from hyperlink import URL, URLParseError
15011501
for bad in ("http://ex.com:-1", "http://ex.com:65536", "http://ex.com:99999"):

0 commit comments

Comments
 (0)