I discovered this while cleaning up the tests. I enabled some unit tests that seems to miss assert_equals statement: https://github.com/Sage-Bionetworks/synapsePythonClient/pull/565
The test is broken for Python 2.7 and 3.5 across multiple platforms but succeed on Python 3.6.
Running a test on Python 2.7 and 3.6 to see the different behaviors:
Restricting the Pandas version did not fix the bug:
The columns to be tested are still in alphabetically order:
It's not Pandas, it's dict:
But we can create a Pandas DataFrame with ordered columns: