Commit 5c0aa82
Fix test_glob (trekhleb#4)
* Fix test_glob
== operator for lists relies on the order of elements in the list. cmp() does not.
In my case, on Linux Mint, python3.6 glob() returned list had items in reverse order then expected in the test.
The glob() doc doesn't specify specific ordering.
cmp() for list objects doesn't rely on the order of items and produces the right result.
* Use python31 parent a0b6fad commit 5c0aa82
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
0 commit comments