hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
92b96ebc0ba62055de464ae99e6f53a6d0ffb4c8
diff --git a/healthcheck/dns.go b/healthcheck/dns.go index <HASH>..<HASH> 100644 --- a/healthcheck/dns.go +++ b/healthcheck/dns.go @@ -140,7 +140,7 @@ func (hc *DNSChecker) Check(timeout time.Duration) *Result { return complete(start, msg, false, nil) } if rc := r.Rcode; rc != dns.RcodeSuccess { - msg = fmt.Spr...
healthcheck: fix Sprintf fmt verbs in dns
google_seesaw
train
go
113e682376de83e4a46b890e0b113a7db503b9c4
diff --git a/dumper/site.py b/dumper/site.py index <HASH>..<HASH> 100644 --- a/dumper/site.py +++ b/dumper/site.py @@ -2,7 +2,7 @@ from six import string_types from django.db.models import signals -from .invalidation import invalidate_paths +import dumper.invalidation def register(model): @@ -26,7 +26,7 @@ de...
Use absolute inputs in site for consistency
saulshanabrook_django-dumper
train
py
81df0c19aea73c1d371d583399777c073bacfec1
diff --git a/src/libs/router.js b/src/libs/router.js index <HASH>..<HASH> 100644 --- a/src/libs/router.js +++ b/src/libs/router.js @@ -303,15 +303,15 @@ export default class Router { // sollte in start umbenannt werden _init(){ - this._bindEvents(); + this._bindInternalCoreEvents(); } /** - * _bindEven...
src/libs/router.js: rename _bindEvents to _bindInternlCoreEvents
SerkanSipahi_app-decorators
train
js
3483856eb8c2ec625f1680da6e579fa2fb2a1aac
diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index <HASH>..<HASH> 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -459,7 +459,7 @@ function glossary_print_entry($course, $cm, $glossary, $entry, $mode="",$hook="" return $return; } function glossary_print_entry_concept($entry) { - ...
Now glossary concepts are not linked (bug <I>). Patch submitted by Petr Skoda.
moodle_moodle
train
php
a344ca2d1f1d54f2517c0c154aa2e8627091db6a
diff --git a/src/main/java/technology/tabula/detectors/NurminenDetectionAlgorithm.java b/src/main/java/technology/tabula/detectors/NurminenDetectionAlgorithm.java index <HASH>..<HASH> 100644 --- a/src/main/java/technology/tabula/detectors/NurminenDetectionAlgorithm.java +++ b/src/main/java/technology/tabula/detectors/N...
Turns out three table header rows are better than two. <I> tests pass now
tabulapdf_tabula-java
train
java
873973d04aea05ca4be3795db00f0818b5315a44
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -68,17 +68,20 @@ AwsHelper._getEventHeaders = function () { if (event.Records && event.Records[0] && event.Records[0].Sns.Message) { try { var msg = JSON.parse(event.Records[0].Sns.Message); - ...
add ignore comments to _getEventHeaders because else branch is never executed
numo-labs_aws-lambda-helper
train
js
72d02bd56a999a776c61eb716c98973130fd02f2
diff --git a/src/sb/Files/ForceDownload.php b/src/sb/Files/ForceDownload.php index <HASH>..<HASH> 100644 --- a/src/sb/Files/ForceDownload.php +++ b/src/sb/Files/ForceDownload.php @@ -35,7 +35,7 @@ class ForceDownload while (ob_get_level() > 0) { ob_end_flush(); } - \sb\Files::read_...
fixed reference to readChunked method
surebert_surebert-framework
train
php
7e3edf3d886e0797a61ba9559276f8c2ec287b4f
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -222,5 +222,7 @@ matter.language = function(str, options) { */ matter.cache = {}; -matter.clearCache = function() { matter.cache = {} }; +matter.clearCache = function() { + matter.cache = {}; +}; module.exports = matter...
Putting in better formatting for the clearCache function.
jonschlinkert_gray-matter
train
js
89bacfdb881bb827d4c6af3d1baf5264f2b38491
diff --git a/h5p.classes.php b/h5p.classes.php index <HASH>..<HASH> 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -1279,6 +1279,25 @@ class H5PCore { } /** + * Save content and clear cache. + * + * @param array $content + * @return int Content ID + */ + public function saveContent($content, ...
Made sure main content id isn't required. Conflicts: h5p.classes.php
h5p_h5p-php-library
train
php
5f040181f1829c12b083adffb5f76a1451af844a
diff --git a/test/spec/refinements.js b/test/spec/refinements.js index <HASH>..<HASH> 100644 --- a/test/spec/refinements.js +++ b/test/spec/refinements.js @@ -56,19 +56,23 @@ test( "IsRefined should return true if the ( facet, value ) is refined.", functi t.end(); } ); -test( "IsRefined should return true if the ...
Update test so that it also covers hasRefinements
algolia_algoliasearch-helper-js
train
js
f4d3396701e11c6d25be96630585524fe1fd5df1
diff --git a/scenarios/kubernetes_kubelet.py b/scenarios/kubernetes_kubelet.py index <HASH>..<HASH> 100755 --- a/scenarios/kubernetes_kubelet.py +++ b/scenarios/kubernetes_kubelet.py @@ -119,7 +119,6 @@ def run_local_mode(script, properties, private_key, public_key): k8s = os.getcwd() if not os.path.basename(...
Do not set the ssh username
kubernetes_test-infra
train
py
ca260aa007fe45a91cb552045f043268fc5bd10e
diff --git a/lib/beaker-pe/version.rb b/lib/beaker-pe/version.rb index <HASH>..<HASH> 100644 --- a/lib/beaker-pe/version.rb +++ b/lib/beaker-pe/version.rb @@ -3,7 +3,7 @@ module Beaker module PE module Version - STRING = '0.10.1' + STRING = '0.11.0' end end
(GEM) update beaker-pe version to <I>
puppetlabs_beaker-pe
train
rb
57344c65fe39923ab2debbf581d9fd0dbc46b2fa
diff --git a/rest_framework_tracking/base_mixins.py b/rest_framework_tracking/base_mixins.py index <HASH>..<HASH> 100644 --- a/rest_framework_tracking/base_mixins.py +++ b/rest_framework_tracking/base_mixins.py @@ -112,8 +112,7 @@ class BaseLoggingMixin(object): method = request.method.lower() try: ...
fix(): fix pylint
aschn_drf-tracking
train
py
d931aa19a2ad106f180c575649ddf798d5eb1ef9
diff --git a/molo/core/tests/test_translations.py b/molo/core/tests/test_translations.py index <HASH>..<HASH> 100644 --- a/molo/core/tests/test_translations.py +++ b/molo/core/tests/test_translations.py @@ -52,7 +52,7 @@ class TestTranslations(TestCase, MoloTestCaseMixin): # and not the french section ...
ensure failing tests when not using latest wagtail version
praekeltfoundation_molo
train
py
1c585cd4de201ab603c0135f7d1755f7e2d1ab38
diff --git a/tests/traits/InteractsWithTenancy.php b/tests/traits/InteractsWithTenancy.php index <HASH>..<HASH> 100644 --- a/tests/traits/InteractsWithTenancy.php +++ b/tests/traits/InteractsWithTenancy.php @@ -185,9 +185,9 @@ trait InteractsWithTenancy $system = $this->connection->system(); -// if ...
try to rollback only when something is open
tenancy_multi-tenant
train
php
0f72c5d9297361fd1b390055746bf263eff26143
diff --git a/pyaxiom/netcdf/sensors/timeseries.py b/pyaxiom/netcdf/sensors/timeseries.py index <HASH>..<HASH> 100644 --- a/pyaxiom/netcdf/sensors/timeseries.py +++ b/pyaxiom/netcdf/sensors/timeseries.py @@ -217,7 +217,10 @@ class TimeSeries(object): unique_times = times[self.time_indexes] # Unique t...
Add special case where verticals are all zero
axiom-data-science_pyaxiom
train
py
3abc3b6625dfca142a5e66c92ab531cc70bad2f9
diff --git a/chef/lib/chef/application.rb b/chef/lib/chef/application.rb index <HASH>..<HASH> 100644 --- a/chef/lib/chef/application.rb +++ b/chef/lib/chef/application.rb @@ -41,7 +41,11 @@ class Chef::Application at_exit do # tear down the logger - end + end + + # Always switch to a reada...
CHEF-<I>: Always switch to a readable directory. Keeps subsequent Dir.chdir() {} from failing due to permissions when launched as a less privileged user.
chef_chef
train
rb
799a7cdb02c91210222b93d36c39f93bfd9359a6
diff --git a/image_helper/__init__.py b/image_helper/__init__.py index <HASH>..<HASH> 100644 --- a/image_helper/__init__.py +++ b/image_helper/__init__.py @@ -1,2 +1,2 @@ -VERSION = '0.0.1' +VERSION = '0.0.2' diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ fr...
updated PIL dependency to use Pillow which seems more reliable
madisona_django-image-helper
train
py,py
985c2b67ecb10c85a47c289c3bee1a5cad9a2a85
diff --git a/src/Dev/SapphireTest.php b/src/Dev/SapphireTest.php index <HASH>..<HASH> 100644 --- a/src/Dev/SapphireTest.php +++ b/src/Dev/SapphireTest.php @@ -283,6 +283,11 @@ class SapphireTest extends PHPUnit_Framework_TestCase implements TestOnly $fixtureFiles = $this->getFixturePaths(); if ($thi...
Add fixtureFactory prop assignment back with comment indicating purpose
silverstripe_silverstripe-framework
train
php
6933505ccf8ccf8f5f2200f85e084e4436888bdc
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -182,6 +182,9 @@ analyzer.prototype = { var res, then = Date.now(); + this.metrics = {}; + this.offenders = {}; + // load and init all rules this.initRules();
Reset metrics and offenders at init
macbre_analyze-css
train
js
6b136c2bc9a6c9756e5319b045e3c42da06243cb
diff --git a/superset/views/datasource/views.py b/superset/views/datasource/views.py index <HASH>..<HASH> 100644 --- a/superset/views/datasource/views.py +++ b/superset/views/datasource/views.py @@ -81,7 +81,7 @@ class Datasource(BaseSupersetView): if "owners" in datasource_dict and orm_datasource.owner_clas...
fix: can't save dataset modal (#<I>)
apache_incubator-superset
train
py
f600ba4b2e6f50e14b0f39829e44c9d4c8b35a1b
diff --git a/lib/puppet-lint/plugin.rb b/lib/puppet-lint/plugin.rb index <HASH>..<HASH> 100644 --- a/lib/puppet-lint/plugin.rb +++ b/lib/puppet-lint/plugin.rb @@ -214,6 +214,7 @@ class PuppetLint::CheckPlugin [ :COMMENT, :MLCOMMENT, + :SLASH_COMENT, :INDENT, :WHITESPACE, :NE...
Add :SLASH_COMMENT to formatting_tokens
rodjek_puppet-lint
train
rb
64514db71fb8134aae3ca47bec3b42b407b33de9
diff --git a/Route/AdminPoolLoader.php b/Route/AdminPoolLoader.php index <HASH>..<HASH> 100644 --- a/Route/AdminPoolLoader.php +++ b/Route/AdminPoolLoader.php @@ -53,7 +53,7 @@ class AdminPoolLoader extends FileLoader */ public function supports($resource, $type = null) { - return $type == self::...
Changed loose comparisons to strict comparison Changed loose comparisons to strict comparison in supports() method, micro optimization
sonata-project_SonataAdminBundle
train
php
7c2ad0e784fd7fc7fba92d21e5c4f55c5a18baaf
diff --git a/reports/reports.go b/reports/reports.go index <HASH>..<HASH> 100644 --- a/reports/reports.go +++ b/reports/reports.go @@ -37,7 +37,7 @@ var reportMap = map[string]Report{} var reports = []Report{} // GetAllReports returns a slice of all registered reports. This list is -// completely independant of the...
fix a misspelling of independent in reports.go
kubernetes_test-infra
train
go
276ae827698dfc625b3bff1945a7656f72ec2d23
diff --git a/src/engine/runtime.js b/src/engine/runtime.js index <HASH>..<HASH> 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -439,6 +439,11 @@ Runtime.prototype.startHats = function (requestedHatOpcode, } var instance = this; var newThreads = []; + + for (var opts in optMatchField...
Fixes Case Insensitive Broadcast Bug Broadcasts are case sensitive #<I>
LLK_scratch-vm
train
js
1dfcd10a5d73bebd17f33fb6e88ffed88f5bb3b4
diff --git a/src/createLambdaProxyContext.js b/src/createLambdaProxyContext.js index <HASH>..<HASH> 100644 --- a/src/createLambdaProxyContext.js +++ b/src/createLambdaProxyContext.js @@ -10,9 +10,6 @@ module.exports = function createLambdaProxyContext(request, options, stageVariab const authPrincipalId = request.aut...
Update authorizer property path in lambda-proxy context
dherault_serverless-offline
train
js
8f454444b19bc41c0a78d488fb71e342cb854d58
diff --git a/src/pybel/manager/models.py b/src/pybel/manager/models.py index <HASH>..<HASH> 100644 --- a/src/pybel/manager/models.py +++ b/src/pybel/manager/models.py @@ -380,8 +380,8 @@ class Network(Base): contact = Column(String(255), nullable=True, doc='Contact email from the underlying BEL file') descri...
Update model field types Switch from string to text since these can be long-form free text.
pybel_pybel
train
py
c7334363b36c5f7f1c7880fe77a2e9b2eb1a6442
diff --git a/src/structures/Message.js b/src/structures/Message.js index <HASH>..<HASH> 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -555,6 +555,7 @@ class Message extends Base { * .catch(console.error); */ async react(emoji) { + emoji = this.client.emojis.resolveIdentifier(...
fix: resolve emoji in Message#react (#<I>)
discordjs_discord.js
train
js
88485b1a18c44a0720d1c2d92e03a674e828f113
diff --git a/plugins/org.eclipse.xtext.ide/src/org/eclipse/xtext/ide/editor/contentassist/antlr/internal/AbstractInternalContentAssistParser.java b/plugins/org.eclipse.xtext.ide/src/org/eclipse/xtext/ide/editor/contentassist/antlr/internal/AbstractInternalContentAssistParser.java index <HASH>..<HASH> 100644 --- a/plugi...
Avoid announcing EOF if it wasn’t EOF so far. This bug was detected in a complex project and thus far I couldn’t reduce it to a minimal example. That’s why this fix lacks a test right now.
eclipse_xtext-core
train
java
e9536d628b97e073893f658f215147dc4545affe
diff --git a/test/test_detector.py b/test/test_detector.py index <HASH>..<HASH> 100644 --- a/test/test_detector.py +++ b/test/test_detector.py @@ -45,7 +45,7 @@ class TestDetector(unittest.TestCase): self.ra = uniform(0, numpy.pi * 2, size=N) self.dec = uniform(-numpy.pi, numpy.pi, size=N) se...
don't test times after the astropy <I> release
gwastro_pycbc
train
py
65547b7736cd9c688e888537059bd32b58107bca
diff --git a/greenwich/raster.py b/greenwich/raster.py index <HASH>..<HASH> 100644 --- a/greenwich/raster.py +++ b/greenwich/raster.py @@ -319,8 +319,7 @@ class Raster(object): return not self.__eq__(another) def __repr__(self): - return '{}({})'.format(self.__class__.__name__, - ...
Use name attr in case dataset is already closed
bkg_greenwich
train
py
d7ca710f0b0bd55275d0a4d6836fe95b233ed3e5
diff --git a/plugins/CoreConsole/Commands/GeneratePlugin.php b/plugins/CoreConsole/Commands/GeneratePlugin.php index <HASH>..<HASH> 100644 --- a/plugins/CoreConsole/Commands/GeneratePlugin.php +++ b/plugins/CoreConsole/Commands/GeneratePlugin.php @@ -61,7 +61,6 @@ class GeneratePlugin extends GeneratePluginBase ...
Refs #<I>, do not generate .travis.yml file in GeneratePlugin command since this is done by special GenerateTravisYml command.
matomo-org_matomo
train
php
34b87a964cc90aae8efdf1786ce03537775681a0
diff --git a/tests/unit/unit_t_db_base.py b/tests/unit/unit_t_db_base.py index <HASH>..<HASH> 100644 --- a/tests/unit/unit_t_db_base.py +++ b/tests/unit/unit_t_db_base.py @@ -77,10 +77,6 @@ class UnitTestDbBase(unittest.TestCase): def setUpClass(cls): """ If targeting CouchDB, Set up a CouchDB in...
Removed misleading admin party docstring
cloudant_python-cloudant
train
py
fc514b09567fb9de6fdb5cd7c80d1d5e73b5026e
diff --git a/LiSE/LiSE/rule.py b/LiSE/LiSE/rule.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/rule.py +++ b/LiSE/LiSE/rule.py @@ -543,10 +543,16 @@ class RuleMapping(MutableMapping): return 'RuleMapping({})'.format([k for k in self]) def __iter__(self): - return self.engine.db.active_rules_ruleb...
Rewrite RuleMapping.__iter__ to use the cache I can't believe I didn't do this already.
LogicalDash_LiSE
train
py
04274d6872d89b69aa3300dd463f8e3a41116620
diff --git a/libs/markdown.php b/libs/markdown.php index <HASH>..<HASH> 100755 --- a/libs/markdown.php +++ b/libs/markdown.php @@ -1023,7 +1023,7 @@ class Markdown_Parser { $result = $this->processListItems($list, $marker_any_re); $result = $this->hashBlock("<$list_type>\n" . $result . "</$list_type>"); - re...
Remove extra <br> after list.
dauxio_daux.io
train
php
58cb0451ea721e778391c3d1297609f240dcf8e2
diff --git a/test/integration/server/test_hanging_workers.js b/test/integration/server/test_hanging_workers.js index <HASH>..<HASH> 100644 --- a/test/integration/server/test_hanging_workers.js +++ b/test/integration/server/test_hanging_workers.js @@ -33,7 +33,8 @@ describe('hanging workers', function() { child.o...
jshint fix in tests
thehelp_cluster
train
js
d7f63c0ef74196d3d2997ea4f007f5520a010f22
diff --git a/mkl_random/setup.py b/mkl_random/setup.py index <HASH>..<HASH> 100644 --- a/mkl_random/setup.py +++ b/mkl_random/setup.py @@ -70,12 +70,16 @@ def configuration(parent_package='',top_path=None): pdir = 'mkl_random' wdir = join(pdir, 'src') + eca = [Q + 'std=c++11'] + if sys.platform == "li...
suppressed unsed-functions warning on Linux
IntelPython_mkl_random
train
py
e8abd4ca55d8be6bac3cc5fd049e1385f72786be
diff --git a/pyalacarte/utils.py b/pyalacarte/utils.py index <HASH>..<HASH> 100644 --- a/pyalacarte/utils.py +++ b/pyalacarte/utils.py @@ -286,11 +286,10 @@ def unflatten(flat_lst, shapes, order='C'): Notes ----- - Roughly equivalent to:: + Equivalent to:: - lambda flat_lst, shapes: [np.resha...
inventor's paradox - its actully easier to solve the general problem of mapping a function to a sublist as specified by some indices
NICTA_revrand
train
py
9b480cb86599dd0c7c12f1ea7c53621cbb51512d
diff --git a/restclients/dao_implementation/book.py b/restclients/dao_implementation/book.py index <HASH>..<HASH> 100644 --- a/restclients/dao_implementation/book.py +++ b/restclients/dao_implementation/book.py @@ -33,7 +33,8 @@ class Live(object): if Live.pool is None: cert = getattr(settings, "R...
Putting the socket_timeout in the right call
uw-it-aca_uw-restclients
train
py
7fcdbe259f9e2a3483dbca3f0d53b2a01a9f19be
diff --git a/src/types.js b/src/types.js index <HASH>..<HASH> 100644 --- a/src/types.js +++ b/src/types.js @@ -25,6 +25,7 @@ const TYPES = [ 'null', 'number', 'object', + 'promise', 'regexp', 'set', 'string',
Feature: Added promise-type support to default types
ianstormtaylor_superstruct
train
js
da368e6be20ec012ff07d18ad9d797850f846a9e
diff --git a/tests/jobs/test_local_task_job.py b/tests/jobs/test_local_task_job.py index <HASH>..<HASH> 100644 --- a/tests/jobs/test_local_task_job.py +++ b/tests/jobs/test_local_task_job.py @@ -351,6 +351,7 @@ class TestLocalTaskJob(unittest.TestCase): self.assertNotIn('reached_end_of_sleep', data, ...
This test (test_mark_success_on_success_callback) fails often (#<I>) I am moving the test to quarantine for now.
apache_airflow
train
py
598568c7152dc970dc740de040697e97cf374ec1
diff --git a/socketio/asyncio_namespace.py b/socketio/asyncio_namespace.py index <HASH>..<HASH> 100644 --- a/socketio/asyncio_namespace.py +++ b/socketio/asyncio_namespace.py @@ -36,7 +36,7 @@ class AsyncNamespace(namespace.Namespace): try: ret = await handler(*args) ...
assigning local ret variable to none if the asyncio task is canceled (#<I>)
miguelgrinberg_python-socketio
train
py
f1e20c0f8678774575415c5be770ab2218675ca4
diff --git a/classes/MUtil/Snippets/TableSnippetAbstract.php b/classes/MUtil/Snippets/TableSnippetAbstract.php index <HASH>..<HASH> 100644 --- a/classes/MUtil/Snippets/TableSnippetAbstract.php +++ b/classes/MUtil/Snippets/TableSnippetAbstract.php @@ -103,6 +103,11 @@ class MUtil_Snippets_TableSnippetAbstract extends MU...
Fixed error with table snippets and custom classes due to bootstrap wrapping (error was visible in upgrades where the table had no stylig at all)
GemsTracker_gemstracker-library
train
php
e0bbe12d648ebc9576a9dac2a7127264bdd11117
diff --git a/stream-core/src/main/java/io/getstream/client/config/ClientConfiguration.java b/stream-core/src/main/java/io/getstream/client/config/ClientConfiguration.java index <HASH>..<HASH> 100644 --- a/stream-core/src/main/java/io/getstream/client/config/ClientConfiguration.java +++ b/stream-core/src/main/java/io/ge...
Changed default connection timeout to a higher value (<I>ms)
GetStream_stream-java
train
java
ee58305fa03206a356d5afb55dc3e7b42d0a3a47
diff --git a/src/input/input.js b/src/input/input.js index <HASH>..<HASH> 100644 --- a/src/input/input.js +++ b/src/input/input.js @@ -836,7 +836,7 @@ * @param {Boolean} [floating="floating property of the given object"] specify if the object is a floating object (if yes, screen coordinates are used, if not mouse/t...
removed mentions of `collisionBox` in the documentation since this is not a valid object for event listening
melonjs_melonJS
train
js
75e846388a0887cc82131c9ea803569f6308052f
diff --git a/src/Codeception/Lib/Driver/SqlSrv.php b/src/Codeception/Lib/Driver/SqlSrv.php index <HASH>..<HASH> 100644 --- a/src/Codeception/Lib/Driver/SqlSrv.php +++ b/src/Codeception/Lib/Driver/SqlSrv.php @@ -67,16 +67,7 @@ class SqlSrv extends Db { return '[' . $name . ']'; } - - public fun...
Deleted deleteQuery method which is identical to deleteQuery of parent method
Codeception_base
train
php
5579871687c95797039bcd978063e0a0a4782d78
diff --git a/actionview/test/template/asset_tag_helper_test.rb b/actionview/test/template/asset_tag_helper_test.rb index <HASH>..<HASH> 100644 --- a/actionview/test/template/asset_tag_helper_test.rb +++ b/actionview/test/template/asset_tag_helper_test.rb @@ -3,6 +3,9 @@ require "abstract_unit" require "active_support...
Use ActionDispatch mimes in asset_tag_helper_test We need a more complete understanding of mime types for the asset tags to render properly, so we need to load this rather than just the stubs included by actionview by default. This fixes running these tests in isolation.
rails_rails
train
rb
9af5e5d29f500a82f54b92d52d2ee0d309fcba95
diff --git a/src/Generator/ProfileGenerator.php b/src/Generator/ProfileGenerator.php index <HASH>..<HASH> 100644 --- a/src/Generator/ProfileGenerator.php +++ b/src/Generator/ProfileGenerator.php @@ -17,7 +17,10 @@ class ProfileGenerator extends Generator $dependencies, $distribution ) { - ...
Use a path relative to the root of the Drupal installation.
hechoendrupal_drupal-console
train
php
5f55354e854c24183f216c43e920c36e3d45a619
diff --git a/src/Gzero/EloquentTree/Model/Tree.php b/src/Gzero/EloquentTree/Model/Tree.php index <HASH>..<HASH> 100644 --- a/src/Gzero/EloquentTree/Model/Tree.php +++ b/src/Gzero/EloquentTree/Model/Tree.php @@ -229,12 +229,13 @@ abstract class Tree extends \Eloquent { /** * Rebuilds trees from passed nodes ...
Added strict trigger in buildTree method
AdrianSkierniewski_eloquent-tree
train
php
becd4b39d383a816468a8a68e44fd8a7b1f9a9bf
diff --git a/javamelody-core/src/main/java/net/bull/javamelody/SessionInformations.java b/javamelody-core/src/main/java/net/bull/javamelody/SessionInformations.java index <HASH>..<HASH> 100644 --- a/javamelody-core/src/main/java/net/bull/javamelody/SessionInformations.java +++ b/javamelody-core/src/main/java/net/bull/j...
fix for issue <I>: ClassNotFoundException when serializing session breaks the sessions view
javamelody_javamelody
train
java
60805565009a8163846b054c6bb0f72f43c52c29
diff --git a/src/Codeception/Module/Doctrine2.php b/src/Codeception/Module/Doctrine2.php index <HASH>..<HASH> 100644 --- a/src/Codeception/Module/Doctrine2.php +++ b/src/Codeception/Module/Doctrine2.php @@ -81,7 +81,7 @@ EOF; public function _depends() { - if (!$this->config['connection_callback']) {...
when setting Symfony2 as dependency of Doctrine2, whe should not have an exception
Codeception_base
train
php
b8bdf37f791e0233cc363b646f6e20ef63064963
diff --git a/http-client/src/test/java/io/airlift/http/client/AbstractHttpClientTest.java b/http-client/src/test/java/io/airlift/http/client/AbstractHttpClientTest.java index <HASH>..<HASH> 100755 --- a/http-client/src/test/java/io/airlift/http/client/AbstractHttpClientTest.java +++ b/http-client/src/test/java/io/airli...
Demonstrate problem with Jetty Client url quoting
airlift_airlift
train
java
6f57cb473655286b43b0d66644c179b6f8284a6d
diff --git a/lib/OpenLayers/Layer/WMS.js b/lib/OpenLayers/Layer/WMS.js index <HASH>..<HASH> 100644 --- a/lib/OpenLayers/Layer/WMS.js +++ b/lib/OpenLayers/Layer/WMS.js @@ -70,7 +70,7 @@ OpenLayers.Layer.WMS.prototype = _initTiles: function () { this.div.innerHTML=""; OpenLayers.Layer.Grid.prototyp...
oops. forgot a comma. must always remember to test. git-svn-id: <URL>
openlayers_openlayers
train
js
a03631f6ce6093bae1a4d9cf45a78169b7aab3d3
diff --git a/udiskie/device.py b/udiskie/device.py index <HASH>..<HASH> 100644 --- a/udiskie/device.py +++ b/udiskie/device.py @@ -46,14 +46,8 @@ class Device: return self._get_property('DeviceIsMounted') def is_unlocked(self): - """ - Check if device is already unlocked. - - It see...
Improve Device.is_unlocked() recognition
coldfix_udiskie
train
py
e95871aae503b4d2b114fb500f2df95f4785a3f8
diff --git a/lib/active_record/hierarchical_query/join_builder.rb b/lib/active_record/hierarchical_query/join_builder.rb index <HASH>..<HASH> 100644 --- a/lib/active_record/hierarchical_query/join_builder.rb +++ b/lib/active_record/hierarchical_query/join_builder.rb @@ -16,13 +16,15 @@ module ActiveRecord end ...
Fixes problem with ImmutableRelation exceptions Re-ordering the binding values/order/join actions here makes this work now. Basically the join and the binding of values make the relation immutable. But only the order and the binding of values check for immutability. This is why this final order works: 1. order (doesn...
take-five_activerecord-hierarchical_query
train
rb
379eb84a7a9891ab11c18e88dfb650142bda45c1
diff --git a/datajoint/utils.py b/datajoint/utils.py index <HASH>..<HASH> 100644 --- a/datajoint/utils.py +++ b/datajoint/utils.py @@ -99,15 +99,15 @@ def safe_copy(src, dest, overwrite=False): def parse_sql(filepath): DELIMITER = ';' - statement = '' + statement = [] with open(filepath, 'rt') as f: ...
Update join in parse_sql.
datajoint_datajoint-python
train
py
5f7bb285896ec884b7774ae69ea05a81567ccf6b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,7 @@ function h() { if('function' === typeof l[k]) { if(/^on\w+/.test(k)) { e.addEventListener - ? e.addEventListener(k.substring(2), l[k]) + ? e.addEventLis...
provide 3rd argument the addEventListener for old FF support
hyperhype_hyperscript
train
js
31955728e021a28f94a4092be9f9b57b061f8557
diff --git a/mavproxy.py b/mavproxy.py index <HASH>..<HASH> 100755 --- a/mavproxy.py +++ b/mavproxy.py @@ -1307,6 +1307,7 @@ def open_logs(): logfile = os.path.join(fdir, 'flight.log') mpstate.status.logdir = fdir print("Logging to %s" % logfile) + mpstate.logfile_name = logfile mpstate.l...
put logfile name in mpstate for modules to use
ArduPilot_MAVProxy
train
py
264ad54ab1a7815fdf266c3edd4d807a06c23e0e
diff --git a/shoebot/data/typography.py b/shoebot/data/typography.py index <HASH>..<HASH> 100644 --- a/shoebot/data/typography.py +++ b/shoebot/data/typography.py @@ -45,9 +45,22 @@ if GI: else: _UNSAFE_cairocffi_context_to_pycairo = None -gi.require_version('Pango', '1.0') -gi.require_version('PangoCairo', '1....
Possible workarond for rtd lack of Pango
shoebot_shoebot
train
py
a634204857965d00d4d0430caa1db44ebc030394
diff --git a/indra/ontology/bio/ontology.py b/indra/ontology/bio/ontology.py index <HASH>..<HASH> 100644 --- a/indra/ontology/bio/ontology.py +++ b/indra/ontology/bio/ontology.py @@ -64,7 +64,7 @@ class BioOntology(IndraOntology): self.add_drugbank_nodes() # Add xrefs logger.info('Adding xref...
Fixes in ontology building
sorgerlab_indra
train
py
d5d452c96377365e128543ace501edf2960f0b99
diff --git a/chaos-monkey-spring-boot/src/main/java/de/codecentric/spring/boot/chaos/monkey/endpoints/WatcherPropertiesUpdate.java b/chaos-monkey-spring-boot/src/main/java/de/codecentric/spring/boot/chaos/monkey/endpoints/WatcherPropertiesUpdate.java index <HASH>..<HASH> 100644 --- a/chaos-monkey-spring-boot/src/main/j...
No need for @Validated since we dont do any validations atm
codecentric_chaos-monkey-spring-boot
train
java
e34b39a1e9e62f35bfc760db18cea5045031de1d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,5 @@ setup( 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'Programming Language :: Python :: 3 :: Only', - 'License :: OSI Approved :: LGPL License', - ...
Quick fix to the setup.py
datajoint_datajoint-python
train
py
802560357d88a49f49133cfda7bc415bb1413fc1
diff --git a/resources/js/langman.js b/resources/js/langman.js index <HASH>..<HASH> 100644 --- a/resources/js/langman.js +++ b/resources/js/langman.js @@ -80,11 +80,11 @@ new Vue({ * Add a new translation key */ addNewKey(key) { - if (this.translations[this.baseLanguage][key] !==...
Fixes scan of translations in other languages
themsaid_laravel-langman-gui
train
js
14fce706a6f4482b0e94353daa12618dcc4ef57a
diff --git a/lib/httparty.rb b/lib/httparty.rb index <HASH>..<HASH> 100644 --- a/lib/httparty.rb +++ b/lib/httparty.rb @@ -74,6 +74,17 @@ module HTTParty default_options[:basic_auth] = {:username => u, :password => p} end + # Allows setting digest authentication username and password. + # + # c...
Added a digest_auth class method to HTTParty to provide the same default_option functionality as basic_auth
jnunemaker_httparty
train
rb,rb
1c0574d05e68a2f519c6b5f0857fc66894c48711
diff --git a/salt/utils/http.py b/salt/utils/http.py index <HASH>..<HASH> 100644 --- a/salt/utils/http.py +++ b/salt/utils/http.py @@ -456,8 +456,8 @@ def query(url, # We want to use curl_http if we have a proxy defined if proxy_host and proxy_port: if HAS_CURL_HTTPCLIENT is False: - ...
Fix error message when tornado or pycurl is not installed
saltstack_salt
train
py
4f6b21927462b1f81acc91cf6515ced0ece2b1a4
diff --git a/usb1/__init__.py b/usb1/__init__.py index <HASH>..<HASH> 100644 --- a/usb1/__init__.py +++ b/usb1/__init__.py @@ -964,7 +964,7 @@ class USBPollerThread(threading.Thread): (same as USBPoller.__init__ "poller" parameter) exc_callback (callable) - Called with a libusb_error va...
usb1: Assorted docstring improvements.
vpelletier_python-libusb1
train
py
29cda465227b1cd03b761459ca91c441faff5b0e
diff --git a/lib/jsi/base.rb b/lib/jsi/base.rb index <HASH>..<HASH> 100644 --- a/lib/jsi/base.rb +++ b/lib/jsi/base.rb @@ -252,13 +252,9 @@ module JSI if !token_is_ours && token_schema && token_schema.key?('default') # use the default value default = token_schema['default'] - if ...
refactor Base#[] handling default. access default from dup'd JSI regardless of type.
notEthan_jsi
train
rb
e1f30accc8300835a2cdfc67f26315c2a21ab56f
diff --git a/pytest-server-fixtures/setup.py b/pytest-server-fixtures/setup.py index <HASH>..<HASH> 100644 --- a/pytest-server-fixtures/setup.py +++ b/pytest-server-fixtures/setup.py @@ -31,7 +31,7 @@ install_requires = ['pytest', extras_require = { 'jenkins': ["python-jenkins"], - 'mongodb': ["pymongo"], ...
add dependency for pymongo >= <I>
manahl_pytest-plugins
train
py
f937f036a45d87dfd140f34892339c457d5aca10
diff --git a/src/main/java/com/github/rholder/retry/RetryerBuilder.java b/src/main/java/com/github/rholder/retry/RetryerBuilder.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/rholder/retry/RetryerBuilder.java +++ b/src/main/java/com/github/rholder/retry/RetryerBuilder.java @@ -61,9 +61,9 @@ public clas...
Updated javadoc to reflect the real purpose of defining a stop strategy.
rholder_guava-retrying
train
java
7d96323b9705a3bf7d95be8a93bbe67e6e90f7df
diff --git a/lib/qbwc/soap_wrapper/defaultServant.rb b/lib/qbwc/soap_wrapper/defaultServant.rb index <HASH>..<HASH> 100644 --- a/lib/qbwc/soap_wrapper/defaultServant.rb +++ b/lib/qbwc/soap_wrapper/defaultServant.rb @@ -51,11 +51,11 @@ class QBWC::QBWebConnectorSvcSoap # RETURNS # parameters SendRequestXMLR...
return empty string, with no QBXML headers when no jobs present (not positive if this is right but it silences the complaints from QBWC)
qbwc_qbwc
train
rb
caf5b4f736a6a11e3689aced04c66606bdf7c16d
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index <HASH>..<HASH> 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -580,7 +580,7 @@ // Use native JS to prepend option (faster) var element = this.$element[0]; titleOption.className = 'bs-title-option'; -...
allow HTML in placeholder title for non-multiple selects (close #<I>)
snapappointments_bootstrap-select
train
js
62597b057cbb21c1b276944dc2abb0c22f470828
diff --git a/build/tasks/translations.js b/build/tasks/translations.js index <HASH>..<HASH> 100644 --- a/build/tasks/translations.js +++ b/build/tasks/translations.js @@ -40,7 +40,6 @@ module.exports = function(grunt, config, parameters, done) { if(goodResponse) { switch(options.type) { case 'file': -...
Fix encoding of downloaded .po files Former-commit-id: <I>e8b5b4e0a<I>a<I>b1c1a<I>e<I>
concrete5_concrete5
train
js
465877c215555661d5c768b30a7d20bd356b77ab
diff --git a/core/src/main/java/hudson/model/UpdateCenter.java b/core/src/main/java/hudson/model/UpdateCenter.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/hudson/model/UpdateCenter.java +++ b/core/src/main/java/hudson/model/UpdateCenter.java @@ -647,6 +647,7 @@ public class UpdateCenter extends AbstractMod...
[HUDSON-<I>] added more logging so that we can see what's really going on. git-svn-id: <URL>
jenkinsci_jenkins
train
java
0d5471e95e56a265f6261f42765f3ad381e9c2b8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -704,15 +704,11 @@ setup( "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.4", - "Pr...
Remove unsupported python versions from package config.
suds-community_suds
train
py
c79674281212acfc0f64c4c564a44a7a1c415ee1
diff --git a/app/views/index.blade.php b/app/views/index.blade.php index <HASH>..<HASH> 100644 --- a/app/views/index.blade.php +++ b/app/views/index.blade.php @@ -38,11 +38,13 @@ <span aria-hidden="true">&larr;</span> {{ trans('cachet.incidents.previous_week') }} </a> ...
Only dusplay the next week button if we can go to next week
CachetHQ_Cachet
train
php
eea6d55735caa5cedd80bab5c5457237022d9b74
diff --git a/sufia-models/app/actors/sufia/generic_file/actor.rb b/sufia-models/app/actors/sufia/generic_file/actor.rb index <HASH>..<HASH> 100644 --- a/sufia-models/app/actors/sufia/generic_file/actor.rb +++ b/sufia-models/app/actors/sufia/generic_file/actor.rb @@ -69,11 +69,10 @@ module Sufia::GenericFile end ...
Fixed projecthydra/active_fedora#<I>
samvera_hyrax
train
rb
1b79d280cbcb021707e57adc1a6ec440d0aac773
diff --git a/lib/jekyll/minibundle/stamp_file.rb b/lib/jekyll/minibundle/stamp_file.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/minibundle/stamp_file.rb +++ b/lib/jekyll/minibundle/stamp_file.rb @@ -34,11 +34,11 @@ module Jekyll::Minibundle end def write(gensite_dir) + clear_stamp if modified? ...
Simplify logic: clear stamp when source has changed
tkareine_jekyll-minibundle
train
rb
0b1d9e46888d5dbe51392fde97022ce28a7704ca
diff --git a/openfisca_core/baremes.py b/openfisca_core/baremes.py index <HASH>..<HASH> 100644 --- a/openfisca_core/baremes.py +++ b/openfisca_core/baremes.py @@ -26,6 +26,7 @@ from __future__ import division from bisect import bisect_right +import itertools import numpy as np from numpy import maximum as max_,...
Cleanup Bareme __iter__ method.
openfisca_openfisca-core
train
py
7db3b02e3f802ec019d7c85ed0b09f016e18a3e7
diff --git a/gjson.go b/gjson.go index <HASH>..<HASH> 100644 --- a/gjson.go +++ b/gjson.go @@ -106,7 +106,8 @@ func (t Result) Bool() bool { case True: return true case String: - return t.Str != "" && t.Str != "0" && t.Str != "false" + b, err := strconv.ParseBool(t.Str) + return !(!b || err != nil) case Num...
update Result.Bool to use golang bool parsing golang has several tools that already parse boolean values in the standard library. Specifically strconv.ParseBool(string) <URL>
tidwall_gjson
train
go
a03d2ae07118504f2c9c9592f5b845825c262a06
diff --git a/lib/compare.js b/lib/compare.js index <HASH>..<HASH> 100644 --- a/lib/compare.js +++ b/lib/compare.js @@ -45,7 +45,7 @@ function compareAst(actualSrc, expectedSrc, options) { // Nodes comparator = comparators[actual.type]; - if (comparator) { + if (comparator && actual.type === expected.type) { ...
Prevent error from comparing dissimilar node types
jugglinmike_compare-ast
train
js,js
5bd9613f47244a42c270313af1a0a0e39df5a127
diff --git a/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenOrderBookUtils.java b/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenOrderBookUtils.java index <HASH>..<HASH> 100644 --- a/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenOrderBookUtils.java +++ ...
#<I> revew fix - order timestamp more accurate now
knowm_XChange
train
java
4cfb99f1b2210add0b26caaff819c6ed85f6de55
diff --git a/openquake/engine/tests/celery_node_monitor_test.py b/openquake/engine/tests/celery_node_monitor_test.py index <HASH>..<HASH> 100644 --- a/openquake/engine/tests/celery_node_monitor_test.py +++ b/openquake/engine/tests/celery_node_monitor_test.py @@ -4,10 +4,12 @@ import mock import signal import unittest...
Made CeleryNodeMonitorTestCase independent from the configuration file
gem_oq-engine
train
py
f54c7a6f0163658d8f27e0d28ef851ff45e95b05
diff --git a/salt/states/pkgrepo.py b/salt/states/pkgrepo.py index <HASH>..<HASH> 100644 --- a/salt/states/pkgrepo.py +++ b/salt/states/pkgrepo.py @@ -92,7 +92,7 @@ import sys # Import salt libs from salt.exceptions import CommandExecutionError, SaltInvocationError -from salt.modules.aptpkg import _strip_uri +from ...
Windows: Fix usage of pkgrepo state `pkgrepo.py` contains this line: ``` from salt.modules.aptpkg import _strip_uri ``` However, `salt.modules.aptpkg` is just not importable on Windows. Instead of trying to make this module importable on Windows (which clearly isn't the intent of the module), placed a copy of `_stri...
saltstack_salt
train
py
4172eac7c6250ab2ddff52ee6e00b75595e4aa71
diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -2694,11 +2694,10 @@ class DboSource extends DataSource { * Gets the length of a database-native col...
Removing trigger_warning() that causes tests to fail in Sqlite, as it does not assign lengths for integer columns.
cakephp_cakephp
train
php
e4265373183ab36ab13f11f5162aef0c87fc3464
diff --git a/shared/idmap/idmapset_linux_test.go b/shared/idmap/idmapset_linux_test.go index <HASH>..<HASH> 100644 --- a/shared/idmap/idmapset_linux_test.go +++ b/shared/idmap/idmapset_linux_test.go @@ -1,3 +1,5 @@ +// +build linux,cgo + package idmap import (
shared/idmap: Fix shared/ build on non-cgo
lxc_lxd
train
go
94adb3edfcf14e0f8e09bcea51e864796d7f7676
diff --git a/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/ContentExtension.php b/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/ContentExtension.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/ContentExtension.php +++ b/eZ/Publish/Core/MVC/Symfony/Templating/T...
Fixed field type identifier caching issue in the Content extension
ezsystems_ezpublish-kernel
train
php
8f3f9cfb3f563e55f813ea5ce794d5cb89e8f265
diff --git a/jml-es6.js b/jml-es6.js index <HASH>..<HASH> 100644 --- a/jml-es6.js +++ b/jml-es6.js @@ -197,6 +197,9 @@ function _getType (item) { if (item.nodeType === 1) { return 'element'; } + if (item.nodeType === 11) { + return 'fragment'; + } return ...
- Allow document fragment to be appended as with elements
brettz9_jamilih
train
js
be4b22b0157aa320952695711f6cbca4b0b88e2e
diff --git a/lib/Config.php b/lib/Config.php index <HASH>..<HASH> 100644 --- a/lib/Config.php +++ b/lib/Config.php @@ -68,7 +68,7 @@ class Config { ); } - protected function lintValidProperties($config) { + protected static function lintValidProperties($config) { $return = array( ...
Corrected methods to be static where needed
Syonix_log-viewer-lib
train
php
2d136552b03f6984dc74f4b5469a1a8a7d02b6c6
diff --git a/packages/types/src/core/records.js b/packages/types/src/core/records.js index <HASH>..<HASH> 100644 --- a/packages/types/src/core/records.js +++ b/packages/types/src/core/records.js @@ -11,7 +11,12 @@ import type { import { List, Map, Record, Set } from "immutable"; export { HostRef, makeLocalKernelRec...
refactor: export kernelspecs record factories.
nteract_nteract
train
js
29b79b4b4d5edac26d3a1a8e08294b1a705e9522
diff --git a/push_notifications/models.py b/push_notifications/models.py index <HASH>..<HASH> 100644 --- a/push_notifications/models.py +++ b/push_notifications/models.py @@ -1,12 +1,16 @@ +from django.conf import settings from django.db import models from django.utils.translation import ugettext_lazy as _ from uuid...
Add compatibility with Django <I> custom user models
jazzband_django-push-notifications
train
py
b878bea0c01caee247b6f2a1d54a7ee7627bf7cd
diff --git a/src/Appear.js b/src/Appear.js index <HASH>..<HASH> 100644 --- a/src/Appear.js +++ b/src/Appear.js @@ -6,7 +6,7 @@ import { modes } from './constants' export default withDeck(class Appear extends React.Component { static propTypes = { - children: PropTypes.array.isRequired, + children: PropTypes...
Fix Appear children PropTypes Appear children can be a single element
jxnblk_mdx-deck
train
js
ea144092bd967e38bc82179667dcbc8bc6187ddf
diff --git a/js/jquery.fileupload.js b/js/jquery.fileupload.js index <HASH>..<HASH> 100644 --- a/js/jquery.fileupload.js +++ b/js/jquery.fileupload.js @@ -18,7 +18,7 @@ // Register as an anonymous AMD module: define([ 'jquery', - './vendor/jquery.ui.widget' + 'jquery...
Revert changes from #<I>.
blueimp_jQuery-File-Upload
train
js
eae6d8d14f1d25d62c3fe9e7e410607bbaf69787
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -114,7 +114,7 @@ setup( packages=find_packages("src"), install_requires=[ "numpy", - "tokenizers == 0.8.1.rc1", + "tokenizers == 0.8.1.rc2", # dataclasses for Python versions that don'...
Update tokenizers to <I>.rc to fix Mac OS X issues (#<I>)
huggingface_pytorch-pretrained-BERT
train
py
cc06b11b19102748cbcb74fbc0cbd61b89113acf
diff --git a/txsocksx/test/test_client.py b/txsocksx/test/test_client.py index <HASH>..<HASH> 100644 --- a/txsocksx/test/test_client.py +++ b/txsocksx/test/test_client.py @@ -63,6 +63,8 @@ class AuthAdditionWrapper(object): def authedAdditional(self, x): self.additionalParsed = x + del self.curre...
Flesh out the additional auth test some more.
habnabit_txsocksx
train
py
1715e8dd25bd3fa5a8fa6fbf4e77be1236e079e5
diff --git a/lib/createDiff.js b/lib/createDiff.js index <HASH>..<HASH> 100644 --- a/lib/createDiff.js +++ b/lib/createDiff.js @@ -11,7 +11,9 @@ function getBranch(git, branch) { `git tag --sort -version:refname`, { cwd: git } ).toString().split('\n')[1]; - } catch (e) {} + } ca...
test(createDiff): test createDiff case
xgfe_freepack
train
js
fb3c15700eb6f462727c622fcd082ed1e7779d86
diff --git a/opal/active_record/association.rb b/opal/active_record/association.rb index <HASH>..<HASH> 100644 --- a/opal/active_record/association.rb +++ b/opal/active_record/association.rb @@ -1,12 +1,13 @@ module ActiveRecord class Association - attr_reader :foreign_key, :association_type, :name + attr_rea...
Better to_s message plus addition of source_klass
boberetezeke_opal-activerecord
train
rb
651697d237a3dd12ced66de8aedc330c9c0d7f49
diff --git a/tests/tests-unit-swpriv.py b/tests/tests-unit-swpriv.py index <HASH>..<HASH> 100644 --- a/tests/tests-unit-swpriv.py +++ b/tests/tests-unit-swpriv.py @@ -130,7 +130,7 @@ class TestSwPriv(unittest.TestCase): # when encoded in binary the tag will be a tenth the size of the file # plus some ...
modified test to be slightly more permissive for size
StorjOld_heartbeat
train
py
326d4599b715bc8ea4778f90209540808e255a9e
diff --git a/examples/consumer.py b/examples/consumer.py index <HASH>..<HASH> 100644 --- a/examples/consumer.py +++ b/examples/consumer.py @@ -107,7 +107,7 @@ class OpenIDRequestHandler(BaseHTTPRequestHandler): # If the URL was unusable (either because of network # conditions, a server error, or that ...
[project @ fix comment to correspond to code]
openid_python-openid
train
py
60d1750a68c318f52af0a8bfc45b073b316f2488
diff --git a/tests/BuilderTest.php b/tests/BuilderTest.php index <HASH>..<HASH> 100644 --- a/tests/BuilderTest.php +++ b/tests/BuilderTest.php @@ -13,6 +13,8 @@ class BuilderTest extends PHPUnit_Framework_TestCase $this->assertSame($builder, $builder->user('foo')); $this->assertSame($builder, $build...
Fix: Add missing assertions for fluent interface
localheinz_github-changelog
train
php
2ac2272160abdb8752894b1e2fac2a9b99e278ce
diff --git a/tests/TestCase/Database/DriverTest.php b/tests/TestCase/Database/DriverTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/Database/DriverTest.php +++ b/tests/TestCase/Database/DriverTest.php @@ -15,11 +15,11 @@ namespace Cake\Test\TestCase\Database; use Cake\Database\Driver; +use Cake\Database\M...
Looks like we could not serialize and unserialize PDO instances. Instead I'm using another driver who implements PDOInstanceTrait, and therefore has the quote() method. I just only need it for stubbing it.
cakephp_cakephp
train
php