Skip to content
  • Damian Johnson's avatar
    Replace zope implements with implementer · c86157c8
    Damian Johnson authored and Philipp Winter's avatar Philipp Winter committed
    Personally I've never used zope, but these exceptions seem pretty clear...
    
      Traceback (most recent call last):
        File "/usr/local/lib/python3.5/dist-packages/twisted/trial/runner.py", line 823, in loadByName
          return self.suiteFactory([self.findByName(name, recurse=recurse)])
        ...
        File "/home/atagar/Desktop/tor/bridgedb/bridgedb/distribute.py", line 163, in Distributor
          implements(IDistribute)
        File "/usr/local/lib/python3.5/dist-packages/zope/interface/declarations.py", line 483, in implements
          raise TypeError(_ADVICE_ERROR % 'implementer')
      builtins.TypeError: Class advice impossible in Python3.  Use the @implementer class decorator instead.
    
    Test results changed as follows...
    
      before: FAILED (skips=2, failures=7, errors=144, successes=321)
      after:  FAILED (skips=2, failures=7, errors=143, successes=324)
    c86157c8