[pypy-issue] [issue1380] Tests come to grief under hglib-0.3

Ian Delaney tracker at bugs.pypy.org
Tue Jan 22 14:36:08 CET 2013


New submission from Ian Delaney <della5 at iinet.com.au>:

run from an ebuild or from the source directly, same outcome.

python-hglib-0.3 $PYTHONPATH=. /usr/bin/pypy-c2.0 test.py

......................FF...............E................F.....................F..
======================================================================
ERROR: test_basic_file (tests.test-import.test_import)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/hglib-0.3/work/python-hglib-0.3/tests/test-import.py",
line 28, in test_basic_file
    self.client.import_(['patch'], nocommit=True)
  File
"/mnt/gen2/TmpDir/portage/dev-python/hglib-0.3/work/python-hglib-0.3/hglib/client.py",
line 853, in import_
    self.rawcommand(args, prompt=prompt, input=input)
  File
"/mnt/gen2/TmpDir/portage/dev-python/hglib-0.3/work/python-hglib-0.3/hglib/client.py",
line 175, in rawcommand
    raise error.CommandError(args, ret, out, err)
CommandError: abort: patch: no diffs found


======================================================================
FAIL: test_basic (tests.test-config.test_config)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/hglib-0.3/work/python-hglib-0.3/tests/test-config.py",
line 12, in test_basic
    self.assertTrue(('section', 'key', 'value') in self.client.config())
AssertionError: False is not true

======================================================================
FAIL: test_show_source (tests.test-config.test_config)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/hglib-0.3/work/python-hglib-0.3/tests/test-config.py",
line 25, in test_show_source
    'section', 'key', 'value') in config)
AssertionError: False is not true

======================================================================
FAIL: test_basic (tests.test-paths.test_paths)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/hglib-0.3/work/python-hglib-0.3/tests/test-paths.py",
line 11, in test_basic
    self.assertEquals(len(paths), 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_merge (tests.test-update.test_update)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/hglib-0.3/work/python-hglib-0.3/tests/test-update.py",
line 39, in test_merge
    self.assertEquals(m, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 81 tests in 33.963s

FAILED (errors=1, failures=4)

Not sure how fair or legitimate this is on pypy per se.  Any further info required?

----------
messages: 5204
nosy: idella5, pypy-issue
priority: bug
release: 2.0
status: chatting
title: Tests come to grief under  hglib-0.3

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1380>
________________________________________


More information about the pypy-issue mailing list