{"action":"created","comment":{"url":"https://api.github.com/repos/hpcugent/vsc-base/pulls/comments/41662843","id":41662843,"diff_hunk":"@@ -764,6 +773,106 @@ def raise_error(msg, *args):\n                               go_args=['--level-level'], envvar_prefix='GENERALOPTIONTEST', error_env_options=True,\n                               error_env_option_method=raise_error)\n \n+    def _match_testoption1_sysexit(self, args, msg):\n+        self.mock_stderr(True)  # reset\n+        self.assertErrorRegex(SystemExit, '.*', TestOption1, go_args=args)\n+        stderr = self.get_stderr()\n+        self.assertTrue(msg in stderr)","path":"test/generaloption.py","position":97,"original_position":97,"commit_id":"850c8e3cf4a4120f7d3550c6096986ca50157e78","original_commit_id":"850c8e3cf4a4120f7d3550c6096986ca50157e78","user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"body":"i don't understand. isn't the setUp / tearDown supposed to do this? also don't understand the reamkr wrt exceptions and stderr.","created_at":"2015-10-09T18:29:20Z","updated_at":"2015-10-09T18:29:20Z","html_url":"https://github.com/hpcugent/vsc-base/pull/185#discussion_r41662843","pull_request_url":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185","_links":{"self":{"href":"https://api.github.com/repos/hpcugent/vsc-base/pulls/comments/41662843"},"html":{"href":"https://github.com/hpcugent/vsc-base/pull/185#discussion_r41662843"},"pull_request":{"href":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185"}}},"pull_request":{"url":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185","id":42676116,"html_url":"https://github.com/hpcugent/vsc-base/pull/185","diff_url":"https://github.com/hpcugent/vsc-base/pull/185.diff","patch_url":"https://github.com/hpcugent/vsc-base/pull/185.patch","issue_url":"https://api.github.com/repos/hpcugent/vsc-base/issues/185","number":185,"state":"open","locked":false,"title":"Generaloption: handle option-as-value ","user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/hpcugent/vsc-base/issues/184\r\nRequires #193 ","created_at":"2015-08-18T09:07:41Z","updated_at":"2015-10-09T18:29:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ba154351e25d8d8a2b41cfe2d87bb7c6c34dc3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185/commits","review_comments_url":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185/comments","review_comment_url":"https://api.github.com/repos/hpcugent/vsc-base/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hpcugent/vsc-base/issues/185/comments","statuses_url":"https://api.github.com/repos/hpcugent/vsc-base/statuses/850c8e3cf4a4120f7d3550c6096986ca50157e78","head":{"label":"stdweird:go_nooptionasvalue","ref":"go_nooptionasvalue","sha":"850c8e3cf4a4120f7d3550c6096986ca50157e78","user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"repo":{"id":7770974,"name":"vsc-base","full_name":"stdweird/vsc-base","owner":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stdweird/vsc-base","description":"Basic Python libraries used by UGent's HPC group","fork":true,"url":"https://api.github.com/repos/stdweird/vsc-base","forks_url":"https://api.github.com/repos/stdweird/vsc-base/forks","keys_url":"https://api.github.com/repos/stdweird/vsc-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stdweird/vsc-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stdweird/vsc-base/teams","hooks_url":"https://api.github.com/repos/stdweird/vsc-base/hooks","issue_events_url":"https://api.github.com/repos/stdweird/vsc-base/issues/events{/number}","events_url":"https://api.github.com/repos/stdweird/vsc-base/events","assignees_url":"https://api.github.com/repos/stdweird/vsc-base/assignees{/user}","branches_url":"https://api.github.com/repos/stdweird/vsc-base/branches{/branch}","tags_url":"https://api.github.com/repos/stdweird/vsc-base/tags","blobs_url":"https://api.github.com/repos/stdweird/vsc-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stdweird/vsc-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stdweird/vsc-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/stdweird/vsc-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stdweird/vsc-base/statuses/{sha}","languages_url":"https://api.github.com/repos/stdweird/vsc-base/languages","stargazers_url":"https://api.github.com/repos/stdweird/vsc-base/stargazers","contributors_url":"https://api.github.com/repos/stdweird/vsc-base/contributors","subscribers_url":"https://api.github.com/repos/stdweird/vsc-base/subscribers","subscription_url":"https://api.github.com/repos/stdweird/vsc-base/subscription","commits_url":"https://api.github.com/repos/stdweird/vsc-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/stdweird/vsc-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/stdweird/vsc-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/stdweird/vsc-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/stdweird/vsc-base/contents/{+path}","compare_url":"https://api.github.com/repos/stdweird/vsc-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stdweird/vsc-base/merges","archive_url":"https://api.github.com/repos/stdweird/vsc-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stdweird/vsc-base/downloads","issues_url":"https://api.github.com/repos/stdweird/vsc-base/issues{/number}","pulls_url":"https://api.github.com/repos/stdweird/vsc-base/pulls{/number}","milestones_url":"https://api.github.com/repos/stdweird/vsc-base/milestones{/number}","notifications_url":"https://api.github.com/repos/stdweird/vsc-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stdweird/vsc-base/labels{/name}","releases_url":"https://api.github.com/repos/stdweird/vsc-base/releases{/id}","created_at":"2013-01-23T08:46:49Z","updated_at":"2014-09-05T07:09:08Z","pushed_at":"2015-10-09T14:46:39Z","git_url":"git://github.com/stdweird/vsc-base.git","ssh_url":"git@github.com:stdweird/vsc-base.git","clone_url":"https://github.com/stdweird/vsc-base.git","svn_url":"https://github.com/stdweird/vsc-base","homepage":null,"size":1755,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hpcugent:master","ref":"master","sha":"73a65ada65fc11387988bb3983b6e1fde20a6fc9","user":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"repo":{"id":7765704,"name":"vsc-base","full_name":"hpcugent/vsc-base","owner":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hpcugent/vsc-base","description":"Basic Python libraries used by UGent's HPC group","fork":false,"url":"https://api.github.com/repos/hpcugent/vsc-base","forks_url":"https://api.github.com/repos/hpcugent/vsc-base/forks","keys_url":"https://api.github.com/repos/hpcugent/vsc-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hpcugent/vsc-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hpcugent/vsc-base/teams","hooks_url":"https://api.github.com/repos/hpcugent/vsc-base/hooks","issue_events_url":"https://api.github.com/repos/hpcugent/vsc-base/issues/events{/number}","events_url":"https://api.github.com/repos/hpcugent/vsc-base/events","assignees_url":"https://api.github.com/repos/hpcugent/vsc-base/assignees{/user}","branches_url":"https://api.github.com/repos/hpcugent/vsc-base/branches{/branch}","tags_url":"https://api.github.com/repos/hpcugent/vsc-base/tags","blobs_url":"https://api.github.com/repos/hpcugent/vsc-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hpcugent/vsc-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hpcugent/vsc-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/hpcugent/vsc-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hpcugent/vsc-base/statuses/{sha}","languages_url":"https://api.github.com/repos/hpcugent/vsc-base/languages","stargazers_url":"https://api.github.com/repos/hpcugent/vsc-base/stargazers","contributors_url":"https://api.github.com/repos/hpcugent/vsc-base/contributors","subscribers_url":"https://api.github.com/repos/hpcugent/vsc-base/subscribers","subscription_url":"https://api.github.com/repos/hpcugent/vsc-base/subscription","commits_url":"https://api.github.com/repos/hpcugent/vsc-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/hpcugent/vsc-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/hpcugent/vsc-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/hpcugent/vsc-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/hpcugent/vsc-base/contents/{+path}","compare_url":"https://api.github.com/repos/hpcugent/vsc-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hpcugent/vsc-base/merges","archive_url":"https://api.github.com/repos/hpcugent/vsc-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hpcugent/vsc-base/downloads","issues_url":"https://api.github.com/repos/hpcugent/vsc-base/issues{/number}","pulls_url":"https://api.github.com/repos/hpcugent/vsc-base/pulls{/number}","milestones_url":"https://api.github.com/repos/hpcugent/vsc-base/milestones{/number}","notifications_url":"https://api.github.com/repos/hpcugent/vsc-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hpcugent/vsc-base/labels{/name}","releases_url":"https://api.github.com/repos/hpcugent/vsc-base/releases{/id}","created_at":"2013-01-23T01:51:31Z","updated_at":"2015-08-17T21:34:39Z","pushed_at":"2015-10-09T14:46:40Z","git_url":"git://github.com/hpcugent/vsc-base.git","ssh_url":"git@github.com:hpcugent/vsc-base.git","clone_url":"https://github.com/hpcugent/vsc-base.git","svn_url":"https://github.com/hpcugent/vsc-base","homepage":null,"size":2091,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":23,"forks":24,"open_issues":23,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185"},"html":{"href":"https://github.com/hpcugent/vsc-base/pull/185"},"issue":{"href":"https://api.github.com/repos/hpcugent/vsc-base/issues/185"},"comments":{"href":"https://api.github.com/repos/hpcugent/vsc-base/issues/185/comments"},"review_comments":{"href":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185/comments"},"review_comment":{"href":"https://api.github.com/repos/hpcugent/vsc-base/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hpcugent/vsc-base/pulls/185/commits"},"statuses":{"href":"https://api.github.com/repos/hpcugent/vsc-base/statuses/850c8e3cf4a4120f7d3550c6096986ca50157e78"}}}}