flask-classy
flask-classy copied to clipboard
nosetests fail with python3
python setup.py nosetests fail. The problem has been introduced on dcf62b46f0d
This patch fixes the problem.
diff --git a/test_classy/test_endpoints.py b/test_classy/test_endpoints.py index 1584c10..482e7d6 100644 --- a/test_classy/test_endpoints.py +++ b/test_classy/test_endpoints.py @@ -44,4 +44,4 @@ def test_variable_route_base(): def test_variable_route_base_with_local_route_var(): client = app.test_client() resp = client.get('/var-base-route/bar/local/baz') - eq_(resp.data, "bar baz") + eq_(resp.data, b"bar baz")