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

R4.0: qubes.tests.int shadows 'int' type in qubes.tests module #2241

Closed
marmarek opened this Issue Aug 9, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Aug 9, 2016

This is rather unfortunate - int(something) throws TypeError("'module' object is not callable").

For now I've used __builtin__.int, but we may want to rename this module...

@marmarek marmarek added this to the Release 4.0 milestone Aug 9, 2016

marmarek added a commit to marmarek/old-qubes-core-admin that referenced this issue Aug 9, 2016

tests: workaround 'int' name being shadowed by module name
qubes.tests.int shadows 'int' type in qubes.tests module.

QubesOS/qubes-issues#2241
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 26, 2017

Member

Done.

Member

marmarek commented Jun 26, 2017

Done.

@marmarek marmarek closed this Jun 26, 2017

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