Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testfailure in IPython.frontend on windows #1112

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

testfailure in IPython.frontend on windows #1112

jstenar opened this issue Dec 7, 2011 · 1 comment
Milestone

Comments

@jstenar
Copy link
Member

jstenar commented Dec 7, 2011

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
Copy link
Contributor

I see the tests failing on ubuntu 11.10 as well

jstenar pushed a commit to jstenar/ipython that referenced this issue Dec 7, 2011
… and test_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.
@minrk minrk closed this as completed in bdcfcc6 Dec 7, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
… and test_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 ipython#1112
closes ipython#1113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants