Merge pull request #2059 from ThomasWaldmann/fix-xattr-test-race

fix xattr test race condition, fixes #2047
This commit is contained in:
TW 2017-01-15 00:12:20 +01:00 committed by GitHub
commit 52c27846ef

View file

@ -11,7 +11,7 @@ class XattrTestCase(BaseTestCase):
def setUp(self):
self.tmpfile = tempfile.NamedTemporaryFile()
self.symlink = os.path.join(os.path.dirname(self.tmpfile.name), 'symlink')
self.symlink = self.tmpfile.name + '.symlink'
os.symlink(self.tmpfile.name, self.symlink)
def tearDown(self):