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
import os
def print_scandir():
try:
os.makedirs('/tmp/A/B/C/D')
os.symlink('/tmp/A/B/C', '/tmp/A/C')
except FileExistsError:
pass
print([f.path for f in os.scandir('/tmp/A/C')])
def test(fs):
print_scandir()
if __name__ == '__main__':
print_scandir()
Please see attached example
test.py:
expected:
pyfakefs (tested v3.3 and current master branch):
The text was updated successfully, but these errors were encountered: