fowode / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

fics testing failure regression #840

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
....E......................
======================================================================
ERROR: test5 (__main__.AdjournManagerTests)
Test acquiring preview with adjournment list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gatto/code/hg/pychess/testing/ficsmanagers.py", line 249, in test5
    self.runAndAssertEquals(signal, lines, expectedResults)
  File "/home/gatto/code/hg/pychess/testing/ficsmanagers.py", line 105, in runAndAssertEquals
    self.connection.process_line()
  File "/home/gatto/code/hg/pychess/testing/ficsmanagers.py", line 56, in process_line
    self.client.parse()
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 213, in parse
    answer = self.test_prediction(p, line)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 226, in test_prediction
    answer = prediction.handle(line.line)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 114, in handle
    self.callback(self.matchlist)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/managers/AdjournManager.py", line 101, in __onSmovesResponse
    in_progress=False)
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/managers/BoardManager.py", line 632, in parseGame
    times[ply] = "0:%02d:%02d.%03d" % (int(wmin), int(wsec), int(wmsec))
TypeError: int() argument must be a string or a number, not 'NoneType'

----------------------------------------------------------------------
Ran 27 tests in 0.105s

FAILED (errors=1)

Original issue reported on code.google.com by mattgatto on 21 Feb 2014 at 10:06

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6992d9613209.

Original comment by gbtami on 21 Feb 2014 at 4:59