repo string | instance_id string | html_url string | feature_patch string | test_patch string | doc_changes list | version string | base_commit string | PASS2PASS list | FAIL2PASS list | mask_doc_diff list | augmentations dict | problem_statement string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
psf/requests | psf__requests-5856 | https://github.com/psf/requests/pull/5856 | diff --git a/HISTORY.md b/HISTORY.md
index 59e4a9f707..ccf4e17400 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -4,7 +4,12 @@ Release History
dev
---
-- \[Short description of non-trivial change.\]
+- \[Short description of non-trivial change.\]
+
+- Added a `requests.exceptions.JSONDecodeError` to decrease inconsi... | diff --git a/tests/test_requests.py b/tests/test_requests.py
index b77cba007d..b6d97dd9f4 100644
--- a/tests/test_requests.py
+++ b/tests/test_requests.py
@@ -2570,4 +2570,9 @@ def test_parameters_for_nonstandard_schemes(self, input, params, expected):
def test_post_json_nan(self, httpbin):
data = {"foo":... | [
{
"path": "docs/user/quickstart.rst",
"old_path": "a/docs/user/quickstart.rst",
"new_path": "b/docs/user/quickstart.rst",
"metadata": "diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst\nindex b4649f00d5..73d0b2931a 100644\n--- a/docs/user/quickstart.rst\n+++ b/docs/user/quickstart.rst... | 2.26 | a1a6a549a0143d9b32717dbe3d75cd543ae5a4f6 | [
"tests/test_requests.py::TestRequests::test_invalid_url[InvalidSchema-localhost.localdomain:3128/]",
"tests/test_requests.py::TestRequests::test_params_bytes_are_encoded",
"tests/test_requests.py::TestTimeout::test_invalid_timeout[foo-must be an int, float or None]",
"tests/test_requests.py::TestRequests::tes... | [
"tests/test_requests.py::TestPreparingURLs::test_json_decode_compatibility"
] | [
{
"path": "docs/user/quickstart.rst",
"old_path": "a/docs/user/quickstart.rst",
"new_path": "b/docs/user/quickstart.rst",
"metadata": "diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst\nindex b4649f00..73d0b293 100644\n--- a/docs/user/quickstart.rst\n+++ b/docs/user/quickstart.rst\n@@... | {
"header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:",
"data": []
} | diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst
index b4649f00..73d0b293 100644
--- a/docs/user/quickstart.rst
+++ b/docs/user/quickstart.rst
@@ -153,9 +153,9 @@ There's also a builtin JSON decoder, in case you're dealing with JSON data::
In case the JSON decoding fails, ``r.json()`` raises an excep... |
pytest-dev/pytest | pytest-dev__pytest-2794 | https://github.com/pytest-dev/pytest/pull/2794 | diff --git a/AUTHORS b/AUTHORS
index cf31e038961..2fd2ab15e5d 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -166,6 +166,7 @@ Tarcisio Fischer
Tareq Alayan
Ted Xiao
Thomas Grainger
+Thomas Hisch
Tom Viner
Trevor Bekolay
Tyler Goodlet
diff --git a/_pytest/config.py b/_pytest/config.py
index 690f9858774..0d77cfbbf04 100644
... | diff --git a/testing/logging/test_fixture.py b/testing/logging/test_fixture.py
new file mode 100644
index 00000000000..b5bee4233a5
--- /dev/null
+++ b/testing/logging/test_fixture.py
@@ -0,0 +1,70 @@
+# -*- coding: utf-8 -*-
+import logging
+
+
+logger = logging.getLogger(__name__)
+sublogger = logging.getLogger(__name... | [
{
"path": "doc/en/contents.rst",
"old_path": "a/doc/en/contents.rst",
"new_path": "b/doc/en/contents.rst",
"metadata": "diff --git a/doc/en/contents.rst b/doc/en/contents.rst\nindex 028414eb658..12dbce2ee17 100644\n--- a/doc/en/contents.rst\n+++ b/doc/en/contents.rst\n@@ -30,6 +30,7 @@ Full pytest d... | 3.3 | 1480aed78122016f5b98d3bb2de3cfe272e0e148 | [
"testing/test_capture.py::TestCaptureFixture::test_stdfd_functional",
"testing/test_capture.py::test_capture_early_option_parsing",
"testing/test_capture.py::TestPerTestCapturing::test_capture_and_fixtures",
"testing/test_capture.py::test_setup_failure_does_not_kill_capturing",
"testing/test_capture.py::Tes... | [
"testing/logging/test_reporting.py::test_disable_log_capturing",
"testing/logging/test_fixture.py::test_record_tuples",
"testing/logging/test_fixture.py::test_clear",
"testing/logging/test_fixture.py::test_fixture_help",
"testing/logging/test_fixture.py::test_with_statement",
"testing/logging/test_reporti... | [
{
"path": "doc/en/contents.rst",
"old_path": "a/doc/en/contents.rst",
"new_path": "b/doc/en/contents.rst",
"metadata": "diff --git a/doc/en/contents.rst b/doc/en/contents.rst\nindex 6b9eed010..7a6570e0b 100644\n--- a/doc/en/contents.rst\n+++ b/doc/en/contents.rst\n@@ -30,6 +30,7 @@ Full pytest docum... | {
"header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:",
"data": [
{
"type": "file",
"name": "_pytest/logging.py"
},
{
"type": "field",
"name": "ret"
}
]
} | diff --git a/doc/en/contents.rst b/doc/en/contents.rst
index 6b9eed010..7a6570e0b 100644
--- a/doc/en/contents.rst
+++ b/doc/en/contents.rst
@@ -30,6 +30,7 @@ Full pytest documentation
xunit_setup
plugins
writing_plugins
+ logging
goodpractices
pythonpath
diff --git a/doc/en/logging.rst b/doc/e... |
matplotlib/matplotlib | matplotlib__matplotlib-18715 | https://github.com/matplotlib/matplotlib/pull/18715 | diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst
new file mode 100644
index 000000000000..02db8f6beb38
--- /dev/null
+++ b/doc/users/next_whats_new/auto_minor_tick.rst
@@ -0,0 +1,5 @@
+rcParams for ``AutoMinorLocator`` divisions
+----------------------------------... | diff --git a/lib/matplotlib/tests/test_ticker.py b/lib/matplotlib/tests/test_ticker.py
index 15981c4c9047..3d38df575f09 100644
--- a/lib/matplotlib/tests/test_ticker.py
+++ b/lib/matplotlib/tests/test_ticker.py
@@ -211,6 +211,60 @@ def test_additional(self, lim, ref):
assert_almost_equal(ax.yaxis.get_tickloc... | [
{
"path": "doc/users/next_whats_new/auto_minor_tick.rst",
"old_path": "/dev/null",
"new_path": "b/doc/users/next_whats_new/auto_minor_tick.rst",
"metadata": "diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst\nnew file mode 100644\nindex 00000000... | 3.7 | b61bb0b6392c23d38cd45c658bfcd44df145830d | [
"lib/matplotlib/tests/test_ticker.py::TestLogFormatter::test_pprint[1000-100-1000]",
"lib/matplotlib/tests/test_ticker.py::TestScalarFormatter::test_offset_value[-0.492-0.492-0]",
"lib/matplotlib/tests/test_ticker.py::TestPercentFormatter::test_basic[autodecimal, x<100%, display_range=8.4 (autodecimal test 2)]"... | [
"lib/matplotlib/tests/test_ticker.py::TestAutoMinorLocator::test_number_of_minor_ticks_int[2-lim0-ref0-True]",
"lib/matplotlib/tests/test_ticker.py::TestAutoMinorLocator::test_number_of_minor_ticks_auto[lim1-ref1-False]",
"lib/matplotlib/tests/test_ticker.py::TestAutoMinorLocator::test_number_of_minor_ticks_aut... | [
{
"path": "doc/users/next_whats_new/auto_minor_tick.rst",
"old_path": "/dev/null",
"new_path": "b/doc/users/next_whats_new/auto_minor_tick.rst",
"metadata": "diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst\nnew file mode 100644\nindex 00000000... | {
"header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:",
"data": []
} | diff --git a/doc/users/next_whats_new/auto_minor_tick.rst b/doc/users/next_whats_new/auto_minor_tick.rst
new file mode 100644
index 0000000000..02db8f6beb
--- /dev/null
+++ b/doc/users/next_whats_new/auto_minor_tick.rst
@@ -0,0 +1,5 @@
+rcParams for ``AutoMinorLocator`` divisions
+--------------------------------------... |
matplotlib/matplotlib | matplotlib__matplotlib-19743 | https://github.com/matplotlib/matplotlib/pull/19743 | "diff --git a/doc/users/next_whats_new/legend-figure-outside.rst b/doc/users/next_whats_new/legend-f(...TRUNCATED) | "diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py\nindex 56794(...TRUNCATED) | [{"path":"doc/users/next_whats_new/legend-figure-outside.rst","old_path":"/dev/null","new_path":"b/d(...TRUNCATED) | 3.5 | 5793ebb2201bf778f08ac1d4cd0b8dd674c96053 | ["lib/matplotlib/tests/test_legend.py::test_legend_auto1[png]","lib/matplotlib/tests/test_legend.py:(...TRUNCATED) | [
"lib/matplotlib/tests/test_legend.py::test_figure_legend_outside"
] | [{"path":"doc/users/next_whats_new/legend-figure-outside.rst","old_path":"/dev/null","new_path":"b/d(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | "diff --git a/doc/users/next_whats_new/legend-figure-outside.rst b/doc/users/next_whats_new/legend-f(...TRUNCATED) |
matplotlib/matplotlib | matplotlib__matplotlib-23525 | https://github.com/matplotlib/matplotlib/pull/23525 | "diff --git a/doc/users/next_whats_new/bar_plot_labels.rst b/doc/users/next_whats_new/bar_plot_label(...TRUNCATED) | "diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py\nindex 51fbea3cf(...TRUNCATED) | [{"path":"doc/users/next_whats_new/bar_plot_labels.rst","old_path":"/dev/null","new_path":"b/doc/use(...TRUNCATED) | 3.5 | 23100c42b274898f983011c12d5399a96982fe71 | ["lib/matplotlib/tests/test_axes.py::test_stem_dates","lib/matplotlib/tests/test_axes.py::test_error(...TRUNCATED) | ["lib/matplotlib/tests/test_axes.py::test_bar_labels[x1-width1-label1-expected_labels1-_nolegend_]",(...TRUNCATED) | [{"path":"doc/users/next_whats_new/bar_plot_labels.rst","old_path":"/dev/null","new_path":"b/doc/use(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | "diff --git a/doc/users/next_whats_new/bar_plot_labels.rst b/doc/users/next_whats_new/bar_plot_label(...TRUNCATED) |
matplotlib/matplotlib | matplotlib__matplotlib-24470 | https://github.com/matplotlib/matplotlib/pull/24470 | "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew f(...TRUNCATED) | "diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py\nindex 3b471d4e0(...TRUNCATED) | [{"path":"doc/users/next_whats_new/pie_hatch.rst","old_path":"/dev/null","new_path":"b/doc/users/nex(...TRUNCATED) | 3.5 | e0dc18d51ef29118cc13e394f76641dcb5198846 | ["lib/matplotlib/tests/test_axes.py::test_stem_dates","lib/matplotlib/tests/test_axes.py::test_error(...TRUNCATED) | ["lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[pdf]","lib/matplotlib/tests/test_axes.py::(...TRUNCATED) | [{"path":"doc/users/next_whats_new/pie_hatch.rst","old_path":"/dev/null","new_path":"b/doc/users/nex(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew f(...TRUNCATED) |
matplotlib/matplotlib | matplotlib__matplotlib-24937 | https://github.com/matplotlib/matplotlib/pull/24937 | "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew f(...TRUNCATED) | "diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py\nindex f3f6b8938(...TRUNCATED) | [{"path":"doc/users/next_whats_new/pie_hatch.rst","old_path":"/dev/null","new_path":"b/doc/users/nex(...TRUNCATED) | 3.5 | c19b6f5e9dc011c3b31d9996368c0fea4dcd3594 | ["lib/matplotlib/tests/test_axes.py::test_stem_dates","lib/matplotlib/tests/test_axes.py::test_error(...TRUNCATED) | ["lib/matplotlib/tests/test_axes.py::test_pie_hatch_multi[pdf]","lib/matplotlib/tests/test_axes.py::(...TRUNCATED) | [{"path":"doc/users/next_whats_new/pie_hatch.rst","old_path":"/dev/null","new_path":"b/doc/users/nex(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | "diff --git a/doc/users/next_whats_new/pie_hatch.rst b/doc/users/next_whats_new/pie_hatch.rst\nnew f(...TRUNCATED) |
matplotlib/matplotlib | matplotlib__matplotlib-20966 | https://github.com/matplotlib/matplotlib/pull/20966 | "diff --git a/doc/users/next_whats_new/callbacks_on_norms.rst b/doc/users/next_whats_new/callbacks_o(...TRUNCATED) | "diff --git a/lib/matplotlib/tests/test_colors.py b/lib/matplotlib/tests/test_colors.py\nindex ae004(...TRUNCATED) | [{"path":"doc/users/next_whats_new/callbacks_on_norms.rst","old_path":"/dev/null","new_path":"b/doc/(...TRUNCATED) | 3.4 | 1dff078a4645666af374dc55812788d37bea7612 | ["lib/matplotlib/tests/test_colors.py::test_colormap_reversing[OrRd_r]","lib/matplotlib/tests/test_c(...TRUNCATED) | ["lib/matplotlib/tests/test_colors.py::test_norm_callback","lib/matplotlib/tests/test_colors.py::tes(...TRUNCATED) | [{"path":"doc/users/next_whats_new/callbacks_on_norms.rst","old_path":"/dev/null","new_path":"b/doc/(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | "diff --git a/doc/users/next_whats_new/callbacks_on_norms.rst b/doc/users/next_whats_new/callbacks_o(...TRUNCATED) |
matplotlib/matplotlib | matplotlib__matplotlib-20816 | https://github.com/matplotlib/matplotlib/pull/20816 | "diff --git a/doc/users/next_whats_new/callback_blocking.rst b/doc/users/next_whats_new/callback_blo(...TRUNCATED) | "diff --git a/lib/matplotlib/tests/test_cbook.py b/lib/matplotlib/tests/test_cbook.py\nindex 4728752(...TRUNCATED) | [{"path":"doc/users/next_whats_new/callback_blocking.rst","old_path":"/dev/null","new_path":"b/doc/u(...TRUNCATED) | 3.4 | 586fcffaae03e40f851c5bc854de290b89bae18e | ["lib/matplotlib/tests/test_cbook.py::test_normalize_kwargs_pass[inp1-expected1-kwargs_to_norm1]","l(...TRUNCATED) | [
"lib/matplotlib/tests/test_cbook.py::test_callbackregistry_blocking"
] | [{"path":"doc/users/next_whats_new/callback_blocking.rst","old_path":"/dev/null","new_path":"b/doc/u(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | "diff --git a/doc/users/next_whats_new/callback_blocking.rst b/doc/users/next_whats_new/callback_blo(...TRUNCATED) |
matplotlib/matplotlib | matplotlib__matplotlib-25686 | https://github.com/matplotlib/matplotlib/pull/25686 | "diff --git a/doc/users/next_whats_new/get_suptitle.rst b/doc/users/next_whats_new/get_suptitle.rst\(...TRUNCATED) | "diff --git a/lib/matplotlib/tests/test_figure.py b/lib/matplotlib/tests/test_figure.py\nindex 4188c(...TRUNCATED) | [{"path":"doc/users/next_whats_new/get_suptitle.rst","old_path":"/dev/null","new_path":"b/doc/users/(...TRUNCATED) | 3.7 | b86ebbafe4673583345d0a01a6ea205af34c58dc | ["lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_all_nested[png]","lib/matplotlib/test(...TRUNCATED) | [
"lib/matplotlib/tests/test_figure.py::test_get_suptitle_supxlabel_supylabel"
] | [{"path":"doc/users/next_whats_new/get_suptitle.rst","old_path":"/dev/null","new_path":"b/doc/users/(...TRUNCATED) | {"header":"If completing this task requires creating new files, classes, fields, or error messages, (...TRUNCATED) | "diff --git a/doc/users/next_whats_new/get_suptitle.rst b/doc/users/next_whats_new/get_suptitle.rst\(...TRUNCATED) |
End of preview. Expand in Data Studio
Dataset Summary
NoCode-bench Verified is subset of NoCode-bench, a dataset that tests systems’ no-code feature addition ability automatically.
Languages
The text of the dataset is primarily English, but we make no effort to filter or otherwise clean based on language type.
Dataset Structure
An example of a SWE-bench datum is as follows:
repo: (str) - The repository owner/name identifier from GitHub.
instance_id: (str) - A formatted instance identifier, usually as repo_owner__repo_name-PR-number.
html_url: (str) - The URL of the PR web page where the instances are collected.
feature_patch: (str) - The gold patch, the patch generated by the PR (minus test-related code), that resolved the issue.
test_patch: (str) - A test-file patch that was contributed by the solution PR.
doc_changes: (list) - The documentation changes in a certain PR.
version: (str) - Installation version to use for running evaluation.
base_commit: (str) - The commit hash of the repository representing the HEAD of the repository before the solution PR is applied.
PASS2PASS: (str) - A json list of strings that represent tests that should pass before and after the PR application.
FAIL2PASS: (str) - A json list of strings that represent the set of tests resolved by the PR and tied to the issue resolution.
augmentations: (dict) - A set of names of the entity used to implement the feature.
mask_doc_diff: (list) - The documentation changes in a certain PR, which masked the PR number.
problem_statement: (str) - The main input contained `mask_doc_diff` and `augmentations`.
- Downloads last month
- 231