Skip to content

Replace deprecated clock() method by process_time()#29

Open
laurent-girod wants to merge 1 commit intogdanezis:masterfrom
spring-epfl:replace_clock_by_process_time
Open

Replace deprecated clock() method by process_time()#29
laurent-girod wants to merge 1 commit intogdanezis:masterfrom
spring-epfl:replace_clock_by_process_time

Conversation

@laurent-girod
Copy link
Copy Markdown

Hello,

Some tests fail because the method time.clock() was removed from Python 3.8.

I replaced the calls to this method by time.process_time() to measure the processing time. Additionally, process_time() should have an identical behavior across OSes.

Best regards,

Laurent Girod

@bamthomas
Copy link
Copy Markdown

Hello, would it be possible to release petlib because as we cannot release with pypi when there is a github commit id, we have all our depencies that remains with github commits.

Thank you,

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants