jjlee / mechanize

Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize .
http://wwwsearch.sourceforge.net/mechanize/
618 stars 123 forks source link

2 failures in PullParserTests #72

Open lmacken opened 12 years ago

lmacken commented 12 years ago
======================================================================
FAIL: test_get_token (test.test_pullparser.PullParserTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/lmacken/code/github.com/mechanize/test/test_pullparser.py", line 78, in test_get_token
    self._test_get_token(pc, tolerant)
  File "/home/lmacken/code/github.com/mechanize/test/test_pullparser.py", line 117, in _test_get_token
    self.assertEqual(p.get_token(), ("decl", "rheum", None))
AssertionError: Token('comment', 'rheum', None) != ('decl', 'rheum', None)

======================================================================
FAIL: test_tokens (test.test_pullparser.PullParserTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/lmacken/code/github.com/mechanize/test/test_pullparser.py", line 274, in test_tokens
    self._test_tokens(pc, tolerant)
  File "/home/lmacken/code/github.com/mechanize/test/test_pullparser.py", line 290, in _test_tokens
    self.assertEquals(token.type, expected_token_types[i])
AssertionError: 'comment' != 'decl'

----------------------------------------------------------------------