not sure why, it still tries to run python3.2 tests.
Doctest: dhpython.interpreter.Interpreter.cache_file ... FAIL
Doctest: dhpython.interpreter.Interpreter.magic_tag ... FAIL
Doctest: dhpython.interpreter.Interpreter.parse ... ok
Doctest: dhpython.interpreter.Interpreter.sitedir ... ok
Doctest: dhpython.pydist._pl2py ... ok
Doctest: dhpython.pydist._translate ... ok
Doctest: dhpython.tools.clean_egg_name ... ok
Doctest: dhpython.tools.relpath ... ok
Doctest: dhpython.version.Version.__add__ ... ok
Doctest: dhpython.version.Version.__lshift__ ... ok
Doctest: dhpython.version.Version.__repr__ ... ok
Doctest: dhpython.version.Version.__rshift__ ... ok
Doctest: dhpython.version.Version.__str__ ... ok
Doctest: dhpython.version.Version.__sub__ ... ok
Doctest: dhpython.version.VersionRange.__repr__ ... ok
Doctest: dhpython.version.VersionRange.__str__ ... ok
Doctest: dhpython.version.VersionRange._parse_pycentral ... ok
Doctest: dhpython.version.VersionRange.parse ... ok
Doctest: dhpython.version.get_requested_versions ... ok
======================================================================
FAIL: Doctest: dhpython.interpreter.Interpreter.cache_file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.3/doctest.py", line 2154, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
nose.proxy.AssertionError: Failed doctest test for dhpython.interpreter.Interpreter.cache_file
File "/usr/share/dh-python/dhpython/interpreter.py", line 282, in cache_file
----------------------------------------------------------------------
File "/usr/share/dh-python/dhpython/interpreter.py", line 293, in dhpython.interpreter.Interpreter.cache_file
Failed example:
i.cache_file('bar/foo.py', '3.2')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.3/doctest.py", line 1287, in __run compileflags, 1), test.globs)
File "<doctest dhpython.interpreter.Interpreter.cache_file[2]>", line 1, in <module> i.cache_file('bar/foo.py', '3.2')
File "/usr/share/dh-python/dhpython/interpreter.py", line 305, in cache_file (fname[:-3], self.magic_tag(version), last_char))
File "/usr/share/dh-python/dhpython/interpreter.py", line 325, in magic_tag
return self._execute('import imp; print(imp.get_tag())', version)
File "/usr/share/dh-python/dhpython/interpreter.py", line 440, in _execute
raise Exception('{} failed with status code {}'.format(command, output['returncode']))
Exception: python3.2 -c 'import imp; print(imp.get_tag())' failed with status code 127
-------------------- >> begin captured logging << --------------------
dhpython: INFO: cannot initialize 'cmake'
Traceback (most recent call last):
File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in <module>
module.BuildSystem.is_usable()
File "/usr/share/dh-python/dhpython/build/base.py", line 72, in is_usable
raise Exception("missing command: %s" % command)
Exception: missing command: cmake
dhpython: DEBUG: invoking: python3.2 -c 'import imp; print(imp.get_tag())'
dhpython: DEBUG: /bin/sh: 1: python3.2: not found
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: Doctest: dhpython.interpreter.Interpreter.magic_tag
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.3/doctest.py", line 2154, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
nose.proxy.AssertionError: Failed doctest test for dhpython.interpreter.Interpreter.magic_tag
File "/usr/share/dh-python/dhpython/interpreter.py", line 315, in magic_tag
----------------------------------------------------------------------
File "/usr/share/dh-python/dhpython/interpreter.py", line 319, in dhpython.interpreter.Interpreter.magic_tag
Failed example:
i.magic_tag(version='3.2')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.3/doctest.py", line 1287, in __run compileflags, 1), test.globs)
File "<doctest dhpython.interpreter.Interpreter.magic_tag[1]>", line 1, in <module> i.magic_tag(version='3.2')
File "/usr/share/dh-python/dhpython/interpreter.py", line 325, in magic_tag
return self._execute('import imp; print(imp.get_tag())', version)
File "/usr/share/dh-python/dhpython/interpreter.py", line 440, in _execute
raise Exception('{} failed with status code {}'.format(command, output['returncode']))
Exception: python3.2 -c 'import imp; print(imp.get_tag())' failed with status code 127
-------------------- >> begin captured logging << --------------------
dhpython: DEBUG: invoking: python3.2 -c 'import imp; print(imp.get_tag())'
dhpython: DEBUG: /bin/sh: 1: python3.2: not found
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 19 tests in 0.019s
not sure why, it still tries to run python3.2 tests.
Doctest: dhpython. interpreter. Interpreter. cache_file ... FAIL interpreter. Interpreter. magic_tag ... FAIL interpreter. Interpreter. parse ... ok interpreter. Interpreter. sitedir ... ok pydist. _pl2py ... ok pydist. _translate ... ok tools.clean_ egg_name ... ok tools.relpath ... ok version. Version. __add__ ... ok version. Version. __lshift_ _ ... ok version. Version. __repr_ _ ... ok version. Version. __rshift_ _ ... ok version. Version. __str__ ... ok version. Version. __sub__ ... ok version. VersionRange. __repr_ _ ... ok version. VersionRange. __str__ ... ok version. VersionRange. _parse_ pycentral ... ok version. VersionRange. parse ... ok version. get_requested_ versions ... ok
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= interpreter. Interpreter. cache_file ------- ------- ------- ------- ------- ------- ------- ------- ------- python3. 3/doctest. py", line 2154, in runTest eption( self.format_ failure( new.getvalue( ))) AssertionError: Failed doctest test for dhpython. interpreter. Interpreter. cache_file dh-python/ dhpython/ interpreter. py", line 282, in cache_file
FAIL: Doctest: dhpython.
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
nose.proxy.
File "/usr/share/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- dh-python/ dhpython/ interpreter. py", line 293, in dhpython. interpreter. Interpreter. cache_file file('bar/ foo.py' , '3.2') python3. 3/doctest. py", line 1287, in __run
compileflags, 1), test.globs) interpreter. Interpreter. cache_file[ 2]>", line 1, in <module>
i.cache_ file('bar/ foo.py' , '3.2') dh-python/ dhpython/ interpreter. py", line 305, in cache_file
(fname[ :-3], self.magic_ tag(version) , last_char)) dh-python/ dhpython/ interpreter. py", line 325, in magic_tag 'import imp; print(imp. get_tag( ))', version) dh-python/ dhpython/ interpreter. py", line 440, in _execute 'returncode' ])) get_tag( ))' failed with status code 127
File "/usr/share/
Failed example:
i.cache_
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest dhpython.
File "/usr/share/
File "/usr/share/
return self._execute(
File "/usr/share/
raise Exception('{} failed with status code {}'.format(command, output[
Exception: python3.2 -c 'import imp; print(imp.
------- ------- ------ >> begin captured logging << ------- ------- ------ dh-python/ dhpython/ build/_ _init__ .py", line 32, in <module> BuildSystem. is_usable( ) dh-python/ dhpython/ build/base. py", line 72, in is_usable get_tag( ))'
dhpython: INFO: cannot initialize 'cmake'
Traceback (most recent call last):
File "/usr/share/
module.
File "/usr/share/
raise Exception("missing command: %s" % command)
Exception: missing command: cmake
dhpython: DEBUG: invoking: python3.2 -c 'import imp; print(imp.
dhpython: DEBUG: /bin/sh: 1: python3.2: not found
------- ------- ------- >> end captured logging << ------- ------- -------
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= interpreter. Interpreter. magic_tag ------- ------- ------- ------- ------- ------- ------- ------- ------- python3. 3/doctest. py", line 2154, in runTest eption( self.format_ failure( new.getvalue( ))) AssertionError: Failed doctest test for dhpython. interpreter. Interpreter. magic_tag dh-python/ dhpython/ interpreter. py", line 315, in magic_tag
FAIL: Doctest: dhpython.
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
nose.proxy.
File "/usr/share/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- dh-python/ dhpython/ interpreter. py", line 319, in dhpython. interpreter. Interpreter. magic_tag tag(version= '3.2') python3. 3/doctest. py", line 1287, in __run
compileflags, 1), test.globs) interpreter. Interpreter. magic_tag[ 1]>", line 1, in <module>
i.magic_ tag(version= '3.2') dh-python/ dhpython/ interpreter. py", line 325, in magic_tag 'import imp; print(imp. get_tag( ))', version) dh-python/ dhpython/ interpreter. py", line 440, in _execute 'returncode' ])) get_tag( ))' failed with status code 127
File "/usr/share/
Failed example:
i.magic_
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest dhpython.
File "/usr/share/
return self._execute(
File "/usr/share/
raise Exception('{} failed with status code {}'.format(command, output[
Exception: python3.2 -c 'import imp; print(imp.
------- ------- ------ >> begin captured logging << ------- ------- ------ get_tag( ))'
dhpython: DEBUG: invoking: python3.2 -c 'import imp; print(imp.
dhpython: DEBUG: /bin/sh: 1: python3.2: not found
------- ------- ------- >> end captured logging << ------- ------- -------
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 19 tests in 0.019s
FAILED (failures=2)