I'm sorry I didn't read the original more closely.  This test fails, because it passes an unwanted extra argument to the 'create_file' *method* of the FileSafeDataManager instance (which expects the tempdir to be passed to its constructor);  we already had tests for that behavior.

The new argument is for the 'repoze.filesafe.create_file' convenience function, which (until now) has been only a thin wrapper around the method.  We need to test that we can pass the 'path' argument to that function, and that it creates the FDSM instance with the passed value.

I will update your test to test the API function.