jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1152679?usp=email )
Change subject: [tests] remove unused local variable in superset_tests.py
......................................................................
[tests] remove unused local variable in superset_tests.py
Change-Id: I2dbba085dac401ee573b80bef2ef7174c07a8442
---
M tests/superset_tests.py
1 file changed, 2 insertions(+), 4 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/tests/superset_tests.py b/tests/superset_tests.py
index 9ba83f8..7977f2f 100755
--- a/tests/superset_tests.py
+++ b/tests/superset_tests.py
@@ -37,13 +37,11 @@
msg = 'Only one of schema_name and site parameters can be defined'
with self.assertRaisesRegex(TypeError, msg):
- superset = SupersetQuery(schema_name='enwiki_p',
- site=site)
+ SupersetQuery(schema_name='enwiki_p', site=site)
msg = 'database_id should be integer'
with self.assertRaisesRegex(TypeError, msg):
- superset = SupersetQuery(schema_name='enwiki_p',
- database_id='foo')
+ SupersetQuery(schema_name='enwiki_p', database_id='foo')
class TestSupersetWithAuth(TestCase):
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1152679?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2dbba085dac401ee573b80bef2ef7174c07a8442
Gerrit-Change-Number: 1152679
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]