Closed
Description
Hello,
Attempting to test with Pytest 7.3.1, I see:
collecting ... collected 845 items / 1 error
==================================== ERRORS ====================================
____________________ ERROR collecting testing/test_rsync.py ____________________
testing/test_rsync.py:47: in <module>
class TestRSync:
testing/test_rsync.py:159: in TestRSync
@py.test.mark.skipif("sys.platform == 'win32' or getattr(os, '_name', '') == 'nt'")
E AttributeError: module 'py' has no attribute 'test'
=========================== short test summary info ============================
ERROR testing/test_rsync.py - AttributeError: module 'py' has no attribute 't...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.41s ===============================
sed 's/@py.test/@pytest/'
fixes it.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels