mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 08:43:51 +08:00
Get rid of Python's universal newlines for refactoring
This commit is contained in:
1 parent
0a1de619b4
commit
a2b8c44e8f
3 files changed
+8
-8
No files matched your search
@@ -15,7 +15,7 @@ def skip_old_python(skip_pre_python36):
|
||||
|
||||
@pytest.fixture()
|
||||
def dir_with_content(tmpdir):
|
||||
with open(os.path.join(tmpdir.strpath, 'modx.py'), 'w') as f:
|
||||
with open(os.path.join(tmpdir.strpath, 'modx.py'), 'w', newline='') as f:
|
||||
f.write('import modx\nfoo\n') # self reference
|
||||
return tmpdir.strpath
|
||||
|
||||
|
||||
Reference in new issue
Block a user