Skip to content

Commit

Permalink
remove py3k version check
Browse files Browse the repository at this point in the history
  • Loading branch information
toddsifleet committed Nov 19, 2014
1 parent 66b8337 commit 34865dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doubles/proxy_method.py
Expand Up @@ -24,7 +24,7 @@ def _restore__new__(target, original_method):
:param class target: The class to restore __new__ on
:param func original_method: The method to set __new__ to
"""
if isbuiltin(original_method) and sys.version_info >= (3, 0):
if isbuiltin(original_method):
@wraps(original_method)
def _new(cls, *args, **kwargs):
return original_method(cls)
Expand Down

0 comments on commit 34865dd

Please sign in to comment.