def test_fpathconf(self): if hasattr(os, "fpathconf"): self.check(os.pathconf, "PC_NAME_MAX") self.check(os.fpathconf, "PC_NAME_MAX")