diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-12-19 12:21:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-19 11:21:01 -0600 |
commit | 71d92347b0c084c2b6aa1daa6a83d31c48e958a0 (patch) | |
tree | 2497288fe16d0c6a8238df5bae7b740167fcd2d9 /tests/test_bcrypt.py | |
parent | 7a4a24256274568f6b9734bcf70eda95b5f54cd9 (diff) | |
download | py-bcrypt-git-71d92347b0c084c2b6aa1daa6a83d31c48e958a0.tar.gz |
Update our python versions to be consistent (#241)
Diffstat (limited to 'tests/test_bcrypt.py')
-rw-r--r-- | tests/test_bcrypt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_bcrypt.py b/tests/test_bcrypt.py index 6b61576..0c4ac47 100644 --- a/tests/test_bcrypt.py +++ b/tests/test_bcrypt.py @@ -450,8 +450,8 @@ def test_kdf_warn_rounds(): @pytest.mark.parametrize( ("password", "salt", "desired_key_bytes", "rounds", "error"), [ - (u"pass", b"$2b$04$cVWp4XaNU8a4v1uMRum2SO", 10, 10, TypeError), - (b"password", u"salt", 10, 10, TypeError), + ("pass", b"$2b$04$cVWp4XaNU8a4v1uMRum2SO", 10, 10, TypeError), + (b"password", "salt", 10, 10, TypeError), (b"", b"$2b$04$cVWp4XaNU8a4v1uMRum2SO", 10, 10, ValueError), (b"password", b"", 10, 10, ValueError), (b"password", b"$2b$04$cVWp4XaNU8a4v1uMRum2SO", 0, 10, ValueError), |