diff options
author | Anthony Sottile <asottile@umich.edu> | 2018-05-22 22:51:37 -0700 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-05-23 07:51:37 +0200 |
commit | e377639de4340f422dad55b78f59bed324edd590 (patch) | |
tree | 032c23a9114fc5375ca3d8cea6444e752071237d /pylint/test/unittest_checker_python3.py | |
parent | 30c7ec51d560d307c7f1c0aae75c83ea3ffc655a (diff) | |
download | pylint-git-e377639de4340f422dad55b78f59bed324edd590.tar.gz |
min() and max() accept iterators (#2138)
Diffstat (limited to 'pylint/test/unittest_checker_python3.py')
-rw-r--r-- | pylint/test/unittest_checker_python3.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint/test/unittest_checker_python3.py b/pylint/test/unittest_checker_python3.py index 7ea5dda05..10ea7c1dc 100644 --- a/pylint/test/unittest_checker_python3.py +++ b/pylint/test/unittest_checker_python3.py @@ -203,6 +203,8 @@ class TestPython3Checker(testutils.CheckerTestCase): '[x for x in {}()]', 'iter({}())', 'a, b = {}()', + 'max({}())', + 'min({}())', ] non_iterating_code = [ 'x = __({}())', |