diff --git a/monkey/monkey_island/cc/test_island_logger.py b/monkey/monkey_island/cc/test_island_logger.py index 050d5c7c5..ca7dfd704 100644 --- a/monkey/monkey_island/cc/test_island_logger.py +++ b/monkey/monkey_island/cc/test_island_logger.py @@ -10,7 +10,7 @@ TEST_LOGGER_CONFIG_PATH = os.path.join( def set_home_env(monkeypatch, tmpdir): - monkeypatch.setenv("HOME", tmpdir) + monkeypatch.setenv("HOME", str(tmpdir)) def test_expanduser_filename(monkeypatch, tmpdir):