use binary mode
This commit is contained in:
parent
8b866aa065
commit
22335acd09
|
@ -288,7 +288,7 @@ class TestRewriteOnImport:
|
|||
sub.join("test_readonly.py").write("""
|
||||
def test_rewritten():
|
||||
assert "@py_builtins" in globals()
|
||||
""")
|
||||
""", "wb")
|
||||
sub.chmod(320)
|
||||
assert testdir.runpytest().ret == 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue