def __get_username():
    if WINDOWS:
        return getpass.getuser()
    import pwd
    return pwd.getpwuid(os.geteuid()).pw_name
Doctest may not access class scope.
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/locations.py/__get_username--crossover with--dataset/ETHPy150Open pyflakes/pyflakes/pyflakes/test/test_doctests.py/Test.test_inaccessible_scope_class