Home | History | Annotate | Download | only in test

Lines Matching refs:python

5 # previous version of Python by bouncing pickled objects through Python 2.4
6 # and Python 2.5 running this file.
22 # "provides" a pickletester module for older versions of Python that may be
60 """Check whether the given name is a valid Python binary and has
66 name: short string name of a Python binary such as "python2.4".
79 python = None
83 self.assertTrue(self.python)
87 if not have_python_version(self.python):
88 self.skipTest('%s not available' % self.python)
90 def send_to_worker(self, python, obj, proto):
91 """Bounce a pickled object through another version of Python.
97 python: the name of the Python binary to start.
110 worker = subprocess.Popen([python, target, "worker"],
120 return self.send_to_worker(self.python, arg, proto)
163 # Python 2.5 has no unittest.skipUnless
181 # Test backwards compatibility with Python 2.4.
185 python = "python2.4"
188 # Disable these tests for Python 2.4. Making them pass would require
199 # Test backwards compatibility with Python 2.5.
203 python = "python2.5"
212 # Test backwards compatibility with Python 2.6.
216 python = "python2.6"
228 python = "python2.7"