def degree(self, nbunch=None, weight=None):
        if nbunch in self:      # return a single node
            return next(self.degree_iter(nbunch,weight))[1]
        else:           # return a dict
            return dict(self.degree_iter(nbunch,weight))
Test pip shows itself
dataset/ETHPy150Open networkx/networkx/networkx/classes/tests/timingclasses.py/TimingGraph.degree--crossover with--dataset/ETHPy150Open pypa/pip/tests/functional/test_freeze.py/test_freeze_with_pip