From 672c21ff82b8b12d05d19ddfed20de73dfbff7cd Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Fri, 8 Apr 2022 13:55:06 -0700 Subject: [PATCH] Make black happy --- tests/unit/test_editable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_editable.py b/tests/unit/test_editable.py index 6d711e25..6947b7d2 100644 --- a/tests/unit/test_editable.py +++ b/tests/unit/test_editable.py @@ -48,12 +48,12 @@ def test_editable_by_host(): ["sh", "-c", "ls testfile????????.txt"] ) assert status == 0 - assert re.match(br"^testfile\w{8}\.txt\n$", output) is not None + assert re.match(rb"^testfile\w{8}\.txt\n$", output) is not None # After exiting the with block the file should stop existing # in the container as well as locally status, output = container._c.exec_run(["sh", "-c", "ls testfile????????.txt"]) assert status == 2 - assert re.match(br"^testfile\w{8}\.txt\n$", output) is None + assert re.match(rb"^testfile\w{8}\.txt\n$", output) is None finally: # stop the container, we don't care how it stops or