[svn r38108] skip this test if we have no .svn dir
--HG-- branch : trunk
This commit is contained in:
parent
1d6a72d936
commit
d614e67fb1
|
@ -88,6 +88,8 @@ def test_getzipdata():
|
|||
s = py.__package__.getzipdata()
|
||||
|
||||
def test_getrev():
|
||||
if not py.path.local(py.__file__).dirpath('.svn').check():
|
||||
py.test.skip("py package is not a svn checkout")
|
||||
d = py.__package__.getrev()
|
||||
svnversion = py.path.local.sysfind('svnversion')
|
||||
if svnversion is None:
|
||||
|
|
Loading…
Reference in New Issue