(path)
| 288 | """.encode('utf-8')] |
| 289 | |
| 290 | def open_file(path): |
| 291 | dirname = os.path.dirname(path) |
| 292 | try: |
| 293 | os.makedirs(dirname) |
| 294 | except OSError as e: |
| 295 | if e.errno != errno.EEXIST: |
| 296 | raise |
| 297 | return open(path, 'wb') |
| 298 | |
| 299 | |
| 300 | def create_package(test_dir, source): |
no test coverage detected