Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nosetests fail with python3 #45

Open
brmzkw opened this issue Sep 24, 2013 · 0 comments
Open

nosetests fail with python3 #45

brmzkw opened this issue Sep 24, 2013 · 0 comments

Comments

@brmzkw
Copy link
Contributor

brmzkw commented Sep 24, 2013

python setup.py nosetests fail. The problem has been introduced on dcf62b4

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")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant