Browse Source

tests passing

Ask Solem 11 years ago
parent
commit
865792a235
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/tests/backends/test_base.py

+ 1 - 1
celery/tests/backends/test_base.py

@@ -29,7 +29,7 @@ class wrapobject(object):
     def __init__(self, *args, **kwargs):
     def __init__(self, *args, **kwargs):
         self.args = args
         self.args = args
 
 
-if sys.version_info[0] == 3 or getattr(sys, 'pypy_version_info'):
+if sys.version_info[0] == 3 or getattr(sys, 'pypy_version_info', None):
     Oldstyle = None
     Oldstyle = None
 else:
 else:
     Oldstyle = types.ClassType('Oldstyle', (), {})
     Oldstyle = types.ClassType('Oldstyle', (), {})