150b6e2 Fix build with Python 3.12.1

Authored and Committed by yselkowitz 4 months ago
    Fix build with Python 3.12.1
    
    Python 3.11.7 and 3.12.1 tweaked the format of the error message.
    
    https://github.com/pytest-dev/pytest-mock/pull/404
    
        
file modified
+3 -0