Skip to content

Commit b8dd8b0

Browse files
committed
Fix test asserted arguments
1 parent e9a428c commit b8dd8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/tests/test_sandbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def write_file():
127127
cmd, args, kwargs = caught.value.args
128128
assert cmd == 'open'
129129
assert args == ('/etc/foo', 'w')
130-
assert kwargs == {}
130+
assert kwargs == {"encoding": locale.getpreferredencoding(False)}
131131

132132
msg = str(caught.value)
133133
assert 'open' in msg

0 commit comments

Comments
 (0)