GNOME Bugzilla – Bug 763544
Test not compatible with Python 3
Last modified: 2016-03-13 17:36:13 UTC
Created attachment 323772 [details] [review] Patch replacing itervalues for values In the file test-networkmanager-service.py, on line 1085 there is a call to itervalues method, which is no longer available in Python 3. This causes the tests (and thus the build) to fail on Arch Linux which uses Python 3 as default. It should be replaced with a call to values method which is supported by both Python 2 and Python 3: * https://docs.python.org/2.7/library/stdtypes.html#dict.values * https://docs.python.org/3.5/library/stdtypes.html#dict.values
Hi, Please state the name you wish as author for the patch, in usual git format (like "Firstname Surname <user@email.tld>"). Or even better, please create the patch with `git format-patch`, which already entails this information.
Created attachment 323791 [details] [review] Patch replacing itervalues for values
Thanks Jan. Applied as: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=226ef191092f4ed9b7d4d7bcd5b81243580910cc