Skip to content

Commit b159c49

Browse files
authored
Update doc/source/how-to/code/test_pyansys_logging.py
1 parent a618b08 commit b159c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/how-to/code/test_pyansys_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_default_logger():
2121

2222
assert "INFO - - test_pyansys_logging - test_default_logger - Test stdout" in capture.content
2323
# File handlers are not activated.
24-
assert Path.exists(Path.exists(Path(Path.cwd() / "PyProject.log")))
24+
assert (Path.cwd() / "PyProject.log").exists()
2525

2626

2727
def test_level_stdout():

0 commit comments

Comments
 (0)