Merge pull request #4409 from blueyed/str
Add Testdir.__str__ to return str(self.tmpdir)
This commit is contained in:
commit
cdbe2299ec
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue