Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Don't change for twisted.logging objects
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Oct 30, 2019
1 parent 30fc6c8 commit a62b106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/logging/test_terse_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def test_log_backpressure_info(self):

# Send a bunch of useful messages
for i in range(0, 10):
logger.warning("test warn %s" % (i,))
logger.warn("test warn %s" % (i,))

# Send a bunch of info messages
for i in range(0, 3):
Expand Down Expand Up @@ -220,7 +220,7 @@ def test_log_backpressure_cut_middle(self):

# Send a bunch of useful messages
for i in range(0, 20):
logger.warning("test warn", num=i)
logger.warn("test warn", num=i)

# Allow the reconnection
client, server = connect_client(self.reactor, 0)
Expand Down

0 comments on commit a62b106

Please sign in to comment.