hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
d6d85d0666c50fb334936d8df60b9249945eb8e8
diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -2132,7 +2132,7 @@ def test_debug_unsaved_file(main_window, qtbot): # There is a breakpoint, so it should conti...
Avoid test failing because of race condition The next line could be shown earlier
spyder-ide_spyder
train
7adcf42958f9f42e3e0243f8514aefa85bdf69a7
diff --git a/lib/googleauth.rb b/lib/googleauth.rb index <HASH>..<HASH> 100644 --- a/lib/googleauth.rb +++ b/lib/googleauth.rb @@ -34,7 +34,7 @@ module Google # Module Auth provides classes that provide Google-specific authorization # used to access Google APIs. module Auth - NOT_FOUND = <<END + NOT_FOUN...
Renamed the error vars
googleapis_google-auth-library-ruby
train
76dc4d57f6afe7e8e23cbcdab97fdc334c4395ae
diff --git a/mcubes/exporter.py b/mcubes/exporter.py index <HASH>..<HASH> 100644 --- a/mcubes/exporter.py +++ b/mcubes/exporter.py @@ -15,20 +15,22 @@ def export_obj(vertices, triangles, filename): for f in triangles: fh.write("f {} {} {}\n".format(*(f + 1))) + def export_off(vertices, triangle...
Fixed some error with the OFF exporter.
pmneila_PyMCubes
train
43fde1145235981e59af8795ab8451d5346dcd44
diff --git a/polyaxon/hpsearch/iteration_managers/hyperband.py b/polyaxon/hpsearch/iteration_managers/hyperband.py index <HASH>..<HASH> 100644 --- a/polyaxon/hpsearch/iteration_managers/hyperband.py +++ b/polyaxon/hpsearch/iteration_managers/hyperband.py @@ -65,7 +65,7 @@ class HyperbandIterationManager(BaseIterationMa...
Update hyperband handling of non experiment_metrics
polyaxon_polyaxon
train
64a614f2a9853b648e4e6063860863593f75f317
diff --git a/txaws/ec2/client.py b/txaws/ec2/client.py index <HASH>..<HASH> 100644 --- a/txaws/ec2/client.py +++ b/txaws/ec2/client.py @@ -212,7 +212,7 @@ class EC2Client(object): @param name: Name of the new security group. @param description: Description of the new security group. - @return...
Fixed typos (therve 2).
twisted_txaws
train
5ebc164f37ee42e253d676bc6d1914eb694d531f
diff --git a/lxd/daemon.go b/lxd/daemon.go index <HASH>..<HASH> 100644 --- a/lxd/daemon.go +++ b/lxd/daemon.go @@ -355,7 +355,7 @@ func (d *Daemon) createCmd(version string, c Command) { }) } -func (d *Daemon) SetupStorageDriver() error { +func (d *Daemon) SetupStorageDriver(forceCheck bool) error { pools, err :...
{daemon,patches}: adapt SetupStorageDriver() We need a way to force a check right at the end of the storage api upgrade.
lxc_lxd
train
2d497004605291f300511768082e9bae34a70655
diff --git a/registration/__init__.py b/registration/__init__.py index <HASH>..<HASH> 100644 --- a/registration/__init__.py +++ b/registration/__init__.py @@ -8,5 +8,7 @@ def get_version(): version = '%s pre-alpha' % version else: if VERSION[3] != 'final': - version = '%s %s %s' % (ver...
Unit tests for version-retrieval, plus a bugfix they uncovered.
ubernostrum_django-registration
train
2e27e87fee768ea36aeb9186b2647f2808bf5c6f
diff --git a/modules/modules.go b/modules/modules.go index <HASH>..<HASH> 100644 --- a/modules/modules.go +++ b/modules/modules.go @@ -58,7 +58,7 @@ type Chain struct { } var ( - config = "/tmp/beehive.conf" + config = "./beehive.conf" EventsIn = make(chan Event) @@ -146,13 +146,11 @@ func GetModule(identif...
* Don't bail when config doesn't exist.
muesli_beehive
train
109d7bf837191c51159bac2dcf49fd607f7884b0
diff --git a/tests/test_MicroTokenizer.py b/tests/test_MicroTokenizer.py index <HASH>..<HASH> 100644 --- a/tests/test_MicroTokenizer.py +++ b/tests/test_MicroTokenizer.py @@ -7,7 +7,6 @@ import pytest from click.testing import CliRunner -from MicroTokenizer import MicroTokenizer from MicroTokenizer import cli
Bugfix: remove useless and wrong import statement
howl-anderson_MicroTokenizer
train
ae341d725c169ed6ec08218f754c41cc511f29ce
diff --git a/lib/dm-core/associations.rb b/lib/dm-core/associations.rb index <HASH>..<HASH> 100644 --- a/lib/dm-core/associations.rb +++ b/lib/dm-core/associations.rb @@ -167,7 +167,7 @@ module DataMapper end end # module Associations - Resource.append_extensions DataMapper::Associations + Resource::Class...
Changed Associations and Hook to add themselves using Resource::ClassMethods.append_extensions
datamapper_dm-core
train
05612d76b6b0fd7fdfd825fa554932e5822d8170
diff --git a/test/e2e/framework/ingress/ingress_utils.go b/test/e2e/framework/ingress/ingress_utils.go index <HASH>..<HASH> 100644 --- a/test/e2e/framework/ingress/ingress_utils.go +++ b/test/e2e/framework/ingress/ingress_utils.go @@ -38,7 +38,7 @@ import ( "k8s.io/klog" apps "k8s.io/api/apps/v1" - "k8s.io/api/co...
small cleanup of e2e/framework/ingress
kubernetes_kubernetes
train
167f67e8ba9b77b94d91a7990988888a9d560ad4
diff --git a/lib/deployml/configuration.rb b/lib/deployml/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/deployml/configuration.rb +++ b/lib/deployml/configuration.rb @@ -36,6 +36,9 @@ module DeploYML # The ORM used by the project attr_reader :orm + # The environment to run the project in + at...
Added Configuration#environment. * Default it to :production when using the rails2 or rails3 frameworks.
postmodern_deployml
train
905090d86da427194123e088c2ab3c64157be2c1
diff --git a/lib/heroku/commands/ps.rb b/lib/heroku/commands/ps.rb index <HASH>..<HASH> 100644 --- a/lib/heroku/commands/ps.rb +++ b/lib/heroku/commands/ps.rb @@ -8,23 +8,21 @@ module Heroku::Command output << "------- ------------ -------------------------- ---------- ---------" ps.each do |p| - since...
use server-provided elapsed time
heroku_legacy-cli
train
2c882cfdd487a9e2f57b839e3abf795638d46269
diff --git a/views/js/uiForm.js b/views/js/uiForm.js index <HASH>..<HASH> 100644 --- a/views/js/uiForm.js +++ b/views/js/uiForm.js @@ -89,7 +89,8 @@ define([ $translator = $container.find('.form-translator'), $authoringBtn = $('.authoringOpener'), $author...
Some quick fix to the import form. Need to be refactored.
oat-sa_tao-core
train
051c56ceeea2af796332608e3b4c05473bca43ac
diff --git a/lib/memoist.rb b/lib/memoist.rb index <HASH>..<HASH> 100644 --- a/lib/memoist.rb +++ b/lib/memoist.rb @@ -31,7 +31,7 @@ module Memoist end def self.extract_reload!(method, args) - if args.length == method.arity + 1 && (args.last == true || args.last == :reload) + if args.length == method.arit...
Call abs on arity when extracting reload * Optional arguments in the method signature cause arity to be a negative number. Call abs on the method arity to fix option values not working and throwing something like: ArgumentError: wrong number of arguments (3 for 2)
matthewrudy_memoist
train
0009a0345480b96886ac9aec19d36ae23d14f5b6
diff --git a/issue.py b/issue.py index <HASH>..<HASH> 100755 --- a/issue.py +++ b/issue.py @@ -65,7 +65,9 @@ def list_issues(flags, tag): print(str(issue["number"]).ljust(lens["number"] + padding), end='') print(issue["tag"].ljust(lens["tag"] + padding), end='') print(issue["date"].ljust(lens...
Only print first line of each issue on issue listing
boarpig_issue
train
1bd2a13de853da2015d2038ac7df9961a39b2bed
diff --git a/src/MultipartStream.php b/src/MultipartStream.php index <HASH>..<HASH> 100644 --- a/src/MultipartStream.php +++ b/src/MultipartStream.php @@ -113,7 +113,7 @@ class MultipartStream implements StreamInterface // Set a default content-disposition header if one was no provided $disposition = ...
Accept "0" as a valid filename for multipart form file uploads
guzzle_psr7
train
ba77abe07cb77bbe44614c89b3fdbe13e7503c93
diff --git a/internal/pipe/snapcraft/snapcraft.go b/internal/pipe/snapcraft/snapcraft.go index <HASH>..<HASH> 100644 --- a/internal/pipe/snapcraft/snapcraft.go +++ b/internal/pipe/snapcraft/snapcraft.go @@ -175,6 +175,7 @@ func create(ctx *context.Context, arch string, binaries []artifact.Artifact) err } var snap...
chore: make output less verbose
goreleaser_goreleaser
train
9bc9a8167a4d8b7529143d1a26c32c66cdace666
diff --git a/luigi/contrib/bigquery.py b/luigi/contrib/bigquery.py index <HASH>..<HASH> 100644 --- a/luigi/contrib/bigquery.py +++ b/luigi/contrib/bigquery.py @@ -466,6 +466,12 @@ class BigqueryRunQueryTask(MixinBigqueryBulkComplete, luigi.Task): return CreateDisposition.CREATE_IF_NEEDED @property + ...
allow for use of BigQuery's flatten results flag
spotify_luigi
train
56e046a971353b2ed2a73fe7b45b4630609ad3ed
diff --git a/test/test_config.py b/test/test_config.py index <HASH>..<HASH> 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -10,12 +10,22 @@ from khard import config class LoadingConfigFile(unittest.TestCase): + _patch1 = None + _patch2 = None + @classmethod def setUpClass(cls): - ...
Patch the environment in tests instead of modifying it
scheibler_khard
train
660ced9578790e70a34aa07c85f9c852611e21ee
diff --git a/affinity/src/main/java/net/openhft/affinity/impl/OSXJNAAffinity.java b/affinity/src/main/java/net/openhft/affinity/impl/OSXJNAAffinity.java index <HASH>..<HASH> 100644 --- a/affinity/src/main/java/net/openhft/affinity/impl/OSXJNAAffinity.java +++ b/affinity/src/main/java/net/openhft/affinity/impl/OSXJNAAff...
The thread id must be contained in a <I> bit unsigned int.
OpenHFT_Java-Thread-Affinity
train
ec550bc49fac0087fecd417fcf171a35ce9eb354
diff --git a/ember-cli-build.js b/ember-cli-build.js index <HASH>..<HASH> 100644 --- a/ember-cli-build.js +++ b/ember-cli-build.js @@ -10,6 +10,11 @@ module.exports = function(defaults) { minifyCSS: { enabled: false // CSS minification w/ @import rules seems to be broken in Ember-CLI 3.3 + }, + + so...
Compile sourcemaps for demo site to hopefully catch future regressions
sir-dunxalot_ember-tooltips
train
a56c70a3534382b358c5d756a60445466b9c5e1d
diff --git a/plugins/item_tasks/plugin_tests/tasksSpec.js b/plugins/item_tasks/plugin_tests/tasksSpec.js index <HASH>..<HASH> 100644 --- a/plugins/item_tasks/plugin_tests/tasksSpec.js +++ b/plugins/item_tasks/plugin_tests/tasksSpec.js @@ -286,7 +286,7 @@ describe('Navigate to the new JSON task', function () { describe...
Clean up stylus and selectors
girder_girder
train
1392a12816c0ab3f9e97ccb08eccd682be0acfe4
diff --git a/src/Rezzza/AliceExtension/Symfony/ContainerProxy.php b/src/Rezzza/AliceExtension/Symfony/ContainerProxy.php index <HASH>..<HASH> 100644 --- a/src/Rezzza/AliceExtension/Symfony/ContainerProxy.php +++ b/src/Rezzza/AliceExtension/Symfony/ContainerProxy.php @@ -2,9 +2,10 @@ namespace Rezzza\AliceExtension\S...
ContainerProxy should implements ContainerInterface
rezzza_alice-extension
train
be885d9f6522c2f9401532de6e1885bf678c702e
diff --git a/storage/inchi/src/main/java/org/openscience/cdk/inchi/InChIGenerator.java b/storage/inchi/src/main/java/org/openscience/cdk/inchi/InChIGenerator.java index <HASH>..<HASH> 100644 --- a/storage/inchi/src/main/java/org/openscience/cdk/inchi/InChIGenerator.java +++ b/storage/inchi/src/main/java/org/openscience...
Don't ignore major isotopes in InChI generation. If a user want's to remove or add major isotopes by default they can still do this.
cdk_cdk
train
21ce5a6425c98db0cd125ac0e040ea8eff756048
diff --git a/src/bundles/Session/CCSession.php b/src/bundles/Session/CCSession.php index <HASH>..<HASH> 100644 --- a/src/bundles/Session/CCSession.php +++ b/src/bundles/Session/CCSession.php @@ -36,6 +36,19 @@ class CCSession } /** + * Get a value from the session and remove it afterwards + * + * @param strin...
Added once and add functionality CCArr now support add CCSession support now once and add
ClanCats_Core
train
1bf25dc1b2f1f7aca81aedb422f524ad077f8808
diff --git a/notifier/notifier_test.go b/notifier/notifier_test.go index <HASH>..<HASH> 100644 --- a/notifier/notifier_test.go +++ b/notifier/notifier_test.go @@ -442,7 +442,7 @@ func TestLabelSetNotReused(t *testing.T) { func makeInputTargetGroup() *config.TargetGroup { return &config.TargetGroup{ Targets: []mod...
fix issues reported by gofmt and spelling typo (#<I>)
prometheus_prometheus
train
ff618b94b852ec15ed7510c7dead50c360c299da
diff --git a/lib/nuggets/util/pluggable.rb b/lib/nuggets/util/pluggable.rb index <HASH>..<HASH> 100644 --- a/lib/nuggets/util/pluggable.rb +++ b/lib/nuggets/util/pluggable.rb @@ -25,57 +25,68 @@ ############################################################################### #++ +require 'set' + module Util mo...
lib/nuggets/util/pluggable.rb: Improved plugin loading. * Only load each plugin once (if successful). * Only load latest plugin versions from RubyGems. * Allow to load plugins from user-defined locations.
blackwinter_nuggets
train
e8c87f7cb36a339163d1e5af1336e4719d7c10df
diff --git a/cli/command/orchestrator.go b/cli/command/orchestrator.go index <HASH>..<HASH> 100644 --- a/cli/command/orchestrator.go +++ b/cli/command/orchestrator.go @@ -2,6 +2,7 @@ package command import ( "fmt" + "io" "os" ) @@ -19,6 +20,7 @@ const ( defaultOrchestrator = OrchestratorSwarm ...
Warn if DOCKER_ORCHESTRATOR is still used but not DOCKER_STACK_ORCHESTRATOR
docker_cli
train
79c36546916fa7ccec4e6da1d610b381ad14afb0
diff --git a/lib/chai/utils/inspect.js b/lib/chai/utils/inspect.js index <HASH>..<HASH> 100644 --- a/lib/chai/utils/inspect.js +++ b/lib/chai/utils/inspect.js @@ -79,8 +79,9 @@ function formatValue(ctx, value, recurseTimes) { // Make functions say that they are functions if (typeof value === 'function') { - ...
Use `utils.getName` for all function inspections. This makes the `respondTo` tests pass in IE, where functions don't themselves have a `name` property.
chaijs_chai
train
ca20a5f3bb18c78138dc17ee7b6b05c1a3094c20
diff --git a/flake8_aaa/helpers.py b/flake8_aaa/helpers.py index <HASH>..<HASH> 100644 --- a/flake8_aaa/helpers.py +++ b/flake8_aaa/helpers.py @@ -2,6 +2,9 @@ import ast import py +from flake8_aaa.exceptions import NotAMarker +from flake8_aaa.marker import Marker + def is_test_file(filename): """ @@ -48,9 ...
Extend load_markers to load aaa comments
jamescooke_flake8-aaa
train
4dbb2d23b5e2764826f33e4107d73d6fe81d6220
diff --git a/lib/multi_git/tree/builder.rb b/lib/multi_git/tree/builder.rb index <HASH>..<HASH> 100644 --- a/lib/multi_git/tree/builder.rb +++ b/lib/multi_git/tree/builder.rb @@ -10,6 +10,7 @@ module MultiGit def initialize(from = nil, &block) @entries = {} + instance_eval(&block) if block end ...
inserting a MultiGit::Tree::Builder now works
hannesg_multi_git
train
14cc18a91226e375d2aa776971e5a92e87ac83fb
diff --git a/src/toil/provisioners/abstractProvisioner.py b/src/toil/provisioners/abstractProvisioner.py index <HASH>..<HASH> 100644 --- a/src/toil/provisioners/abstractProvisioner.py +++ b/src/toil/provisioners/abstractProvisioner.py @@ -330,7 +330,7 @@ coreos: LEADER_DOCKER_ARGS = '--registry=in_memory --cluster...
Make ignoredNodes functionality actually work The ignoredNodes functionality used to work on the basis of private IPs, but the Mesos batch system checks against the ignoredNodes set on the basis of hostnames. Except in very rare cases (when the reverse-lookup that Mesos performs by default fails), those were completel...
DataBiosphere_toil
train
2159c86940eba3a16341ae3953e41dcedbe0674f
diff --git a/src/com/google/javascript/jscomp/serialization/ScriptNodeDeserializer.java b/src/com/google/javascript/jscomp/serialization/ScriptNodeDeserializer.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/serialization/ScriptNodeDeserializer.java +++ b/src/com/google/javascript/jscomp/seriali...
Correctly add enhanced-for usages to the FeatureSet in TypedAST serialization Fixes an issue where transpilation passes in stage 2 sometimes failed to transpile for-await-of loops, causing a compiler crash. PiperOrigin-RevId: <I>
google_closure-compiler
train
0496107a71f8d7cb518aca0e74f89ea8f2e26224
diff --git a/core/ViewDataTable.php b/core/ViewDataTable.php index <HASH>..<HASH> 100644 --- a/core/ViewDataTable.php +++ b/core/ViewDataTable.php @@ -534,7 +534,9 @@ class ViewDataTable // default sort order to visits/visitors data if (empty($this->viewProperties['filter_sort_column'])) { - ...
Fix regression in default sort column for some actions reports.
matomo-org_matomo
train
9e4e8682dbe7dade0f34f254f7ddac3e3d5a27ce
diff --git a/openstack_dashboard/dashboards/settings/user/forms.py b/openstack_dashboard/dashboards/settings/user/forms.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/settings/user/forms.py +++ b/openstack_dashboard/dashboards/settings/user/forms.py @@ -26,6 +26,12 @@ from horizon import forms fro...
Store user settings in persistent cookies as well as the session This should keep international users from having to reset their language preferences every time they login. Fixes Bug: <I> Change-Id: I<I>e7a<I>bf<I>b<I>ec4a<I>f<I>b<I>db4db
openstack_horizon
train
82ba02ca33042030a899e795e516a1ec6b99aedd
diff --git a/spec/lib/files_spec.rb b/spec/lib/files_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/files_spec.rb +++ b/spec/lib/files_spec.rb @@ -275,15 +275,15 @@ describe '[Files]' do describe '#remove_file_sharing_rights' do it_should_behave_like 'an api request' do - let(:command) { :remove_file...
Fix tests for removing sharing rights (#<I>)
ONLYOFFICE_onlyoffice_api_gem
train
762d48f31b67beff9decea313cbd467c0cf4a699
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -1811,6 +1811,7 @@ class BaseCase(unittest.TestCase): * See https://github.com/SeleniumHQ/selenium/issues...
When checking for JS errors, give enough time for them to appear
seleniumbase_SeleniumBase
train
4ff7bb6232d68953eb0a392a4bfd4f6d5f973d0e
diff --git a/src/Client/CurlFactory.php b/src/Client/CurlFactory.php index <HASH>..<HASH> 100644 --- a/src/Client/CurlFactory.php +++ b/src/Client/CurlFactory.php @@ -76,24 +76,46 @@ class CurlFactory $response['effective_url'] = $response['transfer_stats']['url']; } - if (isset($headers[...
Handling multi-response header parsing. This commit closes issue #<I> and addresses #<I>. This commit ensures that curl responses that required curl to send multiple requests are parsed correctly and that headers are not merged together in the resulting Guzzle response object.
guzzle_RingPHP
train
fc3a4c3843f4be7640ee2ac1a7d354b294ed0bd7
diff --git a/opal/corelib/string/encoding.rb b/opal/corelib/string/encoding.rb index <HASH>..<HASH> 100644 --- a/opal/corelib/string/encoding.rb +++ b/opal/corelib/string/encoding.rb @@ -1,30 +1,26 @@ require 'corelib/string' class Encoding + self.JS['$$register'] = `{}` + def self.register(name, options = {}, ...
Keep an internal registry of encodings Previously it was relying just on constants.
opal_opal
train
0ffc61239f61dbc2df1d4729128fa051b779c391
diff --git a/Form/Type/FilterDbRowMultipleSingleChoiceType.php b/Form/Type/FilterDbRowMultipleSingleChoiceType.php index <HASH>..<HASH> 100644 --- a/Form/Type/FilterDbRowMultipleSingleChoiceType.php +++ b/Form/Type/FilterDbRowMultipleSingleChoiceType.php @@ -25,8 +25,11 @@ class FilterDbRowMultipleSingleChoiceType exte...
Add query_builder option for dbRow filter types
nyroDev_UtilityBundle
train
0de4dda0b68935b7816fc488dbe532a654f3a349
diff --git a/tests/test_authentication.py b/tests/test_authentication.py index <HASH>..<HASH> 100644 --- a/tests/test_authentication.py +++ b/tests/test_authentication.py @@ -12,9 +12,11 @@ from starlette.authentication import ( requires, ) from starlette.endpoints import HTTPEndpoint +from starlette.middleware ...
Remove routing decorators in test_authentication.py (#<I>)
encode_starlette
train
f9f6936e9d6603d03e4301e41063264271fd8a22
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndexSearchFeature.java b/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndexSearchFeature.java index <HASH>..<HASH> 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/component/index/Comp...
SONAR-<I> make perfect name matches score higher in global search
SonarSource_sonarqube
train
3f37bbecadf909dfe4645f9ada3c2b76f79ed62a
diff --git a/bloop/models.py b/bloop/models.py index <HASH>..<HASH> 100644 --- a/bloop/models.py +++ b/bloop/models.py @@ -390,7 +390,11 @@ class GlobalSecondaryIndex(Index): .. _GlobalSecondaryIndex: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html """ - def __init__(self, *, pro...
fix flake issue, test model read/write units default to None
numberoverzero_bloop
train
7074e544ddfceddfc1450e368d9cb454dae47a37
diff --git a/lib/Drupal/AppConsole/Command/Helper/RegisterCommands.php b/lib/Drupal/AppConsole/Command/Helper/RegisterCommands.php index <HASH>..<HASH> 100644 --- a/lib/Drupal/AppConsole/Command/Helper/RegisterCommands.php +++ b/lib/Drupal/AppConsole/Command/Helper/RegisterCommands.php @@ -24,34 +24,8 @@ class Register...
revert order of protected to be at the bottom
hechoendrupal_drupal-console
train
1372163c8608deea49c39560d14d16116d803742
diff --git a/clients/python/girder_client/__init__.py b/clients/python/girder_client/__init__.py index <HASH>..<HASH> 100644 --- a/clients/python/girder_client/__init__.py +++ b/clients/python/girder_client/__init__.py @@ -714,18 +714,6 @@ class GirderClient(object): for chunk in req.iter_content(chunk_siz...
removed useless downloadFileInline function
girder_girder
train
76bb61a65dc60f5ae293951bb0dd873993915308
diff --git a/tests/frontend/org/voltdb/TestRejoinFuzz.java b/tests/frontend/org/voltdb/TestRejoinFuzz.java index <HASH>..<HASH> 100644 --- a/tests/frontend/org/voltdb/TestRejoinFuzz.java +++ b/tests/frontend/org/voltdb/TestRejoinFuzz.java @@ -58,6 +58,7 @@ public class TestRejoinFuzz extends RejoinTestBase { ...
ENG-<I>: Some test changes to make Valgrind pass (hopefully). I think there's a larger problem where Valgrind tests don't look much different from regular tests, from an output to junit reporting point of view. How many tests run in Valgrind? It's really hard to say at the moment without inspecting all the logs. The re...
VoltDB_voltdb
train
ea43ff15dd6a6e755ef54ba75f650ab87a86539e
diff --git a/app/Czech.php b/app/Czech.php index <HASH>..<HASH> 100644 --- a/app/Czech.php +++ b/app/Czech.php @@ -109,7 +109,7 @@ class Czech implements ValidatorInterface if (!$this->validateBankCode($bankCode)) { return false; } - + if (null !== $firstPart && !$this->v...
Fix class for passing tests Fix readme.md - wrong slash in example
heureka_bank-account-validator
train
1492a15d50f2af7be9b716cf28833bdf47343f4c
diff --git a/spec/tweetstream/client_spec.rb b/spec/tweetstream/client_spec.rb index <HASH>..<HASH> 100644 --- a/spec/tweetstream/client_spec.rb +++ b/spec/tweetstream/client_spec.rb @@ -198,7 +198,7 @@ describe TweetStream::Client do end it '#filter should make a call to "statuses/filter" with the query para...
location test args need to be in quotes
tweetstream_tweetstream
train
b9d4980265a4467ee1f12e91016bc234ed8b9813
diff --git a/src/ContainerParser/Parser/ScopeParser.php b/src/ContainerParser/Parser/ScopeParser.php index <HASH>..<HASH> 100644 --- a/src/ContainerParser/Parser/ScopeParser.php +++ b/src/ContainerParser/Parser/ScopeParser.php @@ -74,6 +74,12 @@ class ScopeParser extends ContainerParser $this->scope->addNo...
Added scope parser service definitions
ClanCats_Container
train
9e47373d824f7c23a047c522e5e9ad6f6428e846
diff --git a/engines/bastion/app/assets/javascripts/bastion/widgets/nutupane.factory.js b/engines/bastion/app/assets/javascripts/bastion/widgets/nutupane.factory.js index <HASH>..<HASH> 100644 --- a/engines/bastion/app/assets/javascripts/bastion/widgets/nutupane.factory.js +++ b/engines/bastion/app/assets/javascripts/b...
Fixes #<I> - only disable initial load if it's actually disabled.
Katello_katello
train
68b216c03d295bad04365ead01eb479a84241e93
diff --git a/core/index/lucene42_test.go b/core/index/lucene42_test.go index <HASH>..<HASH> 100644 --- a/core/index/lucene42_test.go +++ b/core/index/lucene42_test.go @@ -20,7 +20,7 @@ func TestReadFieldInfos(t *testing.T) { if err != nil { t.Error(err) } - if !fis.hasNorms || fis.hasDocValues { + if !fis.HasNor...
fix search by reverting CRC<I> change
balzaczyy_golucene
train
4cd79fb0856da414b73ccf6b459384be1e49086b
diff --git a/chain.py b/chain.py index <HASH>..<HASH> 100644 --- a/chain.py +++ b/chain.py @@ -19,7 +19,7 @@ from evm.rlp.transactions import BaseTransaction # noqa: F401 from p2p import protocol from p2p import eth from p2p.cancel_token import CancelToken, wait_with_token -from p2p.exceptions import OperationCance...
p2p: Cleanly abort sync if there are no connected peers Closes #<I>
ethereum_asyncio-cancel-token
train
82d76ef81b90ed213f9ce3f46d3c97e1322025be
diff --git a/tests/unit/test_main.py b/tests/unit/test_main.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_main.py +++ b/tests/unit/test_main.py @@ -724,14 +724,15 @@ import sys def test_unsupported_encodings(tmpdir, capsys): tmp_file = tmpdir.join("file.py") # fmt: off - tmp_file.write( - u'...
Fix how unsupported encoding file is created
timothycrosley_isort
train
1de868a9921db65d979cb271b82014f976b5fb79
diff --git a/src/main/java/com/sdl/selenium/web/utils/FileUtils.java b/src/main/java/com/sdl/selenium/web/utils/FileUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/sdl/selenium/web/utils/FileUtils.java +++ b/src/main/java/com/sdl/selenium/web/utils/FileUtils.java @@ -26,7 +26,7 @@ public class FileUtils ...
more time for waitFileIfIsEmpty
sdl_Testy
train
d3d827c4f8751b99a7e042bd69e5528e0c41bcb6
diff --git a/packages/@vue/cli-service/lib/webpack/ModernModePlugin.js b/packages/@vue/cli-service/lib/webpack/ModernModePlugin.js index <HASH>..<HASH> 100644 --- a/packages/@vue/cli-service/lib/webpack/ModernModePlugin.js +++ b/packages/@vue/cli-service/lib/webpack/ModernModePlugin.js @@ -25,7 +25,10 @@ class ModernMo...
fix(build): modern plugin when building multi page applications with output in sub directories (#<I>)
vuejs_vue-cli
train
7cb8f06e46cccfb67e5d3a73dbc106f385d5dbea
diff --git a/tests/junit/org/jgroups/tests/SharedTransportTest.java b/tests/junit/org/jgroups/tests/SharedTransportTest.java index <HASH>..<HASH> 100644 --- a/tests/junit/org/jgroups/tests/SharedTransportTest.java +++ b/tests/junit/org/jgroups/tests/SharedTransportTest.java @@ -14,7 +14,7 @@ import java.util.List; /**...
[JGRP-<I>] Add tests of disconnecting channels and the creating new ones for the same group
belaban_JGroups
train
3b33c8cf8ebb7bb9f1b734eee3b4ad5e09ded875
diff --git a/aeron-core/src/main/java/uk/co/real_logic/aeron/conductor/ClientConductor.java b/aeron-core/src/main/java/uk/co/real_logic/aeron/conductor/ClientConductor.java index <HASH>..<HASH> 100644 --- a/aeron-core/src/main/java/uk/co/real_logic/aeron/conductor/ClientConductor.java +++ b/aeron-core/src/main/java/uk/...
ensure all agents catch and log exceptions at the top level
real-logic_aeron
train
f640243ee3bf69927179f2f38e6f78d1087f85be
diff --git a/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java b/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java index <HASH>..<HASH> 100644 --- a/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java +++ b/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java @@ -159,6 +15...
Issue #<I> Set the tile size from the constructor using the initial tile source.
osmdroid_osmdroid
train
fe4c7b012ab329570e85260a13dc646b76592442
diff --git a/modules/okhttp/src/main/java/dev/failsafe/okhttp/FailsafeCall.java b/modules/okhttp/src/main/java/dev/failsafe/okhttp/FailsafeCall.java index <HASH>..<HASH> 100644 --- a/modules/okhttp/src/main/java/dev/failsafe/okhttp/FailsafeCall.java +++ b/modules/okhttp/src/main/java/dev/failsafe/okhttp/FailsafeCall.ja...
Propagate async call future cancellation to FailsafeCall
jhalterman_failsafe
train
cd48bd2478accbb2638bcfc7e32cb62d3d0ab2cc
diff --git a/activesupport/test/time_zone_test.rb b/activesupport/test/time_zone_test.rb index <HASH>..<HASH> 100644 --- a/activesupport/test/time_zone_test.rb +++ b/activesupport/test/time_zone_test.rb @@ -224,9 +224,9 @@ class TimeZoneTest < Test::Unit::TestCase end def test_formatted_offset_positive - zon...
Using not effected timezone in tests.
rails_rails
train
b62f422394bae86b14092b0a404b2630a6c6df83
diff --git a/p2p/host/peerstore/addr_manager.go b/p2p/host/peerstore/addr_manager.go index <HASH>..<HASH> 100644 --- a/p2p/host/peerstore/addr_manager.go +++ b/p2p/host/peerstore/addr_manager.go @@ -12,7 +12,7 @@ import ( ma "github.com/multiformats/go-multiaddr" ) -const ( +var ( // TempAddrTTL is the ttl use...
make it possible to modify non-permanent TTLs useful for testing, at the very least.
libp2p_go-libp2p
train
2c56424e2d1ad02290a44ab15ce980b1a5204ed2
diff --git a/photini/configstore.py b/photini/configstore.py index <HASH>..<HASH> 100644 --- a/photini/configstore.py +++ b/photini/configstore.py @@ -23,7 +23,7 @@ import appdirs from PyQt4 import QtCore class ConfigStore(object): - def __init__(self): + def __init__(self, name): self.config = SafeC...
Changed name of config file.
jim-easterbrook_Photini
train
61a12193952d2e4d43c8d61e22261565f016d5e8
diff --git a/sonnet/src/adam.py b/sonnet/src/adam.py index <HASH>..<HASH> 100644 --- a/sonnet/src/adam.py +++ b/sonnet/src/adam.py @@ -103,7 +103,6 @@ class Adam(base.Module): self._initialize(parameters) self.step.assign_add(1) for update, parameter, m, v in zip(updates, parameters, self.m, self.v): - ...
Remove TODO for caching casts. These are all scalars so the casts cost little. PiperOrigin-RevId: <I> Change-Id: I<I>d<I>d<I>ff<I>a<I>c<I>c<I>ebefd1
deepmind_sonnet
train
42f3aa3208a1e02bce77091ef651e26a06f1fadc
diff --git a/Tank/Plugins/Aggregator.py b/Tank/Plugins/Aggregator.py index <HASH>..<HASH> 100644 --- a/Tank/Plugins/Aggregator.py +++ b/Tank/Plugins/Aggregator.py @@ -359,6 +359,7 @@ class AbstractReader: def pop_second(self): ''' pop from out queue new aggregate data item ''' + self.data_queue.s...
sort seconds buffer in aggregator before popping
yandex_yandex-tank
train
5968dccc4c3da027c806b394181222f551ea3bc3
diff --git a/src/js/select2/i18n/fr.js b/src/js/select2/i18n/fr.js index <HASH>..<HASH> 100644 --- a/src/js/select2/i18n/fr.js +++ b/src/js/select2/i18n/fr.js @@ -8,20 +8,20 @@ define(function () { var overChars = args.input.length - args.maximum; return 'Supprimez ' + overChars + ' caractère' + - ...
Fix pluralization (#<I>) The test return always 's' in translations : inputTooLong, inputTooShort, maximumSelected
select2_select2
train
5565d315dad31df9861ada7f6a5bc8addd4fbc00
diff --git a/contribs/gmf/src/authentication/module.js b/contribs/gmf/src/authentication/module.js index <HASH>..<HASH> 100644 --- a/contribs/gmf/src/authentication/module.js +++ b/contribs/gmf/src/authentication/module.js @@ -3,7 +3,6 @@ */ goog.provide('gmf.authentication.module'); -goog.require('gmf'); goog.re...
Don't require gmf, like in search module
camptocamp_ngeo
train
afc21eb29cbbfa6848d70d2dca2224a69162ca80
diff --git a/src/Illuminate/Redis/Limiters/DurationLimiterBuilder.php b/src/Illuminate/Redis/Limiters/DurationLimiterBuilder.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Redis/Limiters/DurationLimiterBuilder.php +++ b/src/Illuminate/Redis/Limiters/DurationLimiterBuilder.php @@ -73,7 +73,7 @@ class DurationLimit...
fix PHPdoc for decay param (#<I>)
laravel_framework
train
0c4045df36614966f094a59c1a70d044fd25e94c
diff --git a/leaflet_storage/templatetags/leaflet_storage_tags.py b/leaflet_storage/templatetags/leaflet_storage_tags.py index <HASH>..<HASH> 100644 --- a/leaflet_storage/templatetags/leaflet_storage_tags.py +++ b/leaflet_storage/templatetags/leaflet_storage_tags.py @@ -24,7 +24,7 @@ def leaflet_storage_js(locale=None)...
Allow to override options in map_fragment
umap-project_django-leaflet-storage
train
3671cc7f27130ecd468a04bc27c7554382d6f3fa
diff --git a/lfs/transfer_queue.go b/lfs/transfer_queue.go index <HASH>..<HASH> 100644 --- a/lfs/transfer_queue.go +++ b/lfs/transfer_queue.go @@ -224,15 +224,14 @@ func (q *TransferQueue) batchApiRoutine() { startProgress.Do(q.meter.Start) for _, o := range objects { - if _, ok := o.Rel(q.transferKind); ok {...
check for errors before checking for a link action
git-lfs_git-lfs
train
31e145936b6648e309e232c4ed5a4936999cee75
diff --git a/closure/goog/labs/testing/environment.js b/closure/goog/labs/testing/environment.js index <HASH>..<HASH> 100644 --- a/closure/goog/labs/testing/environment.js +++ b/closure/goog/labs/testing/environment.js @@ -107,10 +107,10 @@ goog.labs.testing.Environment = goog.defineClass(null, { this.mockCont...
Move tearDown to be invoked in finally block, so that it executes even if there is an exception during verifying or replaying all. ------------- Created by MOE: <URL>
google_closure-library
train
97310190550f224bdc6a94023d4108288775f336
diff --git a/presto-main/src/main/java/com/facebook/presto/sql/gen/CommonSubExpressionRewriter.java b/presto-main/src/main/java/com/facebook/presto/sql/gen/CommonSubExpressionRewriter.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/sql/gen/CommonSubExpressionRewriter.java +++ b/pres...
Skip BIND in common sub-expression extraction BIND returns a function type rather than a value type so it's not suitable for common sub-expression optimization.
prestodb_presto
train
e46a96a26c2c7a89bc4144d7ee5af61e508efa21
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 @@ -29,6 +29,7 @@ class TabTestCase(unittest.TestCase): self._browser.Star...
[telemetry] Attempt to fix testActivateTab. The test immediately checks for document visible. It might not be true because the page hasn't finished loading yet. So we should just wait for it. BUG=<I> TEST=tools/telemetry/run_tests testActivateTab # Though this isn't a <I>% test, since the flakiness was rare and Win...
catapult-project_catapult
train
c81854c4439fc273700e2da670d631c380ff21e4
diff --git a/lib/AssetGraph.js b/lib/AssetGraph.js index <HASH>..<HASH> 100644 --- a/lib/AssetGraph.js +++ b/lib/AssetGraph.js @@ -129,17 +129,16 @@ class AssetGraph extends EventEmitter { * * Add an asset to the graph. * - * @param {Asset} asset The asset to add. - * @return {AssetGraph} The ...
WIP, simplify loadAssets further, always return an array from addAsset <I> failing [ci skip]
assetgraph_assetgraph
train
b75e569cdf09a45d5852f5484f63b394d3fd4d20
diff --git a/test/ginkgo-ext/scopes.go b/test/ginkgo-ext/scopes.go index <HASH>..<HASH> 100644 --- a/test/ginkgo-ext/scopes.go +++ b/test/ginkgo-ext/scopes.go @@ -62,6 +62,7 @@ var ( FIt = wrapItFunc(ginkgo.FIt, true) PIt = ginkgo.PIt XIt ...
Ginkgo: Add Measure in Ginkgo-ext
cilium_cilium
train
7d7cbef7e6c618bde4e6f3595039a9d2cc858523
diff --git a/lib/attachinary/orm/base_extension.rb b/lib/attachinary/orm/base_extension.rb index <HASH>..<HASH> 100644 --- a/lib/attachinary/orm/base_extension.rb +++ b/lib/attachinary/orm/base_extension.rb @@ -39,6 +39,23 @@ module Attachinary options end + if options[:single] + #...
allowing uploads by urls
assembler_attachinary
train
460dafbc86c03a72008e93a29fbee02b61e86ba2
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Arguments: * `path` (string, mandatory): the path for this repo * `options` (object, optional): may contain the following values - * `lock` (string *Deprecated* or [Lock](#lock)), string can be `"fs"`...
docs: update docs to be clearer Ensure locks have a close method when creating the lock
ipfs_js-ipfs-repo
train
f3dd60bf0d5e0b9421d107ea76ef5534e44d16a7
diff --git a/lib/core/abstract_jdl_application.js b/lib/core/abstract_jdl_application.js index <HASH>..<HASH> 100644 --- a/lib/core/abstract_jdl_application.js +++ b/lib/core/abstract_jdl_application.js @@ -19,9 +19,9 @@ const ApplicationOptions = require('./jhipster/application_options'); const mergeObjects = requ...
Replaced use of the CustomSet in the JDL applications in favor of the SetUtils functions
jhipster_jhipster-core
train
87c22187a988558ebe048f6caea56c1a03ee7513
diff --git a/session.go b/session.go index <HASH>..<HASH> 100644 --- a/session.go +++ b/session.go @@ -496,6 +496,7 @@ runLoop: putPacketBuffer(&p.header.Raw) case p := <-s.paramsChan: s.processTransportParameters(&p) + continue case _, ok := <-s.handshakeEvent: // when the handshake is completed, t...
don't send a packet after receiving the transport parameters
lucas-clemente_quic-go
train
bf3f1c19cd3af2da536ec75e42a210c9f71abac4
diff --git a/lib/plsql/oci_connection.rb b/lib/plsql/oci_connection.rb index <HASH>..<HASH> 100644 --- a/lib/plsql/oci_connection.rb +++ b/lib/plsql/oci_connection.rb @@ -194,8 +194,7 @@ module PLSQL end when :"OCI8::CLOB", :"OCI8::BLOB" # ruby-oci8 cannot create CLOB/BLOB from '' - valu...
correction to ruby_value_to_ora_value when type is OCI8::CLOB
rsim_ruby-plsql
train
8d57ec980e59aead2a82ffa0f68809b87070c040
diff --git a/src/Json/JsonFormatter.php b/src/Json/JsonFormatter.php index <HASH>..<HASH> 100644 --- a/src/Json/JsonFormatter.php +++ b/src/Json/JsonFormatter.php @@ -3,7 +3,7 @@ /** * This file is part of phpcq/author-validation. * - * (c) 2014 Christian Schiffler, Tristan Lins + * (c) 2014-2018 Christian Schiffl...
Remove the superfluous php version compare
phpcq_author-validation
train
c1df54c67948bbb6ab86f7cbc7796642fafece0d
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -151,6 +151,13 @@ function create(defaults) { continue } + // return early on HEAD requests + if (o.method.toUpperCase() === 'HEAD') { + res.req = req + res.resume() + ...
don't buffer or gunzip the request on HEAD requests
cojs_cogent
train
af82f49cdaf8a9a2bcbffaa1f69d0727873b1bb9
diff --git a/src/Doctrine/OrientDB/Query/Formatter/Query/Updates.php b/src/Doctrine/OrientDB/Query/Formatter/Query/Updates.php index <HASH>..<HASH> 100644 --- a/src/Doctrine/OrientDB/Query/Formatter/Query/Updates.php +++ b/src/Doctrine/OrientDB/Query/Formatter/Query/Updates.php @@ -20,7 +20,6 @@ namespace Doctrine\Ori...
Remove unused class that caused the error
doctrine_orientdb-odm
train
aa40f23952a61b75a44e373630a24f77066843b1
diff --git a/prow/github/client.go b/prow/github/client.go index <HASH>..<HASH> 100644 --- a/prow/github/client.go +++ b/prow/github/client.go @@ -1459,7 +1459,7 @@ func (c *client) AcceptUserOrgInvitation(org string) error { path: fmt.Sprintf("/user/memberships/orgs/%s", org), org: org, request...
Fix accept org invitation method The expected succeess code is <I> instead of <I>
kubernetes_test-infra
train
26af54257ead399bf42fa8f76740e9c59ae67ba4
diff --git a/neuropythy/__init__.py b/neuropythy/__init__.py index <HASH>..<HASH> 100644 --- a/neuropythy/__init__.py +++ b/neuropythy/__init__.py @@ -11,7 +11,7 @@ from vision import (retinotopy_data, empirical_retinotopy_data, predicted_re neighborhood_cortical_magnification) # Version...
upped version number for pypi alpha release
noahbenson_neuropythy
train
a15fe14fe6c6d6c06b22cc22526153f935857dd8
diff --git a/test/index.js b/test/index.js index <HASH>..<HASH> 100644 --- a/test/index.js +++ b/test/index.js @@ -9,8 +9,6 @@ var path = require('path'); var fs = require('fs'); var assert = require('assert'); -var diff = require('diff'); -var chalk = require('chalk'); var mdast = require('mdast'); var File = req...
Add `assert.equal` instead of custom string-diff algorithm
remarkjs_remark-man
train
1c002347ad21e3b92e35282579c6574ca866e449
diff --git a/src/Test.php b/src/Test.php index <HASH>..<HASH> 100644 --- a/src/Test.php +++ b/src/Test.php @@ -175,6 +175,16 @@ class Test if (!isset($e)) { $this->isOk($comment, strlen($out) ? 'darkGreen' : 'green'); } else { + if (!isset($err))...
make sure this is at least always set
toast-php_unit
train
f9863409739c8917b24c4844432f984d68877c63
diff --git a/packages/@vue/cli-service/lib/config/base.js b/packages/@vue/cli-service/lib/config/base.js index <HASH>..<HASH> 100644 --- a/packages/@vue/cli-service/lib/config/base.js +++ b/packages/@vue/cli-service/lib/config/base.js @@ -10,6 +10,9 @@ module.exports = (api, options) => { const isLegacyBundle = pr...
fix: set hashFunction to `xxhash<I>` to fix Node <I> compatibility (#<I>)
vuejs_vue-cli
train
cdf1712cb178a702270eeab8f6583a9cd6b3c1db
diff --git a/lib/mongomodel/railtie.rb b/lib/mongomodel/railtie.rb index <HASH>..<HASH> 100644 --- a/lib/mongomodel/railtie.rb +++ b/lib/mongomodel/railtie.rb @@ -18,5 +18,13 @@ module MongoModel MongoModel.configuration = mongomodel_configuration[Rails.env] end end + + initializer "mongomod...
Add forked process reconnection code for passenger
spohlenz_mongomodel
train
308d1431636af66408afe394bf5653efc4020846
diff --git a/tests/GreenhouseServiceTest.php b/tests/GreenhouseServiceTest.php index <HASH>..<HASH> 100644 --- a/tests/GreenhouseServiceTest.php +++ b/tests/GreenhouseServiceTest.php @@ -52,7 +52,7 @@ class GreenhouseServiceTest extends \PHPUnit_Framework_TestCase ); $baseUrl = ApiService::j...
Add colon to test to match auth header.
grnhse_greenhouse-tools-php
train
66fe255cda77384efd14ee13ba38b37578d6c99c
diff --git a/aegea/__init__.py b/aegea/__init__.py index <HASH>..<HASH> 100644 --- a/aegea/__init__.py +++ b/aegea/__init__.py @@ -60,6 +60,7 @@ def initialize(): formatter_class=argparse.RawTextHelpFormatter ) parser.add_argument("--version", action="version", version="%(prog)s {version}".format(ver...
Bump deps; fix linter
kislyuk_aegea
train
14f90d731048a1a2cd336d8194e3453e14fd0bd7
diff --git a/autograd/numpy/linalg.py b/autograd/numpy/linalg.py index <HASH>..<HASH> 100644 --- a/autograd/numpy/linalg.py +++ b/autograd/numpy/linalg.py @@ -89,10 +89,6 @@ def broadcasting_dsymv(alpha, A, x, lower=None): A_sym[..., idxs, idxs] *= 0.5 return onp.einsum('...ij,...j->...i', A_sym, x) -def br...
Using np.diagonal in cholesky grad
HIPS_autograd
train
e52db2bb7e6d23974d69a9cd412802ad82ac5165
diff --git a/lib/kindle_manager/adapters/highlights_adapter.rb b/lib/kindle_manager/adapters/highlights_adapter.rb index <HASH>..<HASH> 100644 --- a/lib/kindle_manager/adapters/highlights_adapter.rb +++ b/lib/kindle_manager/adapters/highlights_adapter.rb @@ -11,8 +11,10 @@ module KindleManager end def go_to...
Fix sign in of kindle highlights page
kyamaguchi_kindle_manager
train
6511c919ef205c10bc9ea08ad9dfe0f7c4e03518
diff --git a/userapp/__init__.py b/userapp/__init__.py index <HASH>..<HASH> 100644 --- a/userapp/__init__.py +++ b/userapp/__init__.py @@ -51,6 +51,9 @@ class IterableObject(object): def to_json(self): return json.dumps(self, cls=IterableObjectEncoder) + def to_dict(self): + return DictionaryU...
Added support for converting object to dictionary.
userapp-io_userapp-python
train
1320a99323cb7dd1319366cc710362d8bebc0b05
diff --git a/test/helpers/bootstrap_helper_test.rb b/test/helpers/bootstrap_helper_test.rb index <HASH>..<HASH> 100644 --- a/test/helpers/bootstrap_helper_test.rb +++ b/test/helpers/bootstrap_helper_test.rb @@ -232,15 +232,13 @@ class BootstrapHelperTest < ActionView::TestCase assert_select 'div.modal-footer' ...
# On Rails 4+, assert_select is nokogiri-powered
PublicHealthEngland_ndr_ui
train
766d2daa06509839779cd2f33728535d2b428485
diff --git a/testing/test_runner.py b/testing/test_runner.py index <HASH>..<HASH> 100644 --- a/testing/test_runner.py +++ b/testing/test_runner.py @@ -570,13 +570,16 @@ def test_pytest_exit_msg(testdir): result.stderr.fnmatch_lines(["Exit: oh noes"]) -def test_pytest_exit_returncode(): - try: - pytes...
Update returncode exit test to check exitstatus returrned from test session
pytest-dev_pytest
train
f337a5ba32d2e3cb1a65a0391b9bc9e2d89983d5
diff --git a/lib/libnmap.js b/lib/libnmap.js index <HASH>..<HASH> 100644 --- a/lib/libnmap.js +++ b/lib/libnmap.js @@ -350,14 +350,13 @@ var version = 'v0.4.0' /* singular IPv4, IPv6 or RFC-1123 hostname */ case (validation.test(tests.hostname, host) || validation.test(tests.IPv4,...
Added conditional for IPv6 CIDR range prcoessing
jas-_node-libnmap
train
71613a2d1d4161a3064ec9ccf65f7c54f5c983f8
diff --git a/will/decorators.py b/will/decorators.py index <HASH>..<HASH> 100644 --- a/will/decorators.py +++ b/will/decorators.py @@ -92,7 +92,7 @@ def rendered_template(template_name, context=None, custom_filters=[]): def wrap(f): def wrapped_f(*args, **kwargs): context = f(*arg...
PEP8 warning fix replaced type comparsion for isinstance
skoczen_will
train
302ba289710144feaa27721cdcfb2204028dc6a3
diff --git a/lib/eye/controller/load.rb b/lib/eye/controller/load.rb index <HASH>..<HASH> 100644 --- a/lib/eye/controller/load.rb +++ b/lib/eye/controller/load.rb @@ -85,6 +85,7 @@ private cfg = Eye::Dsl.parse(nil, filename) @current_config.merge(cfg).validate! # just validate summary config here + Eye.p...
remove link on config, for better gc in load
kostya_eye
train
fae7a09b83e3e2d4abbd7a9454a189c0a6da4cd7
diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java index <HASH>..<HASH> 100644 --- a/spring-boot-project/spring-boot-tes...
Support custom SpringBootContextLoader environment Provide a `getEnvironment` method in `SpringBootContextLoader` to allow specialized `ConfigurableEnvironment` implementations to be used. Closes gh-<I>
spring-projects_spring-boot
train