-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Skip hanging requests test * [1.26] Backport downstream tests improvements This will run tests every time to catch regression earlier.
- Loading branch information
Showing
4 changed files
with
49 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Downstream | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
permissions: "read-all" | ||
|
||
jobs: | ||
downstream: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
downstream: [botocore, requests] | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Setup Python" | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: "Install dependencies" | ||
run: python -m pip install --upgrade nox | ||
|
||
- name: "Run downstream tests" | ||
run: nox -s downstream_${{ matrix.downstream }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/tests/test_requests.py b/tests/test_requests.py | ||
index b4e9fe92..b150bb3f 100644 | ||
--- a/tests/test_requests.py | ||
+++ b/tests/test_requests.py | ||
@@ -914,6 +914,7 @@ class TestRequests: | ||
def test_unicode_get(self, httpbin, url, params): | ||
requests.get(httpbin(url), params=params) | ||
|
||
+ @pytest.mark.skip(reason="https://github.com/psf/requests/issues/6734#issuecomment-2173121514") | ||
def test_unicode_header_name(self, httpbin): | ||
requests.put( | ||
httpbin("put"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters