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
35044652
Unverified
Commit
35044652
authored
Nov 05, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests for Python <3.5
parent
bdcffe5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
tests/repositories/test_legacy_repository.py
+11
-8
No files found.
tests/repositories/test_legacy_repository.py
View file @
35044652
...
...
@@ -10,6 +10,7 @@ from poetry.packages import Dependency
from
poetry.repositories.exceptions
import
PackageNotFound
from
poetry.repositories.legacy_repository
import
LegacyRepository
from
poetry.repositories.legacy_repository
import
Page
from
poetry.utils._compat
import
PY35
from
poetry.utils._compat
import
Path
...
...
@@ -84,11 +85,13 @@ def test_get_package_information_fallback_read_setup():
package
.
description
==
"Jupyter metapackage. Install all the Jupyter components in one go."
)
assert
package
.
requires
==
[
Dependency
(
"notebook"
,
"*"
),
Dependency
(
"qtconsole"
,
"*"
),
Dependency
(
"jupyter-console"
,
"*"
),
Dependency
(
"nbconvert"
,
"*"
),
Dependency
(
"ipykernel"
,
"*"
),
Dependency
(
"ipywidgets"
,
"*"
),
]
if
PY35
:
assert
package
.
requires
==
[
Dependency
(
"notebook"
,
"*"
),
Dependency
(
"qtconsole"
,
"*"
),
Dependency
(
"jupyter-console"
,
"*"
),
Dependency
(
"nbconvert"
,
"*"
),
Dependency
(
"ipykernel"
,
"*"
),
Dependency
(
"ipywidgets"
,
"*"
),
]
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