[Python-modules-commits] [djangorestframework] 04/07: Python3.5 fix
Brian May
bam at moszumanska.debian.org
Wed Nov 18 21:59:32 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 41637c0e442bedbc2f214ca9193affd4dba440c8
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