Skip to content

Commit

Permalink
Merge pull request #206 from kbandla/issue156
Browse files Browse the repository at this point in the history
Fix the bug of test_constructor() in ip.py.
  • Loading branch information
kbandla committed Jul 18, 2015
2 parents d7684fe + 4bf57b7 commit 20692a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpkt/ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def test_constuctor():
assert (str(ip1) == str(ip3))
assert (str(ip1) == 'E\x00\x00 \x00\x00\x00\x00@\x00z\xdf\x00\x00\x00\x00\x00\x00\x00\x00Hello world!')
assert (str(ip2) == str(ip4))
assert (str(ip2) == 'E\x00\x00\x00\x00\x00\x00\x00@\x00z\xff\x00\x00\x00\x00\x00\x00\x00\x00Hello world!')
assert (str(ip2) == 'E\x00\x00 \x00\x00\x00\x00@\x00z\xdf\x00\x00\x00\x00\x00\x00\x00\x00Hello world!')

if __name__ == '__main__':
test_ip()
Expand Down

0 comments on commit 20692a0

Please sign in to comment.