Answer principles round 1: 1 🔴, 7 🟡 (0 misread); every effect is handed in as an argument, no test patches a global, and the traces principle scopes tools that run on their user's machine
CI / tests (pull_request) Successful in 3m43s
CI / tests (pull_request) Successful in 3m43s
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
"""What the suites that compress a file share: compress, bound to what really compresses, writes and flushes."""
|
||||
import functools
|
||||
import gzip
|
||||
import os
|
||||
|
||||
from text_files import compressed
|
||||
from text_files.file_writes import replace_file
|
||||
|
||||
# A test names pack, replace or sync to swap that one.
|
||||
compress = functools.partial(compressed.compress, pack=gzip.compress, replace=replace_file, sync=os.fsync)
|
||||
Reference in New Issue
Block a user