delete empty string
This commit is contained in:
parent
8230149e52
commit
4121e11193
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ class TestHelpers:
|
||||||
os.remove("tests/static/test.txt")
|
os.remove("tests/static/test.txt")
|
||||||
|
|
||||||
with open("tests/static/test.txt", "w", encoding=encoding) as f:
|
with open("tests/static/test.txt", "w", encoding=encoding) as f:
|
||||||
f.write("" + "Hello World!")
|
f.write("Hello World!")
|
||||||
|
|
||||||
with app.open_resource("static/test.txt", mode="r", encoding=encoding) as f:
|
with app.open_resource("static/test.txt", mode="r", encoding=encoding) as f:
|
||||||
assert "Hello World!" in f.read()
|
assert "Hello World!" in f.read()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue