[Python-modules-commits] [djangorestframework] 02/04: Python3.5 fix
Brian May
bam at moszumanska.debian.org
Fri Oct 23 00:43:56 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 1970717a354a3feceb128626f14e8ef97db9d4f0
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 f4b381a..2c8fe8d 100644
--- a/tests/test_request.py
+++ b/tests/test_request.py
@@ -266,7 +266,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