Clarify error message.
Some checks failed
build / test (push) Failing after 1m50s
build / docs (push) Has been skipped

This commit is contained in:
Dan Helfman 2024-11-24 16:18:29 -08:00
parent 84f611ae4f
commit 5e618154d0

View File

@ -104,7 +104,7 @@ class Runtime_directory:
base_directory = os.environ.get('TMPDIR') or os.environ.get('TEMP') or '/tmp'
if not base_directory.startswith(os.path.sep):
raise ValueError('The runtime directory must be an absolute path')
raise ValueError('The temporary directory must be an absolute path')
os.makedirs(base_directory, mode=0o700, exist_ok=True)
self.temporary_directory = tempfile.TemporaryDirectory(