From 9a0487912966f2d55808016f8ba122ac231b1812 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 20 Oct 2015 21:08:21 +1100 Subject: [PATCH] Remove commented out extrainit Unused since 2012, and the docstring syntax is incorrect with four quotes. --- _pytest/main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/_pytest/main.py b/_pytest/main.py index e9ac57d8f..6454ba2ae 100644 --- a/_pytest/main.py +++ b/_pytest/main.py @@ -240,17 +240,11 @@ class Node(object): # used for storing artificial fixturedefs for direct parametrization self._name2pseudofixturedef = {} - #self.extrainit() - @property def ihook(self): """ fspath sensitive hook proxy used to call pytest hooks""" return self.session.gethookproxy(self.fspath) - #def extrainit(self): - # """"extra initialization after Node is initialized. Implemented - # by some subclasses. """ - Module = compatproperty("Module") Class = compatproperty("Class") Instance = compatproperty("Instance")