forked fromtrekhleb/learn-python
- Notifications
You must be signed in to change notification settings - Fork0
Commit5c0aa82
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 parenta0b6fad commit5c0aa82
1 file changed
+2
-2
lines changedOriginal 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
Comments
(0)