Skip to content

Commit

Permalink
testing: remove unused imports in vcttesting/util.py (Bug 1757984) …
Browse files Browse the repository at this point in the history
…r=mhentges

Depends on D140415

Differential Revision: https://phabricator.services.mozilla.com/D140416

--HG--
extra : moz-landing-system : lando
  • Loading branch information
cgsheeh committed Mar 14, 2022
1 parent 7074a0a commit c801cf5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions testing/vcttesting/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
import subprocess
import time

import concurrent.futures as futures
import requests


HERE = os.path.abspath(os.path.dirname(__file__))
ROOT = os.path.normpath(os.path.join(HERE, '..', '..'))
Expand All @@ -23,7 +20,7 @@ def get_available_port():
"""Obtain a port number available for binding."""
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('', 0))
host, port = s.getsockname()
_host, port = s.getsockname()
s.close()

return port
Expand Down

0 comments on commit c801cf5

Please sign in to comment.