jenkins-bot has submitted this change and it was merged.
Change subject: Add Python version to test apicache directory name
......................................................................
Add Python version to test apicache directory name
Python 3 can not load cache entries created by Python 2, resulting
in lots of warning messages when running tests on both versions.
This is most notable when tox runs tests for all version of Python.
Change-Id: Ic017663dae73926a931f92c1bc0ecc9f3921b664
---
M tests/__init__.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
XZise: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/__init__.py b/tests/__init__.py
index 631b7ce..7a93711 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -58,7 +58,8 @@
join_root_path.path = 'root'
join_tests_path = create_path_func(join_root_path, 'tests')
-join_cache_path = create_path_func(join_tests_path, 'apicache')
+join_cache_path = create_path_func(join_tests_path,
+ 'apicache-py%d' % PYTHON_VERSION[0])
join_data_path = create_path_func(join_tests_path, 'data')
join_pages_path = create_path_func(join_tests_path, 'pages')
--
To view, visit
https://gerrit.wikimedia.org/r/244881
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic017663dae73926a931f92c1bc0ecc9f3921b664
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: jenkins-bot <>