[Python-checkins] fixed duplicated method name of test_getuserbase() (GH-12140)
Inada Naoki
webhook-mailer at python.org
Sun Mar 3 11:05:23 EST 2019
https://github.com/python/cpython/commit/45d8d2469a48589e950dad2452043188eb9399a3
commit: 45d8d2469a48589e950dad2452043188eb9399a3
branch: master
author: native-api <ivan_pozdeev at mail.ru>
committer: Inada Naoki <songofacandy at gmail.com>
date: 2019-03-04T01:05:19+09:00
summary:
fixed duplicated method name of test_getuserbase() (GH-12140)
files:
M Lib/test/test_site.py
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index 735651ec7d75..8f04728ad188 100644
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -181,7 +181,9 @@ def test_addsitedir(self):
finally:
pth_file.cleanup()
- def test_getuserbase(self):
+ # This tests _getuserbase, hence the double underline
+ # to distinguish from a test for getuserbase
+ def test__getuserbase(self):
self.assertEqual(site._getuserbase(), sysconfig._getuserbase())
def test_get_path(self):
More information about the Python-checkins
mailing list