bump verrsion to python2.7, fix a too precise test for windows, regen docs

This commit is contained in:
holger krekel
2015-03-26 09:34:10 +01:00
parent c69978fbb0
commit d2a8866bce
25 changed files with 385 additions and 583 deletions

View File

@@ -5,7 +5,7 @@ serialization via the pickle module.
import py
import pytest
pythonlist = ['python2.6', 'python2.7', 'python3.4']
pythonlist = ['python2.6', 'python2.7', 'python3.3']
@pytest.fixture(params=pythonlist)
def python1(request, tmpdir):
picklefile = tmpdir.join("data.pickle")
@@ -26,7 +26,7 @@ class Python:
dumpfile.write(py.code.Source("""
import pickle
f = open(%r, 'wb')
s = pickle.dump(%r, f)
s = pickle.dump(%r, f, protocol=2)
f.close()
""" % (str(self.picklefile), obj)))
py.process.cmdexec("%s %s" %(self.pythonpath, dumpfile))