Skip to content

Instantly share code, notes, and snippets.

@ensonic
Created August 12, 2017 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ensonic/77a6e2e2363fae7dca16f49d2752cab8 to your computer and use it in GitHub Desktop.
Save ensonic/77a6e2e2363fae7dca16f49d2752cab8 to your computer and use it in GitHub Desktop.
ERROR: test_FilesAreTheSame (__main__.TestUpdateFileIfChanged)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
return func(*args, **keywargs)
File "./common.py", line 53, in test_FilesAreTheSame
res = common.UpdateFileIfChanged('/old', '/new', False)
File "/home/ensonic/projects/gnome/gtk-doc.py3/gtkdoc/common.py", line 91, in UpdateFileIfChanged
os.rename(new_file, old_file)
FileNotFoundError: [Errno 2] No such file or directory: '/new' -> '/old'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment