Make black happy

pull/1150/head
YuviPanda 2022-04-08 13:55:06 -07:00
rodzic 34a7e33148
commit 672c21ff82
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -48,12 +48,12 @@ def test_editable_by_host():
["sh", "-c", "ls testfile????????.txt"] ["sh", "-c", "ls testfile????????.txt"]
) )
assert status == 0 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 # After exiting the with block the file should stop existing
# in the container as well as locally # in the container as well as locally
status, output = container._c.exec_run(["sh", "-c", "ls testfile????????.txt"]) status, output = container._c.exec_run(["sh", "-c", "ls testfile????????.txt"])
assert status == 2 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: finally:
# stop the container, we don't care how it stops or # stop the container, we don't care how it stops or