Moving test file into test directory.

This commit is contained in:
Roland 2024-05-31 23:59:50 -06:00
parent 0fbbd36297
commit a879e43c73
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -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)