Unix-like: PosixPath('/home/Real Python/main.py') When you call .open() on the corresponding path object, it’ll correctly locate the current user’s folder and open the specified file, no matter what operating system you’re on. Python will translate the forward slash (/) if necessary...
"""Superclass for tests. A subclass per test-file is created at runtime.""" def CheckAlsoExtension(self, extension): """Return a suitable iwyu flag for checking files with the given extension. """ return '--check_also="%s"' % posixpath.join(self.rootdir, '*' + extension) def Mapp...