mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
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():
|
||||
host = "0.0.0.0"
|
||||
port = 5000
|
||||
assert find_available_port(port, host) == port, "Port 5000 isn't free"
|
||||
port = 5001
|
||||
assert find_available_port(port, host) == port, "Port 5001 isn't free"
|
||||
|
||||
from wsgiref.simple_server import demo_app, make_server
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user