File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -367,15 +367,15 @@ def test_with_bytearray(self):
367
367
digestmod = "sha256" )
368
368
except Exception :
369
369
self .fail ("Constructor call with bytearray arguments raised exception." )
370
- self .assertEqual (h .hexdigest (), self .expected )
370
+ self .assertEqual (h .hexdigest (), self .expected )
371
371
372
372
@requires_hashdigest ('sha256' )
373
373
def test_with_memoryview_msg (self ):
374
374
try :
375
375
h = hmac .HMAC (b"key" , memoryview (b"hash this!" ), digestmod = "sha256" )
376
376
except Exception :
377
377
self .fail ("Constructor call with memoryview msg raised exception." )
378
- self .assertEqual (h .hexdigest (), self .expected )
378
+ self .assertEqual (h .hexdigest (), self .expected )
379
379
380
380
@requires_hashdigest ('sha256' )
381
381
def test_withmodule (self ):
You can’t perform that action at this time.
0 commit comments