Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest-watcher triggering issue new_snapshot.path_for_inode(ref_stat_info.st_ino)) AttributeError: 'DirectorySnapshot' object has no attribute 'path_for_inode' #100

Open
scheung38 opened this issue Jan 16, 2019 · 0 comments

Comments

@scheung38
Copy link

scheung38 commented Jan 16, 2019

MacOSX 10.14.2
Python 3.7.2

`$ ptw --onpass "say passed" --onfail "say failed"

new_snapshot.path_for_inode(ref_stat_info.st_ino))

AttributeError: 'DirectorySnapshot' object has no attribute 'path_for_inode'

`

only works on 2 code changes, whether my test ran from failed to passed, or passed to failed, or passed to passed. Haven't checked any other combinations, but why does the watcher stops running after two events any more changes in my source and test code, nothing happens until I CTRL-C to restart??

@scheung38 scheung38 changed the title pytest-watcher triggering issue pytest-watcher triggering issue new_snapshot.path_for_inode(ref_stat_info.st_ino)) AttributeError: 'DirectorySnapshot' object has no attribute 'path_for_inode' Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant