[pypy-issue] [issue1168] call to a_var.get_type() returns erroneous values in rope's advanced_oi_test.py

Ian Delaney tracker at bugs.pypy.org
Mon Jun 11 15:30:45 CEST 2012


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

running pypy (latest 2 versions), it fails the enrire test files
advanced_oi_test.py of ropes test suite.

FAIL: test_a_function_with_different_returns
(ropetest.advanced_oi_test.DynamicOITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/rope-0.9.4/work/rope-0.9.4/ropetest/advanced_oi_test.py",
line 264, in test_a_function_with_different_returns
    self.assertEquals(c1_class, a_var.get_type())
AssertionError: <rope.base.pyobjectsdef.PyClass object at 0x00007f4a8eeda6e8> !=
<rope.base.pyobjects.PyObject object at 0x000000000496fb78>

FAIL: test_a_function_with_different_returns2
(ropetest.advanced_oi_test.DynamicOITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/rope-0.9.4/work/rope-0.9.4/ropetest/advanced_oi_test.py",
line 280, in test_a_function_with_different_returns2
    self.assertEquals(c1_class, a_var.get_type())
AssertionError: <rope.base.pyobjectsdef.PyClass object at 0x00007f4a8ee27cc8> !=
<rope.base.pyobjectsdef.PyClass object at 0x00007f4a8ee27d00>

======================================================================
FAIL: test_arguments_with_keywords (ropetest.advanced_oi_test.DynamicOITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/rope-0.9.4/work/rope-0.9.4/ropetest/advanced_oi_test.py",
line 249, in test_arguments_with_keywords
    self.assertEquals(c1_class, a_var.get_type())
AssertionError: <rope.base.pyobjectsdef.PyClass object at 0x00000000043fe838> !=
<rope.base.pyobjects.PyObject object at 0x000000000496fb78>

ad nauseum

----------
files: advanced_oi_test.py
messages: 4413
nosy: idella5, pypy-issue
priority: performance bug
release: 1.9
status: unread
title: call to a_var.get_type() returns erroneous values in rope's advanced_oi_test.py

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


More information about the pypy-issue mailing list