diff options
author | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
commit | 96d1d4e29275f4f5900f0725975d2ad0a4d05816 (patch) | |
tree | 17b846e3b77f68fbb3b1dc7a2ff413f574c62ce1 /tests/model_regress | |
parent | 5f52590368063fc8284e23be492d83ba751f66bf (diff) | |
download | django-96d1d4e29275f4f5900f0725975d2ad0a4d05816.tar.gz |
Removed unused local variables in tests.
Diffstat (limited to 'tests/model_regress')
-rw-r--r-- | tests/model_regress/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_regress/tests.py b/tests/model_regress/tests.py index 8b58ed389e..7b901ae327 100644 --- a/tests/model_regress/tests.py +++ b/tests/model_regress/tests.py @@ -217,7 +217,7 @@ class ModelTests(TestCase): class ModelValidationTest(TestCase): def test_pk_validation(self): - one = NonAutoPK.objects.create(name="one") + NonAutoPK.objects.create(name="one") again = NonAutoPK(name="one") self.assertRaises(ValidationError, again.validate_unique) |