diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-03-03 15:09:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-03 15:09:10 -0800 |
commit | f78044339954b445064426f8428a87b53f842094 (patch) | |
tree | a45dd66b936eb82a5888debbe4ae87d65f0a31c6 | |
parent | Autospec functions should propagate mock calls to parent GH-11273 (#12039) (diff) | |
download | cpython-f78044339954b445064426f8428a87b53f842094.tar.gz cpython-f78044339954b445064426f8428a87b53f842094.tar.bz2 cpython-f78044339954b445064426f8428a87b53f842094.zip |
fixed duplicated method name of test_getuserbase() (GH-12140)
(cherry picked from commit 45d8d2469a48589e950dad2452043188eb9399a3)
Co-authored-by: native-api <ivan_pozdeev@mail.ru>
-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 a30bd2f0067..655a12ddd16 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -183,7 +183,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): |