Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
341f04e3
Commit
341f04e3
authored
Apr 13, 2021
by
Arun Babu Neelicattu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: use env.python instead of env._bin("python")
parent
16031f05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/masonry/builders/test_editable_builder.py
+3
-3
No files found.
tests/masonry/builders/test_editable_builder.py
View file @
341f04e3
...
@@ -153,7 +153,7 @@ from bar import baz
...
@@ -153,7 +153,7 @@ from bar import baz
if __name__ == '__main__':
if __name__ == '__main__':
baz.boom.bim()
baz.boom.bim()
"""
.
format
(
"""
.
format
(
python
=
tmp_venv
.
_bin
(
"python"
)
python
=
tmp_venv
.
python
)
)
assert
baz_script
==
tmp_venv
.
_bin_dir
.
joinpath
(
"baz"
)
.
read_text
()
assert
baz_script
==
tmp_venv
.
_bin_dir
.
joinpath
(
"baz"
)
.
read_text
()
...
@@ -165,7 +165,7 @@ from foo import bar
...
@@ -165,7 +165,7 @@ from foo import bar
if __name__ == '__main__':
if __name__ == '__main__':
bar()
bar()
"""
.
format
(
"""
.
format
(
python
=
tmp_venv
.
_bin
(
"python"
)
python
=
tmp_venv
.
python
)
)
assert
foo_script
==
tmp_venv
.
_bin_dir
.
joinpath
(
"foo"
)
.
read_text
()
assert
foo_script
==
tmp_venv
.
_bin_dir
.
joinpath
(
"foo"
)
.
read_text
()
...
@@ -177,7 +177,7 @@ from fuz.foo import bar
...
@@ -177,7 +177,7 @@ from fuz.foo import bar
if __name__ == '__main__':
if __name__ == '__main__':
bar.baz()
bar.baz()
"""
.
format
(
"""
.
format
(
python
=
tmp_venv
.
_bin
(
"python"
)
python
=
tmp_venv
.
python
)
)
assert
fox_script
==
tmp_venv
.
_bin_dir
.
joinpath
(
"fox"
)
.
read_text
()
assert
fox_script
==
tmp_venv
.
_bin_dir
.
joinpath
(
"fox"
)
.
read_text
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment