XZise has submitted this change and it was merged.
Change subject: Fix build error on Python 2.6 ......................................................................
Fix build error on Python 2.6
Build currently fails on 2.6 due to shorthand set notation used in one place.
Change-Id: If5abc312d88b4567198c5506ffa47b40703a69da --- M tests/site_tests.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: XZise: Looks good to me, approved
diff --git a/tests/site_tests.py b/tests/site_tests.py index 89ac50e..406e969 100644 --- a/tests/site_tests.py +++ b/tests/site_tests.py @@ -1181,8 +1181,8 @@ reason='Pywikibot unit test')
self.assertEqual(site.page_restrictions(page=p1), - {u'edit', (u'sysop', u'2050-01-01T00:00:00Z'), - u'move', (u'autoconfirmed', u'2050-01-01T00:00:00Z')}) + {u'edit': (u'sysop', u'2050-01-01T00:00:00Z'), + u'move': (u'autoconfirmed', u'2050-01-01T00:00:00Z')})
site.protect(protections={'edit': '', 'move': ''}, page=p1,
pywikibot-commits@lists.wikimedia.org