Skip to content

Commit b45a8b5

Browse files
committed
Fix FakeFile mock not having encoding= arg
1 parent 2fb5ac2 commit b45a8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class FakeFile():
106106
'from . import friend',
107107
]
108108

109-
def __init__(self, filename):
109+
def __init__(self, filename, encoding=None):
110110
pass
111111

112112
def read(self):

0 commit comments

Comments
 (0)