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,

-- 
To view, visit https://gerrit.wikimedia.org/r/180020
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If5abc312d88b4567198c5506ffa47b40703a69da
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Unicodesnowman <ad...@glados.cc>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: XZise <commodorefabia...@gmx.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
Pywikibot-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to