Skip to content

Commit 6f70ad2

Browse files
committed
[test_OMCPath] fix error
error: "unlink" of "OMCPathReal" does not return a value (it only ever returns None) [func-returns-value]
1 parent 6629673 commit 6f70ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_OMCPath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ def _run_OMCPath_checks(om: OMPython.OMCSessionZMQ):
7474
assert p3.read_text() == "test"
7575
assert p3.is_file()
7676
assert p3.parent.is_dir()
77-
assert p3.unlink() is None
77+
p3.unlink()
7878
assert p3.is_file() is False

0 commit comments

Comments
 (0)