mirror of https://github.com/explosion/spaCy.git
test_find_available_port: use port 5001 (#13255)
macOS now uses port 5000 for the AirPlay receiver functionality, so this test will always fail on a macOS desktop (unless AirPlay receiver functionality is disabled like in CI).
This commit is contained in:
parent
128197a5fc
commit
afac7fb650
|
@ -486,8 +486,8 @@ def test_to_ternary_int():
|
||||||
|
|
||||||
def test_find_available_port():
|
def test_find_available_port():
|
||||||
host = "0.0.0.0"
|
host = "0.0.0.0"
|
||||||
port = 5000
|
port = 5001
|
||||||
assert find_available_port(port, host) == port, "Port 5000 isn't free"
|
assert find_available_port(port, host) == port, "Port 5001 isn't free"
|
||||||
|
|
||||||
from wsgiref.simple_server import demo_app, make_server
|
from wsgiref.simple_server import demo_app, make_server
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue