aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/netlib/test_utils.py')
-rw-r--r--test/netlib/test_utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/netlib/test_utils.py b/test/netlib/test_utils.py
index fcb63eb2..be2a59fc 100644
--- a/test/netlib/test_utils.py
+++ b/test/netlib/test_utils.py
@@ -166,3 +166,7 @@ class TestSerializable:
a.set_state(1)
assert a.i == 1
assert b.i == 42
+
+
+def test_safe_subn():
+ assert utils.safe_subn("foo", u"bar", "\xc2foo")