forked from pool/python-wsaccel
- Initial commit, needed by autobahn OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsaccel?expand=0&rev=1
12 lines
492 B
Diff
12 lines
492 B
Diff
Index: wsaccel-0.6.2/tests/test_4.py
|
|
===================================================================
|
|
--- wsaccel-0.6.2.orig/tests/test_4.py
|
|
+++ wsaccel-0.6.2/tests/test_4.py
|
|
@@ -3,5 +3,5 @@ import wsaccel.utf8validator
|
|
|
|
def test_validate():
|
|
v = wsaccel.utf8validator.Utf8Validator()
|
|
- x = "Hello-µ@ßöäüàá-UTF-8!!" # taken from case 6.2.1
|
|
+ x = "Hello-µ@ßöäüàá-UTF-8!!".encode('utf-8') # taken from case 6.2.1
|
|
assert v.validate(x) == (True, True, 29, 29)
|