jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/638501 )

Change subject: Modify data_ingestion_tests.py to support python 3.5+ only
......................................................................

Modify data_ingestion_tests.py to support python 3.5+ only

Bug: T257399
Change-Id: I975db77bdb839d2e147035ed2f09ec5588a754e0
---
M tests/data_ingestion_tests.py
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/data_ingestion_tests.py b/tests/data_ingestion_tests.py
index 885110c..41fcdce 100644
--- a/tests/data_ingestion_tests.py
+++ b/tests/data_ingestion_tests.py
@@ -6,8 +6,6 @@
 #
 # Distributed under the terms of the MIT license.
 #
-from __future__ import absolute_import, division, unicode_literals
-
 from scripts import data_ingestion

 from tests import join_data_path, join_images_path
@@ -31,7 +29,7 @@

     def setUp(self):
         """Set up unit test."""
-        super(TestPhoto, self).setUp()
+        super().setUp()
         url = ('http://upload.wikimedia.org/wikipedia/commons/f/'
                'fc/MP_sounds.png')

@@ -84,7 +82,7 @@

     def setUp(self):
         """Set up unit test."""
-        super(TestCSVReader, self).setUp()
+        super().setUp()
         with open(join_data_path('csv_ingestion.csv')) as fileobj:
             self.iterator = data_ingestion.CSVReader(fileobj, 'url',
                                                      site=self.get_site())

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/638501
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I975db77bdb839d2e147035ed2f09ec5588a754e0
Gerrit-Change-Number: 638501
Gerrit-PatchSet: 1
Gerrit-Owner: Diwanshu885 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to