mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Fix a small issue created in #1398
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from os.path import join, sep as s
|
from os.path import join, sep as s, dirname
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from textwrap import dedent
|
from textwrap import dedent
|
||||||
@@ -165,7 +165,7 @@ f2 = join(root_dir, 'test', 'example.py')
|
|||||||
os_path = 'from os.path import *\n'
|
os_path = 'from os.path import *\n'
|
||||||
# os.path.sep escaped
|
# os.path.sep escaped
|
||||||
se = s * 2 if s == '\\' else s
|
se = s * 2 if s == '\\' else s
|
||||||
current_dirname = os.path.basename(os.path.abspath(os.path.curdir))
|
current_dirname = os.path.basename(dirname(dirname(dirname(__file__))))
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
|||||||
Reference in New Issue
Block a user