Merge pull request #3704 from jackwardell/no-self-required

swapping self.assert_equal for assert
This commit is contained in:
David Lord 2020-07-28 07:10:13 -07:00 committed by GitHub
commit f31a8ce4bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,7 +316,7 @@ And then to use it::
with app.test_client() as c:
resp = c.get('/users/me')
data = json.loads(resp.data)
self.assert_equal(data['username'], my_user.username)
assert data['username'] == my_user.username
Keeping the Context Around