fix lint and formatting violations in tests and source
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import struct
|
||||
|
||||
from tuimble.audio import FRAME_SIZE, SAMPLE_RATE, AudioPipeline, _apply_gain
|
||||
from tuimble.audio import FRAME_SIZE, AudioPipeline, _apply_gain
|
||||
|
||||
|
||||
def test_default_construction():
|
||||
@@ -14,8 +14,9 @@ def test_default_construction():
|
||||
|
||||
|
||||
def test_custom_construction():
|
||||
ap = AudioPipeline(sample_rate=24000, frame_size=480,
|
||||
input_device=1, output_device=2)
|
||||
ap = AudioPipeline(
|
||||
sample_rate=24000, frame_size=480, input_device=1, output_device=2
|
||||
)
|
||||
# Verify via public behavior: get_capture_frame returns None
|
||||
assert ap.get_capture_frame() is None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user