Skip to content

Commit 1272b91

Browse files
authored
Merge pull request #1723 from palaviv/missing-assert
Add missing assert in stdlib_os snippet
2 parents ee354ba + 19ce0c6 commit 1272b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/snippets/stdlib_os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
265265
with TestWithTempCurrentDir():
266266
os.chdir(tmpdir)
267267
assert os.getcwd() == os.path.realpath(tmpdir)
268-
os.path.exists(FILE_NAME)
268+
assert os.path.exists(FILE_NAME)
269269

270270
# supports
271271
assert isinstance(os.supports_fd, set)

0 commit comments

Comments
 (0)