summaryrefslogtreecommitdiff
path: root/checkers/stdlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'checkers/stdlib.py')
-rw-r--r--checkers/stdlib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkers/stdlib.py b/checkers/stdlib.py
index 4188429..9a56434 100644
--- a/checkers/stdlib.py
+++ b/checkers/stdlib.py
@@ -46,7 +46,8 @@ class OpenModeChecker(BaseChecker):
'Using datetetime.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 http://bugs.python.org/issue13936 for reference.'),
+ 'See http://bugs.python.org/issue13936 for reference.',
+ {'maxversion': (3, 5)}),
}
@utils.check_messages('bad-open-mode')