Problem with Python dictionaries

Re: Problem with Python dictionaries

by Richard Lobb -
Number of replies: 0

Prior to Python 3.6, dictionaries were arbitrarily ordered. But since 3.6, entries are in insertion order. see https://stackoverflow.com/questions/39980323/are-dictionaries-ordered-in-python-3-6

It sounds like your jobe server is running a version of Python older than 3.6. I suggest you ask your system administrator to update jobe or at least the version of Python it's running. 

Before Python 3.6 we used to deal with this problem by having our tests print out the dictionary in sorted order, e.g. print(sorted(dictionary.items()))