Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pyflakes happy, comment out unused python unit test variable dec… #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

david415
Copy link
Member

…larations


def measure_sleep(x, clock):
st = clock()
#st = clock()
time.sleep(x)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about just deleting calib_clock instead? It has no callers as far as I can tell. What good is it?

sig_R,sig_S = sig[:32],sig[32:]
newsig_R,newsig_S = newsig[:32],newsig[32:]
#sig_R,sig_S = sig[:32],sig[32:]
#newsig_R,newsig_S = newsig[:32],newsig[32:]
self.failUnlessEqual(hexlify(newsig), hexlify(sig)) # deterministic sigs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say just delete the lines, instead. Alternatively, rewrite them as English comments. "The first 32 bytes of sig are .... The rest of the bytes are ...".

Copy link

@jayvdb jayvdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with previous review comments.

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.

3 participants