- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 19.2k
TST: Every function ensure_clean in the file /pandas/tests/io/test_common.py and /pandas/tests/io/pytables/test_store.py has been replaced. #62895
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
Conversation
…mmon.py and /pandas/tests/io/pytables/test_store.py has been replaced.
| Assists #62435 | 
        
          
                pandas/tests/io/test_common.py
              
                Outdated
          
        
      | with tm.ensure_clean() as path: | ||
| file = Path(path) | ||
| file.write_bytes(content) | ||
| file = Path(temp_file) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temp_file should already be a Path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your correction, I have never used pytest fixtures before, so I make this mistake,I will fix it today and update this PR.
| Thanks @zhangbowen-coder | 
| Thank you for your review and correction, too. @mroeschke | 
Every function ensure_clean in the file /pandas/tests/io/test_common.py
and /pandas/tests/io/pytables/test_store.py has been replaced.
Assists #62435