diff --git a/anaconda_project/internal/test/test_streaming_popen.py b/anaconda_project/internal/test/test_streaming_popen.py index 0ad26d67..57e4492f 100644 --- a/anaconda_project/internal/test/test_streaming_popen.py +++ b/anaconda_project/internal/test/test_streaming_popen.py @@ -25,7 +25,7 @@ def detect_linesep(lines): def add_lineseps(lines, sep=None): sep = sep or os.linesep - return list(map(lambda l: l + sep, lines)) + return [line + sep for line in lines] def test_streaming():