mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #33476 -- Reformatted code with Black.
This commit is contained in:
committed by
Mariusz Felisiak
parent
f68fa8b45d
commit
9c19aff7c7
@@ -6,9 +6,8 @@ from django.utils.functional import SimpleLazyObject
|
||||
|
||||
|
||||
class TestUtilsSimpleLazyObjectDjangoTestCase(TestCase):
|
||||
|
||||
def test_pickle(self):
|
||||
user = User.objects.create_user('johndoe', 'john@example.com', 'pass')
|
||||
user = User.objects.create_user("johndoe", "john@example.com", "pass")
|
||||
x = SimpleLazyObject(lambda: user)
|
||||
pickle.dumps(x)
|
||||
# Try the variant protocol levels.
|
||||
|
||||
Reference in New Issue
Block a user