Skip to content

Commit

Permalink
tests: adapt tests to cosmetic changes caused by poetry-core#821
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering committed Jan 20, 2025
1 parent f907d2d commit 2f577d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 27 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 13 additions & 26 deletions tests/puzzle/test_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2027,42 +2027,29 @@ def test_solver_duplicate_dependencies_with_overlapping_markers_complex(
' and platform_machine == "arm64" or python_version >= "3.10"'
),
(
'numpy (>=1.19.3) ; python_version >= "3.9" and python_version < "3.10"'
' and platform_system != "Darwin" or python_version >= "3.9"'
' and python_version < "3.10" and platform_machine != "arm64"'
' or platform_system == "Linux" and python_version < "3.10"'
' and platform_machine == "aarch64" and python_version >= "3.6"'
'numpy (>=1.19.3) ; python_version >= "3.6"'
' and (platform_system == "Linux" or python_version >= "3.9")'
' and python_version < "3.10"'
' and (platform_system != "Darwin" or platform_machine != "arm64")'
' and (platform_machine == "aarch64" or python_version >= "3.9")'
),
(
'numpy (>=1.17.3) ; python_version < "3.9"'
' and platform_system != "Darwin" and platform_system != "Linux"'
' and python_version >= "3.8" or python_version < "3.9"'
' and platform_system != "Darwin" and python_version >= "3.8"'
' and platform_machine != "aarch64" or python_version < "3.9"'
' and platform_machine != "arm64" and python_version >= "3.8"'
' and platform_system != "Linux" or python_version < "3.9"'
' and platform_machine != "arm64" and platform_machine != "aarch64"'
' and (platform_system != "Darwin" or platform_machine != "arm64")'
' and python_version >= "3.8"'
' and (platform_system != "Linux" or platform_machine != "aarch64")'
),
(
'numpy (>=1.14.5) ; python_version < "3.8"'
' and platform_system != "Darwin" and platform_system != "Linux"'
' and python_version >= "3.7" or python_version < "3.8"'
' and platform_system != "Darwin" and python_version >= "3.7"'
' and platform_machine != "aarch64" or python_version < "3.8"'
' and platform_machine != "arm64" and python_version >= "3.7"'
' and platform_system != "Linux" or python_version < "3.8"'
' and platform_machine != "arm64" and platform_machine != "aarch64"'
' and (platform_system != "Darwin" or platform_machine != "arm64")'
' and python_version >= "3.7"'
' and (platform_system != "Linux" or platform_machine != "aarch64")'
),
(
'numpy (>=1.13.3) ; python_version < "3.6" or python_version < "3.7"'
' and platform_system != "Darwin" and platform_system != "Linux"'
' or python_version < "3.7" and platform_system != "Darwin"'
' and platform_machine != "aarch64" or python_version < "3.7"'
' and platform_machine != "arm64" and platform_system != "Linux"'
' or python_version < "3.7" and platform_machine != "arm64"'
' and platform_machine != "aarch64"'
'numpy (>=1.13.3) ; python_version < "3.7"'
' and (python_version < "3.6" or platform_system != "Darwin"'
' or platform_machine != "arm64") and (python_version < "3.6"'
' or platform_system != "Linux" or platform_machine != "aarch64")'
),
},
)
Expand Down

0 comments on commit 2f577d7

Please sign in to comment.