Skip to content

Commit a3f73f0

Browse files
Cleaned up working code that passes CI check for tv-casting test
1 parent 6de6291 commit a3f73f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/tests/run_tv_casting_test.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,10 @@ def test_discovery_fn(tv_app_rel_path, tv_casting_app_rel_path):
190190
with LogFileManager(linux_tv_app_log_path, 'w') as linux_tv_app_log_file:
191191
tv_app_abs_path = os.path.abspath(tv_app_rel_path)
192192

193+
cmd = []
193194
if sys.platform == 'darwin' or sys.platform == 'linux':
194195
# Try to avoid any stdout buffering in our tests.
195196
cmd = ['stdbuf', '-o0', '-i0']
196-
else:
197-
cmd = []
198197

199198
# Run the Linux tv-app subprocess.
200199
with ProcessManager(cmd + [tv_app_abs_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE) as tv_app_process:

0 commit comments

Comments
 (0)