You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/tmp/test_readlink.py", line 6, in <module>
p.readlink()
File "/usr/lib/python3.9/pathlib.py", line 1281, in readlink
path = self._accessor.readlink(self)
AttributeError: '_FakeAccessor' object has no attribute 'readlink'
Describe the bug
Python 3.9 added a
readlink()
method topathlib.Path
. Trying to use this method with pyfakefs raises anAttributeError
.How To Reproduce
This will raise an exception like this:
Your environment
The text was updated successfully, but these errors were encountered: