Commit 0eef4307 authored by unknown's avatar unknown

Fixed spurious failues due to differences in file-exists errors on windows and nix

parent ef7ea0c7
...@@ -462,7 +462,7 @@ leave previously created paths in place: ...@@ -462,7 +462,7 @@ leave previously created paths in place:
recipe being used: recipe being used:
Traceback (most recent call last): Traceback (most recent call last):
... ...
OSError: [Errno 17] File exists: '/sample-buildout/bin' OSError: ... exists...
We meant to create a directory bins, but typed bin. Now foo was We meant to create a directory bins, but typed bin. Now foo was
left behind. left behind.
...@@ -494,7 +494,7 @@ If we fix the typo: ...@@ -494,7 +494,7 @@ If we fix the typo:
recipe being used: recipe being used:
Traceback (most recent call last): Traceback (most recent call last):
... ...
OSError: [Errno 17] File exists: '/sample-buildout/foo' OSError: ... exists...
Now they fail because foo exists, because it was left behind. Now they fail because foo exists, because it was left behind.
...@@ -571,7 +571,7 @@ When we rerun the buildout: ...@@ -571,7 +571,7 @@ When we rerun the buildout:
recipe being used: recipe being used:
Traceback (most recent call last): Traceback (most recent call last):
... ...
OSError: [Errno 17] File exists: '/sample-buildout/bin' OSError: ... exists...
.. Wait for the file to really disappear. My linux is weird. .. Wait for the file to really disappear. My linux is weird.
...@@ -652,7 +652,7 @@ directories will be created: ...@@ -652,7 +652,7 @@ directories will be created:
recipe being used: recipe being used:
Traceback (most recent call last): Traceback (most recent call last):
... ...
OSError: [Errno 17] File exists: '/sample-buildout/bin' OSError: ... exists...
>>> os.path.exists('foo') >>> os.path.exists('foo')
False False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment