mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 13:33:02 +01:00
Revert back to time.sleep
Signed-off-by: Han Wang <freddie.wanah@gmail.com>
This commit is contained in:
parent
e2cef11249
commit
f46bbbdb60
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,6 @@
|
|||
"""Tests for BPD's implementation of the MPD protocol.
|
||||
"""
|
||||
|
||||
import asyncio
|
||||
import importlib.util
|
||||
import multiprocessing as mp
|
||||
import os
|
||||
|
|
@ -23,6 +22,7 @@ import socket
|
|||
import sys
|
||||
import tempfile
|
||||
import threading
|
||||
import time
|
||||
import unittest
|
||||
from contextlib import contextmanager
|
||||
|
||||
|
|
@ -549,7 +549,7 @@ class BPDQueryTest(BPDTestHelper):
|
|||
# Manually send a command without reading a response.
|
||||
request = client.serialise_command("idle")
|
||||
client.sock.sendall(request)
|
||||
asyncio.sleep(0.01)
|
||||
time.sleep(0.01)
|
||||
response = client.send_command("noidle")
|
||||
self._assert_ok(response)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue