diff --git a/src/_zkapauthorizer/tests/test_storage_protocol.py b/src/_zkapauthorizer/tests/test_storage_protocol.py index 3f324e64700eb7403fec1f7103ac22614491f456..569f852561669862a88ca277254822d3b93df3b3 100644 --- a/src/_zkapauthorizer/tests/test_storage_protocol.py +++ b/src/_zkapauthorizer/tests/test_storage_protocol.py @@ -158,20 +158,6 @@ class RequiredPassesTests(TestCase): ) -from allmydata.storage.immutable import ShareFile -orig_ShareFile__init__ = ShareFile.__init__ -def ShareFile__init__(self, filename, max_size=None, create=False): - print("ShareFile(filename={}, max_size={}, create={})".format( - filename, - max_size, - create, - )) - orig_ShareFile__init__(self, filename, max_size, create) - with open(self.home) as f: - print("Home: {!r}".format(f.read(12))) -ShareFile.__init__ = ShareFile__init__ -del ShareFile - class ShareTests(TestCase): """ Tests for interaction with shares.