chore: update pre-commit hooks

This commit is contained in:
Henry Schreiner
2021-07-12 14:56:06 -04:00
committed by Henry Schreiner
parent 75090647ce
commit 84fdadfbcc
4 changed files with 10 additions and 9 deletions

View File

@@ -104,7 +104,7 @@ def test_sequence():
def test_sequence_length():
"""#2076: Exception raised by len(arg) should be propagated """
"""#2076: Exception raised by len(arg) should be propagated"""
class BadLen(RuntimeError):
pass
@@ -187,7 +187,7 @@ def test_iterator_passthrough():
def test_iterator_rvp():
"""#388: Can't make iterators via make_iterator() with different r/v policies """
"""#388: Can't make iterators via make_iterator() with different r/v policies"""
import pybind11_tests.sequences_and_iterators as m
assert list(m.make_iterator_1()) == [1, 2, 3]