Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 309 Bytes

File metadata and controls

4 lines (3 loc) · 309 Bytes

Emit a PytestCollectionWarning when a module-level __getattr__ returns None for pytestmark instead of raising AttributeError.

Previously this caused a cryptic TypeError: got None instead of Mark error. Now pytest issues a helpful warning and continues collecting the module normally.