@@ -111,16 +111,16 @@ def _write_large_file(self, fh):
111111 (num , self .datacount )), file = sys .__stdout__ )
112112 sys .__stdout__ .flush ()
113113
114- def test_clean_removed_large_file (self ):
114+ def test_strip_removed_large_file (self ):
115115 """Should move the physical data of a file positioned after a large
116116 removed file without causing a memory issue."""
117117 # Try the temp file. If we do TESTFN2, then it hogs
118118 # gigabytes of disk space for the duration of the test.
119119 with TemporaryFile () as f :
120- self ._test_clean_removed_large_file (f )
120+ self ._test_strip_removed_large_file (f )
121121 self .assertFalse (f .closed )
122122
123- def _test_clean_removed_large_file (self , f ):
123+ def _test_strip_removed_large_file (self , f ):
124124 file = 'file.txt'
125125 file1 = 'largefile.txt'
126126 data = b'Sed ut perspiciatis unde omnis iste natus error sit voluptatem'
@@ -134,16 +134,16 @@ def _test_clean_removed_large_file(self, f):
134134 zh .repack ()
135135 self .assertIsNone (zh .testzip ())
136136
137- def test_clean_removed_file_before_large_file (self ):
137+ def test_strip_removed_file_before_large_file (self ):
138138 """Should move the physical data of a large file positioned after a
139139 removed file without causing a memory issue."""
140140 # Try the temp file. If we do TESTFN2, then it hogs
141141 # gigabytes of disk space for the duration of the test.
142142 with TemporaryFile () as f :
143- self ._test_clean_removed_file_before_large_file (f )
143+ self ._test_strip_removed_file_before_large_file (f )
144144 self .assertFalse (f .closed )
145145
146- def _test_clean_removed_file_before_large_file (self , f ):
146+ def _test_strip_removed_file_before_large_file (self , f ):
147147 file = 'file.txt'
148148 file1 = 'largefile.txt'
149149 data = b'Sed ut perspiciatis unde omnis iste natus error sit voluptatem'
@@ -157,16 +157,16 @@ def _test_clean_removed_file_before_large_file(self, f):
157157 zh .repack ()
158158 self .assertIsNone (zh .testzip ())
159159
160- def test_clean_removed_large_file_with_dd (self ):
160+ def test_strip_removed_large_file_with_dd (self ):
161161 """Should scan for the data descriptor of a removed large file without
162162 causing a memory issue."""
163163 # Try the temp file. If we do TESTFN2, then it hogs
164164 # gigabytes of disk space for the duration of the test.
165165 with TemporaryFile () as f :
166- self ._test_clean_removed_large_file_with_dd (f )
166+ self ._test_strip_removed_large_file_with_dd (f )
167167 self .assertFalse (f .closed )
168168
169- def _test_clean_removed_large_file_with_dd (self , f ):
169+ def _test_strip_removed_large_file_with_dd (self , f ):
170170 file = 'file.txt'
171171 file1 = 'largefile.txt'
172172 data = b'Sed ut perspiciatis unde omnis iste natus error sit voluptatem'
@@ -184,16 +184,16 @@ def _test_clean_removed_large_file_with_dd(self, f):
184184 zh .repack ()
185185 self .assertIsNone (zh .testzip ())
186186
187- def test_clean_removed_large_file_with_dd_no_sig (self ):
187+ def test_strip_removed_large_file_with_dd_no_sig (self ):
188188 """Should scan for the data descriptor (without signature) of a removed
189189 large file without causing a memory issue."""
190190 # Try the temp file. If we do TESTFN2, then it hogs
191191 # gigabytes of disk space for the duration of the test.
192192 with TemporaryFile () as f :
193- self ._test_clean_removed_large_file_with_dd_no_sig (f )
193+ self ._test_strip_removed_large_file_with_dd_no_sig (f )
194194 self .assertFalse (f .closed )
195195
196- def _test_clean_removed_large_file_with_dd_no_sig (self , f ):
196+ def _test_strip_removed_large_file_with_dd_no_sig (self , f ):
197197 # Reduce data to 400 MiB for this test, as it's especially slow...
198198 self .datacount = 400 * 1024 ** 2 // len (self .data )
199199
0 commit comments