Don't emit warnings here, there's no point (#137)

* Don't emit warnings here, there's no point

* whoops here
This commit is contained in:
Alex Gaynor 2017-12-03 20:43:38 -06:00 committed by Paul Kehrer
parent 6d45e59631
commit ea76ee82eb

View File

@ -400,7 +400,9 @@ def test_checkpw_extra_data():
b"\x43\x66\x6c\x9b\x09\xef\x33\xed\x8c\x27\xe8\xe8\xf3\xe2\xd8\xe6"
]])
def test_kdf(rounds, password, salt, expected):
derived = bcrypt.kdf(password, salt, len(expected), rounds)
derived = bcrypt.kdf(
password, salt, len(expected), rounds, ignore_few_rounds=True
)
assert derived == expected