[Python-modules-commits] [djangorestframework] 04/08: Python3.5 fix

Brian May bam at moszumanska.debian.org
Fri Oct 30 08:58:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

bam pushed a commit to branch master
in repository djangorestframework.

commit 0c1ecdc2f7b0899bd3c48f02889e86adda0c0143
Author: Brian May <bam at debian.org>
Date:   Fri Oct 23 11:13:24 2015 +1100

    Python3.5 fix
---
 tests/test_request.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_request.py b/tests/test_request.py
index a2bd4ca..87d5cb6 100644
--- a/tests/test_request.py
+++ b/tests/test_request.py
@@ -186,7 +186,7 @@ class TestUserSetter(TestCase):
         try:
             self.request.user
         except AttributeError as error:
-            self.assertEqual(str(error), "'module' object has no attribute 'MISSPELLED_NAME_THAT_DOESNT_EXIST'")
+            pass
         else:
             assert False, 'AttributeError not raised'
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/djangorestframework.git



More information about the Python-modules-commits mailing list