diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/SSL.py
+++ b/OpenSSL/SSL.py
@@ -266,6 +266,15 @@ NID_ipsec4 = _lib.NID_ipsec4
SN_ipsec4 = _ffi.string(_lib.SN_ipsec4)
_Cryptography_HAS_EC = _lib.Cryptography_HAS_EC
+ELLIPTIC_CURVE_DESCRIPTIONS = {} # In case there's no EC supp... | Add SSL.ELLIPTIC_CURVE_DESCRIPTIONS to expose the actual supported curves Different OpenSSL builds support different curves. Determine the supported curves at startup and expose the list. | py |
diff --git a/salt/states/pip_state.py b/salt/states/pip_state.py
index <HASH>..<HASH> 100644
--- a/salt/states/pip_state.py
+++ b/salt/states/pip_state.py
@@ -327,7 +327,7 @@ def installed(name,
ret['comment'] = ' '.join(comments)
else:
if not prefix:
- pkg_list = []
+ ... | despite the name, pkg_list is a dict; initialize accordingly | py |
diff --git a/src/toil/batchSystems/mesos/batchSystem.py b/src/toil/batchSystems/mesos/batchSystem.py
index <HASH>..<HASH> 100644
--- a/src/toil/batchSystems/mesos/batchSystem.py
+++ b/src/toil/batchSystems/mesos/batchSystem.py
@@ -582,7 +582,9 @@ class MesosBatchSystem(BatchSystemLocalSupport,
... | We weren't sending the time in data, we've been sending it in timestamp, which is already a double | py |
diff --git a/h2o-py/tests/testdir_jira/pyunit_pubdev_5265.py b/h2o-py/tests/testdir_jira/pyunit_pubdev_5265.py
index <HASH>..<HASH> 100644
--- a/h2o-py/tests/testdir_jira/pyunit_pubdev_5265.py
+++ b/h2o-py/tests/testdir_jira/pyunit_pubdev_5265.py
@@ -42,7 +42,7 @@ def pubdev_5265():
with warnings.catch_warnings(re... | Fix expected quotes in error message for pyunit_pubdev_<I> (#<I>) | py |
diff --git a/spyder/plugins/completion/kite/widgets/install.py b/spyder/plugins/completion/kite/widgets/install.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/completion/kite/widgets/install.py
+++ b/spyder/plugins/completion/kite/widgets/install.py
@@ -281,6 +281,7 @@ class KiteInstallerDialog(QDialog):
... | Kite Completion: Close installation dialog after error | py |
diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -538,7 +538,7 @@ def _ps(osdata):
elif osdata['os'] == 'Windows':
grains['ps'] = 'tasklist.exe'
elif osdata.get('virtual', '') == 'openvzhn':
- grains['ps']... | OpenVZ Hardware Node process list fix Fixed a bug with OpenVZ Hardware Node (virtual:openvzhn) using a missing `vzps` command, not an official tool anymore The Fix: Obtain the processes running on hardware node as OpenVZ recommends and format to looks like regular `ps -efH` for salt | py |
diff --git a/pyexcelerate/Writer.py b/pyexcelerate/Writer.py
index <HASH>..<HASH> 100644
--- a/pyexcelerate/Writer.py
+++ b/pyexcelerate/Writer.py
@@ -41,8 +41,8 @@ class Writer(object):
now = datetime.utcnow()
return now.strftime("%Y-%m-%dT%H:%M:00Z")
- def save(self, f):
- zf = ZipFile(f... | Allow **kwargs in save() Resolves #<I> | py |
diff --git a/Lib/fontmake/compatibility.py b/Lib/fontmake/compatibility.py
index <HASH>..<HASH> 100644
--- a/Lib/fontmake/compatibility.py
+++ b/Lib/fontmake/compatibility.py
@@ -69,9 +69,13 @@ class CompatibilityChecker:
logger.debug(f"All fonts had same {what} in {context}")
return True
... | CompatibilityChecker: make large error messages more concise | py |
diff --git a/FlowCal/io.py b/FlowCal/io.py
index <HASH>..<HASH> 100644
--- a/FlowCal/io.py
+++ b/FlowCal/io.py
@@ -180,9 +180,25 @@ def read_fcs_text_segment(buf, begin, end, delim=None):
# 'quoted' by being repeated" and "null (zero length) keywords or keyword
# values are not permitted", so this issue shoul... | Initial fix to support delimiters in TEXT keyword/values. | py |
diff --git a/pyemma/coordinates/transform/tica.py b/pyemma/coordinates/transform/tica.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/transform/tica.py
+++ b/pyemma/coordinates/transform/tica.py
@@ -210,9 +210,6 @@ class TICA(Transformer):
self._N_mean = 0
self._N_cov = 0
self._N_cov_... | [coor/tica] fixed merge conflict and idention error | py |
diff --git a/SpiffWorkflow/operators.py b/SpiffWorkflow/operators.py
index <HASH>..<HASH> 100644
--- a/SpiffWorkflow/operators.py
+++ b/SpiffWorkflow/operators.py
@@ -25,8 +25,13 @@ try:
except:
unicode = str
+class Term(object):
+ """
+ Abstract base class for all operators and expressions.
+ """
+ ... | add common base class 'Term' for all operators and expressions | py |
diff --git a/huey/contrib/sqlitedb.py b/huey/contrib/sqlitedb.py
index <HASH>..<HASH> 100644
--- a/huey/contrib/sqlitedb.py
+++ b/huey/contrib/sqlitedb.py
@@ -165,6 +165,10 @@ class SqliteStorage(BaseStorage):
def result_store_size(self):
return self.kv().count()
+ def result_items(self):
+ qu... | Add support for result_items() to sqlite storage. Fixes #<I> | py |
diff --git a/openquake/baselib/workerpool.py b/openquake/baselib/workerpool.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/workerpool.py
+++ b/openquake/baselib/workerpool.py
@@ -127,6 +127,11 @@ class WorkerMaster(object):
stopped.append(host)
for popen in self.popens:
po... | Add a subprocess.wait() after terminate() in workerpool | py |
diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/element.py
+++ b/holoviews/plotting/bokeh/element.py
@@ -43,10 +43,6 @@ class ElementPlot(BokehPlot, GenericElementPlot):
Whether to invert the share axes across plo... | Set the title color to 'black' until font_colors is implemented | py |
diff --git a/cumulusci/core/config/OrgConfig.py b/cumulusci/core/config/OrgConfig.py
index <HASH>..<HASH> 100644
--- a/cumulusci/core/config/OrgConfig.py
+++ b/cumulusci/core/config/OrgConfig.py
@@ -91,13 +91,17 @@ class OrgConfig(BaseConfig):
def _load_orginfo(self):
headers = {"Authorization": "Bearer... | Provide access to the Organization sobject data on OrgConfig | py |
diff --git a/goatools/base.py b/goatools/base.py
index <HASH>..<HASH> 100644
--- a/goatools/base.py
+++ b/goatools/base.py
@@ -112,7 +112,9 @@ def download_go_basic_obo(obo="go-basic.obo", prt=sys.stdout):
"""Download Ontologies, if necessary."""
# Download: http://geneontology.org/ontology/go-basic.obo
... | Adjust so goslim obos may also be downloaded using this fnc. | py |
diff --git a/progressbar/__about__.py b/progressbar/__about__.py
index <HASH>..<HASH> 100644
--- a/progressbar/__about__.py
+++ b/progressbar/__about__.py
@@ -19,7 +19,7 @@ A Python Progressbar library to provide visual (yet text based) progress to
long running operations.
'''.strip()
__email__ = 'wolph@wol.ph'
-__v... | modernized the package and improved python 3 support | py |
diff --git a/delphin/codecs/dmrx.py b/delphin/codecs/dmrx.py
index <HASH>..<HASH> 100644
--- a/delphin/codecs/dmrx.py
+++ b/delphin/codecs/dmrx.py
@@ -185,7 +185,7 @@ def encode_dmrs(m, strict=False):
attributes['ident'] = m.identifier
if not _strict and m.index is not None:
# index corresponds t... | Small fix for the index attribute of dmrx. | py |
diff --git a/pyws/adapters/django/example/urls.py b/pyws/adapters/django/example/urls.py
index <HASH>..<HASH> 100644
--- a/pyws/adapters/django/example/urls.py
+++ b/pyws/adapters/django/example/urls.py
@@ -38,7 +38,7 @@ def test_form(request):
fake_request = HttpRequest()
fake_request.GET = urlparse.... | fixed raw_post_data crash in test form | py |
diff --git a/snakebacon/calibcurve.py b/snakebacon/calibcurve.py
index <HASH>..<HASH> 100644
--- a/snakebacon/calibcurve.py
+++ b/snakebacon/calibcurve.py
@@ -70,9 +70,9 @@ class CalibCurve:
normal_distr : Bool, optional
Use normal distribution for date errors. If False, then use Student's t-distr... | Corrected bad t_a, t_b assertion in calibcurve. | py |
diff --git a/SpiffWorkflow/specs/Transform.py b/SpiffWorkflow/specs/Transform.py
index <HASH>..<HASH> 100644
--- a/SpiffWorkflow/specs/Transform.py
+++ b/SpiffWorkflow/specs/Transform.py
@@ -50,7 +50,7 @@ class Transform(TaskSpec):
def _update_state_hook(self, my_task):
if self.transforms:
fo... | Implement debug logging (vs. verbose) - verbose is log level DEBUG - debug means output additional debugging data | py |
diff --git a/tests/core/middleware/test_stalecheck.py b/tests/core/middleware/test_stalecheck.py
index <HASH>..<HASH> 100644
--- a/tests/core/middleware/test_stalecheck.py
+++ b/tests/core/middleware/test_stalecheck.py
@@ -97,3 +97,21 @@ def test_stalecheck_calls_isfresh_with_empty_cache(request_middleware, allowable
... | stalecheck: confirm that cache gets updated | py |
diff --git a/tests/ignite/engine/test_create_supervised.py b/tests/ignite/engine/test_create_supervised.py
index <HASH>..<HASH> 100644
--- a/tests/ignite/engine/test_create_supervised.py
+++ b/tests/ignite/engine/test_create_supervised.py
@@ -391,6 +391,7 @@ def test_create_supervised_trainer_amp_error(mock_torch_cuda_... | Fix test_create_supervised on old PyTorch without amp (#<I>) * Fix test_create_supervised on old PyTorch without amp * move to torch <I> as minimal version | py |
diff --git a/tensorflow_probability/python/internal/prefer_static.py b/tensorflow_probability/python/internal/prefer_static.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/internal/prefer_static.py
+++ b/tensorflow_probability/python/internal/prefer_static.py
@@ -410,6 +410,7 @@ reduce_prod = _prefer... | Whitelist split in internal/prefer_static. PiperOrigin-RevId: <I> | py |
diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -1855,6 +1855,7 @@ class State(object):
low = low.copy()
low['sfun'] = low['fun']
low['fun'] = 'mod_watch'
+ low['__reqs__'] = reqs
... | Expose the relevant requisites to the mod_watch function in __low__ | py |
diff --git a/holoviews/core/element.py b/holoviews/core/element.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/element.py
+++ b/holoviews/core/element.py
@@ -786,6 +786,12 @@ class DynamicMap(HoloMap):
self.counter = 0 if self.interval == 'open' else None
+ if self.interval == 'closed':
+ ... | Ensuring all key dimensions have finite ranges in closed interval mode | py |
diff --git a/bitbucket/deploy_key.py b/bitbucket/deploy_key.py
index <HASH>..<HASH> 100644
--- a/bitbucket/deploy_key.py
+++ b/bitbucket/deploy_key.py
@@ -18,6 +18,7 @@ class DeployKey(object):
def all(self, repo_slug=None):
""" Get all ssh keys associated with a repo
"""
+ repo_slug = rep... | Use own repo slug by default for Bitbucket.deploy_key.all() . | py |
diff --git a/peer.py b/peer.py
index <HASH>..<HASH> 100644
--- a/peer.py
+++ b/peer.py
@@ -77,10 +77,6 @@ from .constants import (
)
-_ReceivedMsgCallbackType = Callable[
- ['BasePeer', protocol.Command, protocol._DecodedMsgType], None]
-
-
async def handshake(remote: Node,
privkey: dataty... | p2p: New Peer methods to check if it's finished | py |
diff --git a/openquake/logs.py b/openquake/logs.py
index <HASH>..<HASH> 100644
--- a/openquake/logs.py
+++ b/openquake/logs.py
@@ -47,10 +47,6 @@ LOG = logging.getLogger()
HAZARD_LOG = logging.getLogger('hazard')
-# Progress report message prefixes
-PR_PREFIXES = ["**", "** >"]
-
-
def _log_progress(msg, *args, ... | logs: Removed an obsolete constant Former-commit-id: <I>cadcdcc<I>fa<I>f<I>a<I>b<I>abc | py |
diff --git a/pelix/http/basic.py b/pelix/http/basic.py
index <HASH>..<HASH> 100644
--- a/pelix/http/basic.py
+++ b/pelix/http/basic.py
@@ -251,11 +251,11 @@ class _RequestHandler(BaseHTTPRequestHandler):
self._service.log(logging.ERROR, message, *args, **kwargs)
- def log_request(self, message, *args, *... | Basic HTTP Service: Correction of the request log line Now shows the request line and the response code, instead of just the latter. | py |
diff --git a/tortilla/wrappers.py b/tortilla/wrappers.py
index <HASH>..<HASH> 100644
--- a/tortilla/wrappers.py
+++ b/tortilla/wrappers.py
@@ -130,8 +130,14 @@ class Client(object):
request_headers = dict(self.headers.__dict__)
if headers is not None:
request_headers.update(headers)
- ... | fix Content-Type header and data composition only when 1. content is actually sent (whatever the HTTP verb is used) 2. format is provided ('json' by default) | py |
diff --git a/GPy/util/datasets.py b/GPy/util/datasets.py
index <HASH>..<HASH> 100644
--- a/GPy/util/datasets.py
+++ b/GPy/util/datasets.py
@@ -30,9 +30,12 @@ overide_manual_authorize=False
neil_url = 'http://staffwww.dcs.shef.ac.uk/people/N.Lawrence/dataset_mirror/'
# Read data resources from json file.
-path = os.... | Testing modification for ReadTheDocs to stop docstring errors | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -851,6 +851,15 @@ class ModelQueryTestCase(ModelTestCase):
users = User.select(fn.Count(User.id)).where(User.username << ['u1', 'u2'])
self.assertEqual(users.scalar(), 2)
+ self.assertEqual(users.sca... | Adding a couple more tests for scalar() | py |
diff --git a/safe_qgis/test_impact_functions_doc.py b/safe_qgis/test_impact_functions_doc.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/test_impact_functions_doc.py
+++ b/safe_qgis/test_impact_functions_doc.py
@@ -98,7 +98,7 @@ class ImpactFunctionsDocTest(unittest.TestCase):
if myDatatype == 'sigab':
... | disabling tests for jenkins | py |
diff --git a/oauthlib/oauth2/rfc6749/grant_types/openid_connect.py b/oauthlib/oauth2/rfc6749/grant_types/openid_connect.py
index <HASH>..<HASH> 100644
--- a/oauthlib/oauth2/rfc6749/grant_types/openid_connect.py
+++ b/oauthlib/oauth2/rfc6749/grant_types/openid_connect.py
@@ -371,6 +371,8 @@ class OpenIDConnectHybrid(Ope... | Hybrid response types should be fragment-encoded. | py |
diff --git a/djangojs/utils.py b/djangojs/utils.py
index <HASH>..<HASH> 100644
--- a/djangojs/utils.py
+++ b/djangojs/utils.py
@@ -145,7 +145,10 @@ class ContextSerializer(object):
language = translation.get_language_info(language_code)
data['LANGUAGE_NAME'] = language['name']
dat... | Do not fail if session middleware is not used. | py |
diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -2798,6 +2798,8 @@ class State:
status = "onchanges"
elif "change" in fun_stats:
status = "change"
+ elif "onfail" in fun_stats:
+ status = "onfail"
... | initial commit to fix onfail used with other reqs as last check | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,6 @@ setup(
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.3',
... | removing support for py<I> | py |
diff --git a/secedgar/tests/filings/test_cik_validator.py b/secedgar/tests/filings/test_cik_validator.py
index <HASH>..<HASH> 100644
--- a/secedgar/tests/filings/test_cik_validator.py
+++ b/secedgar/tests/filings/test_cik_validator.py
@@ -65,5 +65,4 @@ class TestCIKValidator:
def test_params_reset_after_get_cik(se... | TEST: Combine asserts to test that both CIK and company cleared | py |
diff --git a/tests/test_attributes.py b/tests/test_attributes.py
index <HASH>..<HASH> 100644
--- a/tests/test_attributes.py
+++ b/tests/test_attributes.py
@@ -49,10 +49,6 @@ class TestAttribute:
"""
TESTED
"""
- def test_get_dimensionless_id(self, session):
- dim_id = hb.get_dimensionless_i... | removed the test_get_dimensionless_id | py |
diff --git a/muffin_jade.py b/muffin_jade.py
index <HASH>..<HASH> 100644
--- a/muffin_jade.py
+++ b/muffin_jade.py
@@ -50,6 +50,8 @@ class Plugin(BasePlugin):
if isinstance(self.options.template_folders, str):
self.options['template_folders'] = [self.options.template_folders]
+ self.optio... | Ensure that template_folders is list | py |
diff --git a/teamcity/pytest_plugin.py b/teamcity/pytest_plugin.py
index <HASH>..<HASH> 100644
--- a/teamcity/pytest_plugin.py
+++ b/teamcity/pytest_plugin.py
@@ -39,8 +39,7 @@ def pytest_unconfigure(config):
class EchoTeamCityMessages(object):
def __init__(self, ):
- self.tw = py.io.TerminalWriter(py.st... | pytest: do not use terminalwriter (why it was used in the first place?) | py |
diff --git a/scripts/deploy.py b/scripts/deploy.py
index <HASH>..<HASH> 100644
--- a/scripts/deploy.py
+++ b/scripts/deploy.py
@@ -341,12 +341,13 @@ def update_docs_versions():
failed("Could not write new version to file %r" % filename, str(e).split("\n"))
else:
passed("Appended version %r to %r"... | Remember to commit CHANGELOG on deploy (#<I>) issues: fixes #<I> | py |
diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py
index <HASH>..<HASH> 100644
--- a/pandas/io/tests/test_parsers.py
+++ b/pandas/io/tests/test_parsers.py
@@ -868,6 +868,7 @@ baz,7,8,9
def test_parse_cols_str(self):
_skip_if_no_openpyxl()
+ _skip_if_no_xlrd()
... | TST: Added _skip_if_no_xlrd() to skip test when `xlrd` is not installed. | py |
diff --git a/arctic/generics.py b/arctic/generics.py
index <HASH>..<HASH> 100755
--- a/arctic/generics.py
+++ b/arctic/generics.py
@@ -574,8 +574,11 @@ class DataListView(TemplateView, ListMixin):
field = {'field': field_name, 'type': 'field'}
field['value'] = self.get_field_value(fiel... | In ListViews, when field_links don't have a valid url, the link will be ignored. | py |
diff --git a/tests/test_wale_restore.py b/tests/test_wale_restore.py
index <HASH>..<HASH> 100644
--- a/tests/test_wale_restore.py
+++ b/tests/test_wale_restore.py
@@ -92,7 +92,6 @@ class TestWALERestore(unittest.TestCase):
with patch.object(self.wale_restore, 'create_replica_with_s3', MagicMock(return_valu... | Another attempt at making the Quantifiedcode happy. | py |
diff --git a/src/pyramid_orb/view.py b/src/pyramid_orb/view.py
index <HASH>..<HASH> 100644
--- a/src/pyramid_orb/view.py
+++ b/src/pyramid_orb/view.py
@@ -42,6 +42,10 @@ class orb_config(object):
return view_config(**new_settings)
+ def rest(self, **settings):
+ settings['renderer'] = 'string' #... | added a rest command -- may be temporary | py |
diff --git a/src/pythonfinder/__init__.py b/src/pythonfinder/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pythonfinder/__init__.py
+++ b/src/pythonfinder/__init__.py
@@ -1,6 +1,6 @@
from __future__ import print_function, absolute_import
-__version__ = '1.1.4'
+__version__ = '1.1.5.dev0'
# Add NullHandler to ... | Prebump to <I>.dev0 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ setup(
'enum-compat',
'toml',
'argparse',
- 'algorithmia-api-client>=1.3,<1.4',
+ 'algorithmia-api-client>=1.3,<2',
'algorithmia-adk>=1.0.2,<1.1'
],
in... | increased the range of the api-client support (#<I>) | py |
diff --git a/test/helper.py b/test/helper.py
index <HASH>..<HASH> 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -295,7 +295,10 @@ async def check_operator_coro(cls, args, kwargs, input_vector, output_vector, in
result = dut.get()
collector2_len = len(collector2.state_vector)
with dut.su... | extended async test helper with checking for temporary subscription and .get() | py |
diff --git a/dougrain.py b/dougrain.py
index <HASH>..<HASH> 100644
--- a/dougrain.py
+++ b/dougrain.py
@@ -13,9 +13,6 @@ class Document(object):
for key, value in o.get("_links", {}).iteritems():
self.links[key] = link.Link.from_object(value, relative_to_url)
- if 'self' in self.links:
- ... | Always have url method on document. | py |
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index <HASH>..<HASH> 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -7,6 +7,7 @@ import itertools
import re
import contextlib
import pickle
+import textwrap
import six
from six.moves import builtins, map
@@ -476,13 +477,17 @@ WRITE_FLA... | Use dedent and left strip to store the template inside the class. | py |
diff --git a/polyaxon/dockerizer/builder.py b/polyaxon/dockerizer/builder.py
index <HASH>..<HASH> 100644
--- a/polyaxon/dockerizer/builder.py
+++ b/polyaxon/dockerizer/builder.py
@@ -173,7 +173,12 @@ def download_code(build_job, build_path, filename):
if not os.path.exists(build_path):
os.makedirs(build_p... | Handle case for both repo and external_repo for build job | py |
diff --git a/librosa/display.py b/librosa/display.py
index <HASH>..<HASH> 100644
--- a/librosa/display.py
+++ b/librosa/display.py
@@ -763,14 +763,14 @@ def __axis_log(data, n_ticks, horiz, sr=22050, kwargs=None,
if minor == 'log':
ax2 = __log_scale(data.shape[0])[0]
else:
- ax... | Fixed the endpoints of log-spectrogram plots | py |
diff --git a/great_expectations/expectations/core/expect_table_columns_to_match_set.py b/great_expectations/expectations/core/expect_table_columns_to_match_set.py
index <HASH>..<HASH> 100644
--- a/great_expectations/expectations/core/expect_table_columns_to_match_set.py
+++ b/great_expectations/expectations/core/expect... | Fix docstring on expectation (#<I>) Column list can be in any order and does not need to match exactly when exact_match keyword argument set. | py |
diff --git a/astrobase/periodbase/kbls.py b/astrobase/periodbase/kbls.py
index <HASH>..<HASH> 100644
--- a/astrobase/periodbase/kbls.py
+++ b/astrobase/periodbase/kbls.py
@@ -553,7 +553,7 @@ def bls_serial_pfind(
LOGINFO("Getting stats for best period: %.6f" % bp)
this_ps... | periodbase.kbls: use correct times, mags, errs for stats | py |
diff --git a/future/tests/test_futurize.py b/future/tests/test_futurize.py
index <HASH>..<HASH> 100644
--- a/future/tests/test_futurize.py
+++ b/future/tests/test_futurize.py
@@ -335,6 +335,7 @@ class TestFuturizeRenamedStdlib(CodeHandler):
"""
self.convert_check(before, after)
+ @unittest.ex... | xfail test_urllib_refactor for now | py |
diff --git a/librosa/display.py b/librosa/display.py
index <HASH>..<HASH> 100644
--- a/librosa/display.py
+++ b/librosa/display.py
@@ -437,11 +437,11 @@ def __axis_log(data, n_ticks, horiz, sr=22050, kwargs=None, label='Hz',
t_log, t_inv = __log_scale(n)
if horiz:
- ax1 = t_log
if minor == '... | removed limit setting, axes are properly square now in log mode | py |
diff --git a/tests/plugins/phantomjs_screenshot.py b/tests/plugins/phantomjs_screenshot.py
index <HASH>..<HASH> 100644
--- a/tests/plugins/phantomjs_screenshot.py
+++ b/tests/plugins/phantomjs_screenshot.py
@@ -3,13 +3,17 @@ import pytest
import subprocess
import sys
-from os.path import join, dirname
+from os.path... | use npm phantomjs for tests #<I> (#<I>) | py |
diff --git a/telemetry/telemetry/unittest/tab_test_case.py b/telemetry/telemetry/unittest/tab_test_case.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/unittest/tab_test_case.py
+++ b/telemetry/telemetry/unittest/tab_test_case.py
@@ -45,6 +45,9 @@ class TabTestCase(unittest.TestCase):
while len(self._br... | [Telemetry] Fix android unittests that run after testRendererCrash. Looks like we have to restart the browser if a tab crashes in a browser that doesn't support tab control. BUG=<I> Review URL: <URL> | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -20,6 +20,7 @@ import os
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.a... | pull doc version from setup.py, fix #<I> | py |
diff --git a/mongotail/out.py b/mongotail/out.py
index <HASH>..<HASH> 100644
--- a/mongotail/out.py
+++ b/mongotail/out.py
@@ -87,7 +87,10 @@ def print_obj(obj, verbose, metadata, mongo_version):
query += '. %s inserted.' % obj['ninserted']
elif operation == 'remove':
doc ... | Adding support for Mongo <I>: fixed remove operations | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,9 +2,26 @@
from setuptools import setup
import re
+import os
+import sys
from fermipy.version import get_git_version
+##Check to make sure we're using the python in the STs.
+if os.environ.has_key('GLAST_EXT'):
+ ... | setup.py tests for correct python | py |
diff --git a/grimoire_elk/enriched/slack.py b/grimoire_elk/enriched/slack.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/slack.py
+++ b/grimoire_elk/enriched/slack.py
@@ -78,6 +78,8 @@ class SlackEnrich(Enrich):
return identity
from_ = item['data'][self.get_field_author()]
+ ... | [enriched/slack] Fix enrich items without user data This code allows enriching items without user data. | py |
diff --git a/salt/modules/mod_random.py b/salt/modules/mod_random.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mod_random.py
+++ b/salt/modules/mod_random.py
@@ -127,16 +127,18 @@ def shadow_hash(crypt_salt=None, password=None, algorithm='sha512'):
def rand_int(start=1, end=10):
'''
- .. versionadded: 2... | Added "CLI Example" to make failing test happy on develop | py |
diff --git a/tests/test_log.py b/tests/test_log.py
index <HASH>..<HASH> 100644
--- a/tests/test_log.py
+++ b/tests/test_log.py
@@ -13,12 +13,12 @@ class LogTest(BaseTest):
handler = CloudWatchLogHandler(session_factory=session_factory)
log = logging.getLogger("maid")
log.addHandler(handler)
+... | always attach cloudwatch log cleanup handler during tests | py |
diff --git a/openquake/risk/job/general.py b/openquake/risk/job/general.py
index <HASH>..<HASH> 100644
--- a/openquake/risk/job/general.py
+++ b/openquake/risk/job/general.py
@@ -82,6 +82,7 @@ def output(fn):
if writer:
metadata = {
+ "deterministic": False,
... | deterministic: False returns in place, it is required Former-commit-id: fa<I>cff<I>d2e4cff<I>f8a<I>f<I>e<I>a<I>f | py |
diff --git a/src/toil/common.py b/src/toil/common.py
index <HASH>..<HASH> 100644
--- a/src/toil/common.py
+++ b/src/toil/common.py
@@ -1231,7 +1231,8 @@ class ToilMetrics:
def log(self, message):
if self.mtailProc:
- self.mtailProc.stdin.write(message + "\n")
+ self.mtailProc.stdin... | Encode mtail stdin to utf-8 and flush. (#<I>) | py |
diff --git a/glances/exports/glances_csv.py b/glances/exports/glances_csv.py
index <HASH>..<HASH> 100644
--- a/glances/exports/glances_csv.py
+++ b/glances/exports/glances_csv.py
@@ -90,6 +90,7 @@ class Export(GlancesExport):
# Loop over plugins to export
for plugin in self.plugins_to_export():
+ ... | Correct an issue when stats use old stats (example network). Had also to deal with the export CSV module not working. | py |
diff --git a/gitlab_tests/test_v91/test_users.py b/gitlab_tests/test_v91/test_users.py
index <HASH>..<HASH> 100644
--- a/gitlab_tests/test_v91/test_users.py
+++ b/gitlab_tests/test_v91/test_users.py
@@ -2,9 +2,9 @@ import os
from unittest import TestCase
import responses
+from requests.exceptions import HTTPError
... | tests: Update Users cases for new behaviour See also: #<I> | py |
diff --git a/records.py b/records.py
index <HASH>..<HASH> 100644
--- a/records.py
+++ b/records.py
@@ -196,6 +196,11 @@ class Database(object):
def __exit__(self, exc, val, traceback):
self.close()
+ def __repr__(self):
+ status = 'Open' if self.open else 'Closed'
+ r = '{}(url={}, stat... | Added __repr__ I used __class__.__name__ instead of Database for potential subclasses. | py |
diff --git a/standard/pdt/models.py b/standard/pdt/models.py
index <HASH>..<HASH> 100644
--- a/standard/pdt/models.py
+++ b/standard/pdt/models.py
@@ -39,7 +39,7 @@ class PayPalPDT(PayPalStandardBase):
postback_dict = dict(cmd="_notify-synch", at=IDENTITY_TOKEN, tx=self.tx)
postback_params = urlencode... | refactor models to match base class, getting paypal response and parsing response are now separate | py |
diff --git a/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py b/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py
index <HASH>..<HASH> 100644
--- a/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py
+++ b/rna-seq-pipeline/rna-seq_pipeline_multi_sample.py
@@ -125,7 +125,8 @@ def docker_call(tool, tool_parameters, work_d... | Removed sudo call to Docker (temporary, system dependent). | py |
diff --git a/fost_authn/authentication.py b/fost_authn/authentication.py
index <HASH>..<HASH> 100644
--- a/fost_authn/authentication.py
+++ b/fost_authn/authentication.py
@@ -36,9 +36,13 @@ class FostBackend(object):
skew, signed_time, utc_now, delta,
"skew is too high" if skew > delta... | Stubbed out the fetching of the user so we can test the happy path we have so far. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,6 @@ install_requires = [
"datapipelines>=1.0.6",
"merakicommons>=1.0.6",
"Pillow",
- "pycurl",
"arrow"
] | removed pycurl from setup.py. fixes #<I> closes #<I> | py |
diff --git a/telethon/extensions/markdown.py b/telethon/extensions/markdown.py
index <HASH>..<HASH> 100644
--- a/telethon/extensions/markdown.py
+++ b/telethon/extensions/markdown.py
@@ -90,7 +90,11 @@ def parse(message, delimiters=None, url_re=None):
for ent in result:
# If the en... | Fix directly nested markdown entities | py |
diff --git a/salt/modules/rabbitmq.py b/salt/modules/rabbitmq.py
index <HASH>..<HASH> 100644
--- a/salt/modules/rabbitmq.py
+++ b/salt/modules/rabbitmq.py
@@ -216,7 +216,7 @@ def list_user_permissions(name, user=None):
return [r.split('\t') for r in res.splitlines()]
-def status(name, user=None):
+def status(u... | Remove unused arg 'name' This was likely the result of the function definition being copied-and-pasted when this function was added, and the unneeded argument not being removed. | py |
diff --git a/tokumx/datadog_checks/tokumx/tokumx.py b/tokumx/datadog_checks/tokumx/tokumx.py
index <HASH>..<HASH> 100644
--- a/tokumx/datadog_checks/tokumx/tokumx.py
+++ b/tokumx/datadog_checks/tokumx/tokumx.py
@@ -2,6 +2,8 @@
# (C) Leif Walsh <leif.walsh@gmail.com> 2014
# All rights reserved
# Licensed under Simpli... | Finish Python 3 Support (#<I>) | py |
diff --git a/svg_model/draw.py b/svg_model/draw.py
index <HASH>..<HASH> 100644
--- a/svg_model/draw.py
+++ b/svg_model/draw.py
@@ -17,7 +17,7 @@ def draw_shapes_svg_layer(df_shapes, shape_i_columns, layer_name,
df_shapes (pandas.DataFrame): Table of shape vertices (one row per
vertex).
- ... | Fix arg type description in docstring | py |
diff --git a/basis_set_exchange/cli/bsecurate_cli.py b/basis_set_exchange/cli/bsecurate_cli.py
index <HASH>..<HASH> 100644
--- a/basis_set_exchange/cli/bsecurate_cli.py
+++ b/basis_set_exchange/cli/bsecurate_cli.py
@@ -116,7 +116,8 @@ def run_bsecurate_cli():
if args.output:
with open(args.output, 'w', en... | Don't print anything if no output from CLI | py |
diff --git a/openquake/calculators/hazard/event_based/core_next.py b/openquake/calculators/hazard/event_based/core_next.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/hazard/event_based/core_next.py
+++ b/openquake/calculators/hazard/event_based/core_next.py
@@ -466,7 +466,6 @@ class EventBasedHazardCalcula... | calcs/hazard/event_based/core_next: Moved progress 'total' counter initialization to a better place. Former-commit-id: <I>f<I>eb2f<I>e0c<I>a6e<I>a<I>a<I>bfe8 | py |
diff --git a/virtualchain/lib/blockchain/session.py b/virtualchain/lib/blockchain/session.py
index <HASH>..<HASH> 100644
--- a/virtualchain/lib/blockchain/session.py
+++ b/virtualchain/lib/blockchain/session.py
@@ -80,7 +80,7 @@ def get_logger(name=None):
log.setLevel( level )
console = logging.StreamHandler(... | log thread ID as well as PID | py |
diff --git a/funfactory/cmd.py b/funfactory/cmd.py
index <HASH>..<HASH> 100644
--- a/funfactory/cmd.py
+++ b/funfactory/cmd.py
@@ -291,6 +291,8 @@ def main():
if not re.match('[a-zA-Z0-9_]+', options.pkg):
ps.error('Package name %r can only contain letters, numbers, and '
'underscores' %... | Attempted fix for playdoh issue #<I>, 'funfactory script bails late if mysql dependency is not present': <URL> | py |
diff --git a/salt/__init__.py b/salt/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/__init__.py
+++ b/salt/__init__.py
@@ -54,7 +54,7 @@ def __define_global_system_encoding_variable__():
# than expected. See:
# https://github.com/saltstack/salt/issues/21036
if sys.version_info[0] < 3:
- imp... | It's incompatible-py3-code | py |
diff --git a/python/jsbeautifier/__init__.py b/python/jsbeautifier/__init__.py
index <HASH>..<HASH> 100644
--- a/python/jsbeautifier/__init__.py
+++ b/python/jsbeautifier/__init__.py
@@ -3,7 +3,7 @@ import sys
import getopt
import re
import string
-from __version__ import __version__
+from jsbeautifier.__version__ i... | Fix python 3 failing to load version. | py |
diff --git a/aiohttp/web.py b/aiohttp/web.py
index <HASH>..<HASH> 100644
--- a/aiohttp/web.py
+++ b/aiohttp/web.py
@@ -173,8 +173,6 @@ class Request(dict, HeadersMixin):
self._cookies = None
self._read_bytes = None
- self._text = None
- self._json = None
@property
def metho... | removed caching for text and json in Request | py |
diff --git a/icekit/project/settings/_base.py b/icekit/project/settings/_base.py
index <HASH>..<HASH> 100644
--- a/icekit/project/settings/_base.py
+++ b/icekit/project/settings/_base.py
@@ -378,13 +378,13 @@ COMPRESS_OFFLINE_CONTEXT = 'ixc_compressor.get_compress_offline_context'
COMPRESS_PRECOMPILERS = (
(
... | Support CSS compilation when theproject path has a space in it. | py |
diff --git a/_tools/pygments2chroma.py b/_tools/pygments2chroma.py
index <HASH>..<HASH> 100644
--- a/_tools/pygments2chroma.py
+++ b/_tools/pygments2chroma.py
@@ -20,7 +20,7 @@ import (
)
// {{upper_name}} lexer.
-var {{upper_name}} = internal.Register(MustNewLexer(
+var {{upper_name}} = internal.Register(MustNewLa... | Update golangci-lint so we can force use of LazyLexer. | py |
diff --git a/cumulusci/conftest.py b/cumulusci/conftest.py
index <HASH>..<HASH> 100644
--- a/cumulusci/conftest.py
+++ b/cumulusci/conftest.py
@@ -85,7 +85,7 @@ create_task_fixture = fixture(create_task_fixture, scope="function")
# test case changes.
@pytest.fixture(autouse=True, scope="session")
def patch_hom... | Add a prefix for readability of tracebacks | py |
diff --git a/face_recognition/api.py b/face_recognition/api.py
index <HASH>..<HASH> 100644
--- a/face_recognition/api.py
+++ b/face_recognition/api.py
@@ -3,6 +3,7 @@
import PIL.Image
import dlib
import numpy as np
+from PIL import ImageFile
try:
import face_recognition_models
@@ -11,6 +12,8 @@ except Except... | fixed PIL error "OSError: image file is truncated" Some image file is truancated may cause PIL load image error See: <URL> | py |
diff --git a/publish.py b/publish.py
index <HASH>..<HASH> 100755
--- a/publish.py
+++ b/publish.py
@@ -33,4 +33,5 @@ gh_pages = os.path.join(os.path.dirname(base), 'kovidgoyal.github.io')
subprocess.check_call([os.path.join(gh_pages, 'update-rapyd-repl.py')])
# Publish to NPM
+subprocess.check_call(['npm', 'login']... | Now we need to login to npm before publishing | py |
diff --git a/python/upload_with_authentication.py b/python/upload_with_authentication.py
index <HASH>..<HASH> 100755
--- a/python/upload_with_authentication.py
+++ b/python/upload_with_authentication.py
@@ -46,12 +46,12 @@ MOVE_FILES = False
def upload_done_file(params):
print("Upload a DONE file to tell the ba... | Correct DONE check, Fixes #<I> | py |
diff --git a/stagpy/processing.py b/stagpy/processing.py
index <HASH>..<HASH> 100644
--- a/stagpy/processing.py
+++ b/stagpy/processing.py
@@ -5,7 +5,7 @@ from scipy import integrate
from . import misc
-def dt_dt(sdat, tstart=0., tend=None):
+def dt_dt(sdat, tstart=None, tend=None):
"""Derivative of temperatu... | Set default tsart in processing func to None dt_dt and ebalance are concerned, this is to be consistent with changes brought by dd<I>f<I>d<I>bed7bb<I>a<I>e<I>f | py |
diff --git a/anyconfig/mergeabledict.py b/anyconfig/mergeabledict.py
index <HASH>..<HASH> 100644
--- a/anyconfig/mergeabledict.py
+++ b/anyconfig/mergeabledict.py
@@ -8,6 +8,9 @@
.. versionadded: 0.3.1
Added naive and partial implementation of JSON Pointer support
+.. versionchanged: 0.5.0
+ Convert collection... | fix: add a note about collections.namedtuple conversion | py |
diff --git a/tests/parser/test_parse_navigate.py b/tests/parser/test_parse_navigate.py
index <HASH>..<HASH> 100644
--- a/tests/parser/test_parse_navigate.py
+++ b/tests/parser/test_parse_navigate.py
@@ -7,11 +7,7 @@ import pytest
@pytest.fixture
def sun_text():
-<<<<<<< HEAD:tests/parser/test_parse_navigate.py
- ... | * Fix merge problem in test_parse_navigate | py |
diff --git a/inginious/frontend/plugins/auth/google_auth.py b/inginious/frontend/plugins/auth/google_auth.py
index <HASH>..<HASH> 100644
--- a/inginious/frontend/plugins/auth/google_auth.py
+++ b/inginious/frontend/plugins/auth/google_auth.py
@@ -17,7 +17,8 @@ authorization_base_url = 'https://accounts.google.com/o/oau... | fix google_auth.py authentication error In mid or late July, we started receiving errors indicating ``` Scope has changed from "<URL> | py |
diff --git a/test/jupyter/test_jupyter_convert.py b/test/jupyter/test_jupyter_convert.py
index <HASH>..<HASH> 100644
--- a/test/jupyter/test_jupyter_convert.py
+++ b/test/jupyter/test_jupyter_convert.py
@@ -48,6 +48,9 @@ print(output)
with open('temp/script2.sos', 'w') as script:
# with tab after ... | Remove --execute option for sos convert .sos .ipynb because it does not fit the current notebook style | py |
diff --git a/salt/modules/mine.py b/salt/modules/mine.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mine.py
+++ b/salt/modules/mine.py
@@ -11,6 +11,7 @@ import logging
import salt.crypt
import salt.payload
import salt.utils.network
+from salt.exceptions import SaltClientError
__proxyenabled__ = ['*'] | Don't forget to import SaltClientError | py |
diff --git a/thermo/stream.py b/thermo/stream.py
index <HASH>..<HASH> 100644
--- a/thermo/stream.py
+++ b/thermo/stream.py
@@ -175,11 +175,17 @@ class Stream(Mixture):
... ('pentane', 0.00032),
... ('hexane', 0.00066)])
>>> m = Stream(ws=comp, m=33)
- '''
+ '... | Fix __repr__ of stream to not require T and P to be set | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -75,7 +75,7 @@ setup(
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
- 'License :: OSI Approved :: BSD License',
+ 'License :: OSI Approved ... | Update license classifier This project always was MIT licensed, but the classifier in setup.py was incorrectly set to "BSD" | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.