safer
safer copied to clipboard
🧷 A safer writer 🧷
The context manager I'm using for write: with sopen(self.fitbitjsonfn, mode='wt', delete_failures=True) as jfile: jdump(self.fitbitjson, jfile) Error: FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\edlip\\Documents\\code\\vsc_ws\\fitbit_charge\\src\\main\\resources\\base\\json\\tmpcwbtnzjz' ->...
This is in line with #8 I'm working on getting the test cases to pass for Windows. Upon installation, 6 of the 70 existing tests were failing. Here's a short...