From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 3 Mar 2019 23:09:10 +0000 (-0800) Subject: fixed duplicated method name of test_getuserbase() (GH-12140) X-Git-Tag: v3.7.3rc1~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f78044339954b445064426f8428a87b53f842094;p=thirdparty%2FPython%2Fcpython.git fixed duplicated method name of test_getuserbase() (GH-12140) (cherry picked from commit 45d8d2469a48589e950dad2452043188eb9399a3) Co-authored-by: native-api --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index a30bd2f0067f..655a12ddd165 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -183,7 +183,9 @@ class HelperFunctionsTests(unittest.TestCase): 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):