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

test_parse_normalized fails on Python 3.7 #35

Open
mbakke opened this issue Aug 15, 2019 · 2 comments
Open

test_parse_normalized fails on Python 3.7 #35

mbakke opened this issue Aug 15, 2019 · 2 comments

Comments

@mbakke
Copy link

mbakke commented Aug 15, 2019

Running the test suite with Python 3.7.4 results in a failure in __main__.NormalizedParse:

======================================================================                         
FAIL: test_parse_normalized (__main__.NormalizedParse)                                             ----------------------------------------------------------------------
Traceback (most recent call last):                                                                   File "querystring_parser/tests.py", line 208, in test_parse_normalized
    self.assertEqual(self.knownValuesNormalized, result)                                     
AssertionError: {'section': [{'name': 'sekcja siatkarska', 'words': [[''[251 chars]]]}]} != {'secti
on': [{'words': [['', ''], ['', ''], ['noga', 'le[251 chars]2'}]}
  {'section': [{'name': 'sekcja siatkarska',
                'words': [['', ''], ['', ''], ['noga', 'leg']]},
               {'del_words': [['kciuk', 'thimb'], ['oko', 'an eye']],
                'name': 'sekcja siatkarska1',
                'words': [['', ''], ['', ''], ['renca', 'rukka']]},
               {'name': 'sekcja siatkarska2',
-               'words': [['wlos', 'a hair'], ['', ''], ['', '']]}]}
+               'words': [['', ''], ['', ''], ['wlos', 'a hair']]}]}

----------------------------------------------------------------------
Ran 10 tests in 0.013s
@tbenst
Copy link

tbenst commented Dec 12, 2019

Same issue over here

@paulmelnikow
Copy link
Collaborator

A PR would be welcome!

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