Closed
Description
Bug report
Bug description:
>>> import posixpath
>>> posixpath.relpath(None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen posixpath>", line 509, in relpath
ValueError: no path specified
Expected: TypeError like npath.relpath()
.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows