]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fixed duplicated method name of test_getuserbase() (GH-12140)
authornative-api <ivan_pozdeev@mail.ru>
Sun, 3 Mar 2019 16:05:19 +0000 (19:05 +0300)
committerInada Naoki <songofacandy@gmail.com>
Sun, 3 Mar 2019 16:05:19 +0000 (01:05 +0900)
Lib/test/test_site.py

index 735651ec7d75503acc1e3772cb5bf506237f9de0..8f04728ad188859fe5448ab134d72078df90f79f 100644 (file)
@@ -181,7 +181,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):