fixed duplicated method name of test_getuserbase() (GH-12140)

This commit is contained in:
native-api 2019-03-03 19:05:19 +03:00 committed by Inada Naoki
parent 0a6a412fb2
commit 45d8d2469a
1 changed files with 3 additions and 1 deletions

View 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):