testfailure in IPython.frontend on windows #1112

Closed
jstenar opened this Issue Dec 7, 2011 · 1 comment

Projects

None yet

3 participants

@jstenar
IPython member

I get the following testfailure on windows 7 python2.6, ipython master 0b0a9b5

C:\python\bugreports\ipython> iptest IPython.frontend
.FF..........S..SSSSS..
======================================================================
FAIL: Are beep characters processed correctly?
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\ipython-0.12.beta-py2.6.egg\IPython\frontend\qt\console\tests\test_ansi_code_processor.py", line 123, in test_beep
    self.assertEquals(action.count, 1)
AssertionError: <built-in method count of BeepAction object at 0x05347710> != 1
>>  raise self.failureException, \
      (None or '%r != %r' % (first, 1))


======================================================================
FAIL: Are carriage return characters processed correctly?
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\ipython-0.12.beta-py2.6.egg\IPython\frontend\qt\console\tests\test_ansi_code_processor.py", line 113, in test_carriage_return
    self.assertEquals(action.count, 1)
AssertionError: <built-in method count of CarriageReturnAction object at 0x05347760> != 1
>>  raise self.failureException, \
      (None or '%r != %r' % (first, 1))


----------------------------------------------------------------------
Ran 23 tests in 0.104s
@jenshnielsen

I see the tests failing on ubuntu 11.10 as well

@jstenar jstenar pushed a commit to jstenar/ipython that referenced this issue Dec 7, 2011
Jörgen Stenarson Fixing #1112 removing failing asserts for test_carriage_return and te…
…st_beep.

The failing asserts were checking the count property of the Action
tuple objects there is no count field in these Action tuples so
the count method of the regular tuple class is resolved.
8c6d953
@minrk minrk added a commit that referenced this issue Dec 7, 2011
Jörgen Stenarson Fixing #1112 removing failing asserts for test_carriage_return and te…
…st_beep.

The failing asserts were checking the count property of the Action
tuple objects there is no count field in these Action tuples so
the count method of the regular tuple class is resolved.

closes #1112
closes #1113
bdcfcc6
@minrk minrk added a commit that closed this issue Dec 7, 2011
Jörgen Stenarson Fixing #1112 removing failing asserts for test_carriage_return and te…
…st_beep.

The failing asserts were checking the count property of the Action
tuple objects there is no count field in these Action tuples so
the count method of the regular tuple class is resolved.

closes #1112
closes #1113
bdcfcc6
@minrk minrk closed this in bdcfcc6 Dec 7, 2011
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Jörgen Stenarson Fixing #1112 removing failing asserts for test_carriage_return and te…
…st_beep.

The failing asserts were checking the count property of the Action
tuple objects there is no count field in these Action tuples so
the count method of the regular tuple class is resolved.

closes #1112
closes #1113
ab2908b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment