Skip to content

Commit

Permalink
Merge pull request #1096 from mhsmith/extract-packages-unc-2
Browse files Browse the repository at this point in the history
Correct Python version where UNC path parsing changed
  • Loading branch information
freakboy3742 authored Feb 12, 2023
2 parents 5a21ce4 + 2ae11e8 commit 12525af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions changes/1096.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correct Python version where UNC path parsing changed
9 changes: 5 additions & 4 deletions tests/platforms/android/gradle/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,12 @@ def test_version_code(create_command, first_app_config, version, build, version_
extract_packages_params += [
(
["//leading"],
""
if sys.platform == "win32" and sys.version_info >= (3, 11, 2)
else '"leading"',
"" if sys.platform == "win32" and sys.version_info >= (3, 12) else '"leading"',
),
(
["//leading/two"],
"" if sys.platform == "win32" else '"two"',
),
(["//leading/two"], "" if sys.platform == "win32" else '"two"'),
(["//leading/two/three"], '"three"'),
(["//leading/two/three/four"], '"four"'),
]
Expand Down

0 comments on commit 12525af

Please sign in to comment.