diff options
author | Tim Graham <timograham@gmail.com> | 2013-10-10 11:07:48 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2013-10-10 11:09:42 -0400 |
commit | adedc310729f7b1ca182b7b38d7d47550ae3e89d (patch) | |
tree | 89ae4ff6019d24d7ffb1e14ea3ae860c8522d31f /tests/m2m_and_m2o | |
parent | cec11a3336c730e6dc2f1966fee749cc830e97c0 (diff) | |
download | django-adedc310729f7b1ca182b7b38d7d47550ae3e89d.tar.gz |
Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.
Diffstat (limited to 'tests/m2m_and_m2o')
-rw-r--r-- | tests/m2m_and_m2o/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/m2m_and_m2o/tests.py b/tests/m2m_and_m2o/tests.py index 0380ad4b08..646212bf4f 100644 --- a/tests/m2m_and_m2o/tests.py +++ b/tests/m2m_and_m2o/tests.py @@ -74,7 +74,7 @@ class RelatedObjectTests(TestCase): lambda i: i.num ) -class RelatedObjectTests(TestCase): +class RelatedObjectUnicodeTests(TestCase): def test_m2m_with_unicode_reference(self): """ Regression test for #6045: references to other models can be unicode @@ -85,4 +85,3 @@ class RelatedObjectTests(TestCase): m2.others.add(m1) # used to cause an error (see ticket #6045) m2.save() list(m2.others.all()) # Force retrieval. - |