mirror of https://github.com/python/cpython
fixed duplicated method name of test_getuserbase() (GH-12140)
This commit is contained in:
parent
0a6a412fb2
commit
45d8d2469a
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue