Skip to content

Commit

Permalink
merge py-pdf#1413
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz committed Oct 30, 2022
1 parent 1952e1b commit b3c5505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ def test_readStringFromStream_performance():
Runs < 100ms on a 2019 notebook. Takes 10 seconds prior to #1350.
"""
stream = BytesIO(b"(" + b"".join([b"x"] * 1024 * 256) + b")")
start = time.time()
start = time.process_time()
assert read_string_from_stream(stream)
end = time.time()
end = time.process_time()
assert end - start < 2, test_readStringFromStream_performance.__doc__


Expand Down

0 comments on commit b3c5505

Please sign in to comment.