Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Aug 1, 2022
1 parent dd3a6a9 commit c0051d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import random
import string
import datetime
import itertools
import http.cookiejar

sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
Expand Down Expand Up @@ -555,7 +556,7 @@ def gen_2():

def assertEqual(it1, it2):
ae = self.assertEqual
for i1, i2 in zip(it1, it2, strict=True):
for i1, i2 in itertools.zip_longest(it1, it2):
ae(i1, i2)

assertEqual(
Expand Down

0 comments on commit c0051d7

Please sign in to comment.