Merge pull request #4409 from blueyed/str

Add Testdir.__str__ to return str(self.tmpdir)
This commit is contained in:
Daniel Hahler
2018-11-18 12:52:31 +01:00
committed by GitHub

View File

@@ -518,6 +518,9 @@ class Testdir(object):
def __repr__(self):
return "<Testdir %r>" % (self.tmpdir,)
def __str__(self):
return str(self.tmpdir)
def finalize(self):
"""Clean up global state artifacts.