Commits

Anonymous committed d461974

The __enter__ method of a context manager should take no arguments

Comments (0)

Files changed (1)

 from itertools import count
 from functools import reduce
 
-__version__ = '0.1.2dev'
+__version__ = '0.1.1dev'
 
 
 class Factory(object):
         self.teardown_complete(torndown)
         self.factoryoptions = {}
 
-    def __enter__(self, *args, **kwargs):
-        return self.setup(*args, **kwargs)
+    def __enter__(self):
+        return self.setup()
 
     def __exit__(self, type, value, tb):
         if type: