VcamX has uploaded a new change for review.
https://gerrit.wikimedia.org/r/225278
Change subject: Remove unnecessary command args in execute_pwb
......................................................................
Remove unnecessary command args in execute_pwb
Change-Id: I23b682741f53687ddf3e36274d97cde5759e040a
---
M tests/utils.py
1 file changed, 2 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/78/225278/1
diff --git a/tests/utils.py b/tests/utils.py
index 4e06af0..435545f 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -519,9 +519,5 @@
@param args: list of arguments for pwb.py
@type args: list of unicode
"""
- if sys.version_info < (2, 7, 9):
- return execute(command=[sys.executable, '-W ignore:A true', _pwb_py] +
args,
- data_in=data_in, timeout=timeout, error=error)
- else:
- return execute(command=[sys.executable, _pwb_py] + args,
- data_in=data_in, timeout=timeout, error=error)
+ return execute(command=[sys.executable, _pwb_py] + args,
+ data_in=data_in, timeout=timeout, error=error)
--
To view, visit https://gerrit.wikimedia.org/r/225278
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I23b682741f53687ddf3e36274d97cde5759e040a
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: VcamX <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits