[pypy-svn] r69171 - in pypy/branch/py11/pypy: doc/statistic module/bz2/test

hpk at codespeak.net hpk at codespeak.net
Wed Nov 11 15:22:20 CET 2009


Author: hpk
Date: Wed Nov 11 15:22:19 2009
New Revision: 69171

Modified:
   pypy/branch/py11/pypy/doc/statistic/confrest.py
   pypy/branch/py11/pypy/module/bz2/test/test_bz2_file.py
Log:
fix two more little issues discovered through the test run


Modified: pypy/branch/py11/pypy/doc/statistic/confrest.py
==============================================================================
--- pypy/branch/py11/pypy/doc/statistic/confrest.py	(original)
+++ pypy/branch/py11/pypy/doc/statistic/confrest.py	Wed Nov 11 15:22:19 2009
@@ -1,5 +1,5 @@
 import py
-from py.impl.doc.confrest import *
+from pypy.doc.confrest import *
 
 class PyPyPage(Page): 
     def fill_menubar(self):

Modified: pypy/branch/py11/pypy/module/bz2/test/test_bz2_file.py
==============================================================================
--- pypy/branch/py11/pypy/module/bz2/test/test_bz2_file.py	(original)
+++ pypy/branch/py11/pypy/module/bz2/test/test_bz2_file.py	Wed Nov 11 15:22:19 2009
@@ -20,7 +20,7 @@
     def create_broken_temp_file():
         f = py.test.ensuretemp("bz2").join("foo")
         data = DATA[:100]
-        f.write(data)
+        f.write(data, 'wb')
     
     def decompress(data):
         import popen2



More information about the Pypy-commit mailing list