From e8047ce3a9fd3476f1ada0b3bdd78b4016d622c7 Mon Sep 17 00:00:00 2001 From: Brian May Date: Wed, 2 Mar 2016 18:38:43 +1100 Subject: [PATCH] Fixed Python 3 issue --- sshuttle/tests/test_methods_pf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshuttle/tests/test_methods_pf.py b/sshuttle/tests/test_methods_pf.py index 61d719e..b12cdf5 100644 --- a/sshuttle/tests/test_methods_pf.py +++ b/sshuttle/tests/test_methods_pf.py @@ -192,7 +192,7 @@ def test_setup_firewall_darwin(mock_pf_get_dev, mock_ioctl, mock_pfctl): call(mock_pf_get_dev(), 0xCC20441A, ANY), ] assert mock_pfctl.mock_calls == [ - call('-f /dev/stdin', 'pass on lo\n'), + call('-f /dev/stdin', b'pass on lo\n'), call('-s all'), call('-a sshuttle -f /dev/stdin', b'table {!1.2.3.66/32,1.2.3.0/24}\n'