diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 735651ec7d7..8f04728ad18 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -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):