.. _boolean-datetime: boolean-datetime / W1502 ======================== **Message emitted:** Using datetime.time in a boolean context. **Description:** *Using datetime.time in a boolean context can hide subtle bugs when the time they represent matches midnight UTC. This behaviour was fixed in Python 3.5. See https://bugs.python.org/issue13936 for reference.* Created by ``stdlib`` checker