From a879e43c73ef5bdffdef40c07028b356e9d2a53a Mon Sep 17 00:00:00 2001 From: Roland Date: Fri, 31 May 2024 23:59:50 -0600 Subject: [PATCH] Moving test file into test directory. --- wrolpi/files/test/test_lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrolpi/files/test/test_lib.py b/wrolpi/files/test/test_lib.py index 61263d93..27301c02 100644 --- a/wrolpi/files/test/test_lib.py +++ b/wrolpi/files/test/test_lib.py @@ -1070,5 +1070,5 @@ def test_replace_file(test_directory): with pytest.raises(FileNotFoundError): lib.replace_file('does not exist', 'foo') - # Non-existent file can be overwritten. - lib.replace_file('does not exist', 'foo', missing_ok=True) + # Non-existent file can be created. + lib.replace_file(test_directory / 'will now exist', 'foo', missing_ok=True)