Skip to content

Commit a4b77bf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1d5f957 commit a4b77bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/_py/path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ def pyimport(self, modname=None, ensuresyspath=True):
12211221
mod.__file__ = str(self)
12221222
sys.modules[modname] = mod
12231223
try:
1224-
with open(str(self), 'rb') as f:
1224+
with open(str(self), "rb") as f:
12251225
exec(f.read(), mod.__dict__)
12261226
except:
12271227
del sys.modules[modname]

0 commit comments

Comments
 (0)