Three of these tests fail. The fourth (staticmethod) is there for completeness. In typing this, I realise I never tested a property deleter. But I was already stretching credibility, testing property getters and setters with default parameters, since you can't pass values for them via attribute access.
All tests pass with pytypes.infer_default_value_types = False.
The assertRaises calls are just there so that these tests don't consider "enforce nothing" to be a valid fix.
Three of these tests fail. The fourth (staticmethod) is there for completeness. In typing this, I realise I never tested a property deleter. But I was already stretching credibility, testing property getters and setters with default parameters, since you can't pass values for them via attribute access.
All tests pass with
pytypes.infer_default_value_types = False
.The assertRaises calls are just there so that these tests don't consider "enforce nothing" to be a valid fix.