Skip to content

Commit f780443

Browse files
fixed duplicated method name of test_getuserbase() (GH-12140)
(cherry picked from commit 45d8d24) Co-authored-by: native-api <ivan_pozdeev@mail.ru>
1 parent 4b9459d commit f780443

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_site.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ def test_addsitedir(self):
183183
finally:
184184
pth_file.cleanup()
185185

186-
def test_getuserbase(self):
186+
# This tests _getuserbase, hence the double underline
187+
# to distinguish from a test for getuserbase
188+
def test__getuserbase(self):
187189
self.assertEqual(site._getuserbase(), sysconfig._getuserbase())
188190

189191
def test_get_path(self):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy