]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fixed duplicated method name of test_getuserbase() (GH-12140)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 3 Mar 2019 23:09:10 +0000 (15:09 -0800)
committerGitHub <noreply@github.com>
Sun, 3 Mar 2019 23:09:10 +0000 (15:09 -0800)
(cherry picked from commit 45d8d2469a48589e950dad2452043188eb9399a3)

Co-authored-by: native-api <ivan_pozdeev@mail.ru>
Lib/test/test_site.py

index a30bd2f0067ff51158cd49ba33fe4605c0f90e82..655a12ddd1654c1acb11a7c5e64b6f02b819a9f2 100644 (file)
@@ -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):