Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ def test_add_timeout(self):
# Once recorded it takes 0.001 seconds to run it, so 1 second should be a large enough value
timeout = 1
self.gc.set_timeout(timeout)
# the client fixture is module-scoped, restore the default timeout so it
# does not leak into the tests that run after this one
# this fixes issue #1594
self.addCleanup(self.gc.set_timeout, None)
start = time.time()
self.spreadsheet.fetch_sheet_metadata()
end = time.time()
Expand Down
Loading