summaryrefslogtreecommitdiff
path: root/tests/custom_pk
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-09-08 12:20:01 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-09-08 12:20:01 -0700
commit9d11522599bb9f9fd6ad22c15c6168a4f2ac9b4e (patch)
tree03b3c757f57ff71d96d295fb7faf57baadedc36c /tests/custom_pk
parentc687bf0620d67e0579302515904ffe169581d036 (diff)
downloaddjango-9d11522599bb9f9fd6ad22c15c6168a4f2ac9b4e.tar.gz
Removed some more unused local vars
Diffstat (limited to 'tests/custom_pk')
-rw-r--r--tests/custom_pk/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/custom_pk/tests.py b/tests/custom_pk/tests.py
index 59bc64754f..a452561edb 100644
--- a/tests/custom_pk/tests.py
+++ b/tests/custom_pk/tests.py
@@ -141,12 +141,12 @@ class CustomPKTests(TestCase):
def test_unicode_pk(self):
# Primary key may be unicode string
- bus = Business.objects.create(name='jaźń')
+ Business.objects.create(name='jaźń')
def test_unique_pk(self):
# The primary key must also obviously be unique, so trying to create a
# new object with the same primary key will fail.
- e = Employee.objects.create(
+ Employee.objects.create(
employee_code=123, first_name="Frank", last_name="Jones"
)
sid = transaction.savepoint()