(e, f)
| 826 | |
| 827 | def test_sort_with_function(): |
| 828 | def myFunc(e, f): |
| 829 | return len(e) - len(f) |
| 830 | a = pm.eval("(['Ford', 'Mitsubishi', 'BMW', 'VW'])") |
| 831 | a.sort(key=myFunc) |
| 832 | assert a == ['VW', 'BMW', 'Ford', 'Mitsubishi'] |
nothing calls this directly
no outgoing calls
no test coverage detected