diff options
author | native-api <ivan_pozdeev@mail.ru> | 2019-03-03 16:05:19 (GMT) |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2019-03-03 16:05:19 (GMT) |
commit | 45d8d2469a48589e950dad2452043188eb9399a3 (patch) | |
tree | e9120ef47275111a8122ecdc5275692dce1e0dcb /Lib/test/test_site.py | |
parent | 0a6a412fb27d6874a0db5cc82a97f54d7c5fd0f2 (diff) | |
download | cpython-45d8d2469a48589e950dad2452043188eb9399a3.zip cpython-45d8d2469a48589e950dad2452043188eb9399a3.tar.gz cpython-45d8d2469a48589e950dad2452043188eb9399a3.tar.bz2 |
fixed duplicated method name of test_getuserbase() (GH-12140)
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 735651e..8f04728 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): |