We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2523bc2 commit 69eb3b3Copy full SHA for 69eb3b3
1 file changed
tests/test_hash.py
@@ -186,5 +186,8 @@ def test_hash_simple_lambda():
186
187
188
def test_hash_lambda_only_body():
189
- lambda_hash = getsourcehash(lambda x: x, only_body=True)
190
- assert lambda_hash == '91MJ41'
+ first_hash = getsourcehash(lambda x: x, only_body=True)
+ second_hash = getsourcehash(lambda x, y: x, only_body=True)
191
+
192
+ assert first_hash == '91MJ41'
193
+ assert first_hash == second_hash
0 commit comments