[pypy-svn] pypy commit 3c8e410b68d9: fix test

Bitbucket commits-noreply at bitbucket.org
Tue Dec 14 20:37:58 CET 2010


# HG changeset patch -- Bitbucket.org
# Project pypy
# URL http://bitbucket.org/pypy/pypy/overview
# User Maciej Fijalkowski <fijall at gmail.com>
# Date 1292355464 -7200
# Node ID 3c8e410b68d989fdbf4fd3b4568d5357bd220c30
# Parent  dc0455b76944e41e0a9fec2f3436d69fb2ede5db
fix test

--- a/pypy/tool/test/test_version.py
+++ b/pypy/tool/test/test_version.py
@@ -1,5 +1,7 @@
 
+import py
 from pypy.tool.version import get_mercurial_info
 
 def test_get_mercurial_info():
-    assert get_mercurial_info('completely broken mercurial')
+    assert get_mercurial_info(py.path.local.sysfind(
+        'completely broken mercurial'))



More information about the Pypy-commit mailing list