File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_py26(session):
1616 session .run (
1717 py_cmd , '-2.6' , '-c' ,
1818 f"import sys ; sys.path.insert(0, r'{ src_dir } ') ;" # allow import mod from src
19- f'import { mod_name } ; print({ mod_name } )'
19+ f'import { mod_name } , json ; print(json.dumps( { mod_name } ) )'
2020 )
2121 clean (session , '--py2' )
2222
You can’t perform that action at this time.
0 commit comments