Skip to content

Commit e8047ce

Browse files
committed
Fixed Python 3 issue
1 parent fae4cb1 commit e8047ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sshuttle/tests/test_methods_pf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def test_setup_firewall_darwin(mock_pf_get_dev, mock_ioctl, mock_pfctl):
192192
call(mock_pf_get_dev(), 0xCC20441A, ANY),
193193
]
194194
assert mock_pfctl.mock_calls == [
195-
call('-f /dev/stdin', 'pass on lo\n'),
195+
call('-f /dev/stdin', b'pass on lo\n'),
196196
call('-s all'),
197197
call('-a sshuttle -f /dev/stdin',
198198
b'table <forward_subnets> {!1.2.3.66/32,1.2.3.0/24}\n'

0 commit comments

Comments
 (0)