Update of /cvsroot/py2exe/py2exe/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28379
Modified Files:
test_pysvn.py
Log Message:
Without supplying a setup_pysvn.py we can't be sure we get the same version number output when running this test under Python and under py2exe (because different svn dlls are found). So just print the major version number (which still tests that we can retrieve the version number).
Index: test_pysvn.py
===================================================================
RCS file: /cvsroot/py2exe/py2exe/test/test_pysvn.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_pysvn.py 17 Apr 2008 18:14:16 -0000 1.1
--- test_pysvn.py 19 May 2008 07:13:41 -0000 1.2
***************
*** 2,4 ****
if __name__ == "__main__":
! print pysvn.version
--- 2,8 ----
if __name__ == "__main__":
! # the py2exe wrapper for this test doesn't pick up the svn
! # lib installed with pysvn so it can report a different
! # version number, so just make sure we can get the version
! # number and that the major version is the same
! print pysvn.version[0]
|