code: def resolve(self, strict=None):
          
          if sys.version_info >= (3, 6) or pathlib2:
              if strict is None:
                  strict = False
          else:
              if strict is not None:
                  raise TypeError(
                      "resolve() got an unexpected keyword argument 'strict'")
              strict = True
          if self._closed:
              self._raise_closed()
          path = self._flavour.resolve(self, strict=strict)
          if path is None:
              self.stat()
              path = str(self.absolute())
          path = self.filesystem.absnormpath(path)
          return FakePath(path)
docs: Make the path absolute, resolving all symlinks on the way and also
          normalizing it (for example turning slashes into backslashes
          under Windows).
  
          Args:
              strict: If False (default) no exception is raised if the path
                  does not exist.
                  New in Python 3.6.
  
          Raises:
              IOError: if the path doesn't exist (strict=True or Python < 3.6)