Skip to content

Commit 4f11641

Browse files
authored
Merge pull request #63 from diskovod/patch-4
Update test.py (Due to changes in Python3.8 where Python 3.8 will try to warn you about cases when you should use == instead of is (!= instead of is not))
2 parents 33d777a + cebe1e6 commit 4f11641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_get_with_id_filter(self):
7272

7373
def test_post_with_no_param(self):
7474
result = self.client.sender.create(data={}).json()
75-
self.assertTrue('StatusCode' in result and result['StatusCode'] is not 400)
75+
self.assertTrue('StatusCode' in result and result['StatusCode'] == 400)
7676

7777
def test_client_custom_version(self):
7878
self.client = Client(

0 commit comments

Comments
 (0)