def test_getlogin(self): try: expected = os.getlogin() except OSError as e: py.test.skip("the underlying os.getlogin() failed: %s" % e) data = rposix.getlogin() assert data == expected
def test_getlogin(self): try: expected = os.getlogin() except OSError as e: py.test.skip("the underlying os.getlogin() failed: %s" % e) data = rposix.getlogin() assert data == expected