From 3763a7409cfd84575f5839d9eaf2e0abb9cbc9f7 Mon Sep 17 00:00:00 2001 From: Karthikeyan Singaravelan Date: Tue, 21 Apr 2020 14:16:20 +0000 Subject: [PATCH] Fix syntax warning over comparison of literals using is. --- tests/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_models.py b/tests/test_models.py index 0c3295c..ba966b6 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -22,4 +22,4 @@ def test_expire_data(self): operation.id = 3 operation.save() operation = CSVOperation.objects.get(pk=operation_id) - assert operation.data.name is '' + assert operation.data.name == ''