jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/664582 )
Change subject: Changes import preferences for unittest
......................................................................
Changes import preferences for unittest
Bug: T272235
Change-Id: I6b160d12071e0d3c86d680dadd069fd3489eb362
---
M tests/pwb_tests.py
M tests/wikibase_edit_tests.py
2 files changed, 3 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/pwb_tests.py b/tests/pwb_tests.py
index 011d6d7..298666d 100644
--- a/tests/pwb_tests.py
+++ b/tests/pwb_tests.py
@@ -16,7 +16,7 @@
from tests import join_tests_path, create_path_func
from tests.utils import execute, execute_pwb
-from tests.aspects import unittest, PwbTestCase
+from tests.aspects import PwbTestCase
join_pwb_tests_path = create_path_func(join_tests_path, 'pwb')
diff --git a/tests/wikibase_edit_tests.py b/tests/wikibase_edit_tests.py
index e0ba7de..fa03f79 100644
--- a/tests/wikibase_edit_tests.py
+++ b/tests/wikibase_edit_tests.py
@@ -10,12 +10,13 @@
# Distributed under the terms of the MIT license.
#
import time
+import unittest
from contextlib import suppress
import pywikibot
-from tests.aspects import unittest, WikibaseTestCase
+from tests.aspects import WikibaseTestCase
class TestWikibaseWriteGeneral(WikibaseTestCase):
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/664582
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: I6b160d12071e0d3c86d680dadd069fd3489eb362
Gerrit-Change-Number: 664582
Gerrit-PatchSet: 1
Gerrit-Owner: Homeboy 445 <akshitsan13(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged