Closed PieterjanMontens closed 5 years ago
In a testing environment, tempfile.mkstemp generates temporary empty files, automatically cleaned after test execution.
tempfile.mkstemp
This modification allow pickledb to use these files, without hacks like writing random JSON in the generated file.
In a testing environment,
tempfile.mkstemp
generates temporary empty files, automatically cleaned after test execution.This modification allow pickledb to use these files, without hacks like writing random JSON in the generated file.