{"action":"created","comment":{"url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments/24512115","id":24512115,"diff_hunk":"@@ -19,22 +19,28 @@ def test_get_rdataset():\n         assert_(duncan.from_cache)\n \n # temporarily disabled because some test servers don't have internet\n-def t_est_webuse():\n+def testwebuse():\n     # test copied and adjusted from iolib/tests/test_foreign\n-    from statsmodels.iolib.tests.results.macrodata import macrodata_result as res2\n-    #base_gh = \"http://github.com/statsmodels/statsmodels/raw/master/statsmodels/datasets/macrodata/\"\n-    base_gh = \"http://statsmodels.sourceforge.net/devel/_static/\"\n-    res1 = webuse('macrodata', baseurl=base_gh, as_df=False)\n-    assert_array_equal(res1 == res2, True)\n+    # Check if internet is available\n+    if check_internet() is False:","path":"statsmodels/datasets/tests/test_utils.py","position":21,"original_position":21,"commit_id":"ac74740f01b9f997e3f34a99eecdd1bade55eca7","original_commit_id":"ac74740f01b9f997e3f34a99eecdd1bade55eca7","user":{"login":"bashtage","id":5585221,"avatar_url":"https://avatars.githubusercontent.com/u/5585221?v=3","gravatar_id":"","url":"https://api.github.com/users/bashtage","html_url":"https://github.com/bashtage","followers_url":"https://api.github.com/users/bashtage/followers","following_url":"https://api.github.com/users/bashtage/following{/other_user}","gists_url":"https://api.github.com/users/bashtage/gists{/gist_id}","starred_url":"https://api.github.com/users/bashtage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bashtage/subscriptions","organizations_url":"https://api.github.com/users/bashtage/orgs","repos_url":"https://api.github.com/users/bashtage/repos","events_url":"https://api.github.com/users/bashtage/events{/privacy}","received_events_url":"https://api.github.com/users/bashtage/received_events","type":"User","site_admin":false},"body":"Could you just use \r\n```\r\ninternet_availble = check_internet()\r\n@skipf(internet_availble)\r\n``` \r\nto decorate the function.  Would allow the test to be unmodified.","created_at":"2015-02-11T17:07:07Z","updated_at":"2015-02-11T17:07:07Z","html_url":"https://github.com/statsmodels/statsmodels/pull/2247#discussion_r24512115","pull_request_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247","_links":{"self":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments/24512115"},"html":{"href":"https://github.com/statsmodels/statsmodels/pull/2247#discussion_r24512115"},"pull_request":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247"}}},"pull_request":{"url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247","id":29061134,"html_url":"https://github.com/statsmodels/statsmodels/pull/2247","diff_url":"https://github.com/statsmodels/statsmodels/pull/2247.diff","patch_url":"https://github.com/statsmodels/statsmodels/pull/2247.patch","issue_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2247","number":2247,"state":"open","locked":false,"title":"TST: Check internet availability before running tests","user":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"body":"This kind of reverts https://github.com/statsmodels/statsmodels/pull/2241 to run tests only if internet is available.\r\nThe approach is pretty naive, so feel free to reject.","created_at":"2015-02-11T01:10:35Z","updated_at":"2015-02-11T17:07:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10b0edc437f47e6400c74cc74915acc465831862","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247/commits","review_comments_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247/comments","review_comment_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments/{number}","comments_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2247/comments","statuses_url":"https://api.github.com/repos/statsmodels/statsmodels/statuses/ac74740f01b9f997e3f34a99eecdd1bade55eca7","head":{"label":"saketkc:fix_urllib","ref":"fix_urllib","sha":"ac74740f01b9f997e3f34a99eecdd1bade55eca7","user":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"repo":{"id":28954956,"name":"statsmodels","full_name":"saketkc/statsmodels","owner":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saketkc/statsmodels","description":"Statsmodels: statistical modeling and econometrics in Python","fork":true,"url":"https://api.github.com/repos/saketkc/statsmodels","forks_url":"https://api.github.com/repos/saketkc/statsmodels/forks","keys_url":"https://api.github.com/repos/saketkc/statsmodels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saketkc/statsmodels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saketkc/statsmodels/teams","hooks_url":"https://api.github.com/repos/saketkc/statsmodels/hooks","issue_events_url":"https://api.github.com/repos/saketkc/statsmodels/issues/events{/number}","events_url":"https://api.github.com/repos/saketkc/statsmodels/events","assignees_url":"https://api.github.com/repos/saketkc/statsmodels/assignees{/user}","branches_url":"https://api.github.com/repos/saketkc/statsmodels/branches{/branch}","tags_url":"https://api.github.com/repos/saketkc/statsmodels/tags","blobs_url":"https://api.github.com/repos/saketkc/statsmodels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saketkc/statsmodels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saketkc/statsmodels/git/refs{/sha}","trees_url":"https://api.github.com/repos/saketkc/statsmodels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saketkc/statsmodels/statuses/{sha}","languages_url":"https://api.github.com/repos/saketkc/statsmodels/languages","stargazers_url":"https://api.github.com/repos/saketkc/statsmodels/stargazers","contributors_url":"https://api.github.com/repos/saketkc/statsmodels/contributors","subscribers_url":"https://api.github.com/repos/saketkc/statsmodels/subscribers","subscription_url":"https://api.github.com/repos/saketkc/statsmodels/subscription","commits_url":"https://api.github.com/repos/saketkc/statsmodels/commits{/sha}","git_commits_url":"https://api.github.com/repos/saketkc/statsmodels/git/commits{/sha}","comments_url":"https://api.github.com/repos/saketkc/statsmodels/comments{/number}","issue_comment_url":"https://api.github.com/repos/saketkc/statsmodels/issues/comments/{number}","contents_url":"https://api.github.com/repos/saketkc/statsmodels/contents/{+path}","compare_url":"https://api.github.com/repos/saketkc/statsmodels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saketkc/statsmodels/merges","archive_url":"https://api.github.com/repos/saketkc/statsmodels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saketkc/statsmodels/downloads","issues_url":"https://api.github.com/repos/saketkc/statsmodels/issues{/number}","pulls_url":"https://api.github.com/repos/saketkc/statsmodels/pulls{/number}","milestones_url":"https://api.github.com/repos/saketkc/statsmodels/milestones{/number}","notifications_url":"https://api.github.com/repos/saketkc/statsmodels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saketkc/statsmodels/labels{/name}","releases_url":"https://api.github.com/repos/saketkc/statsmodels/releases{/id}","created_at":"2015-01-08T07:48:41Z","updated_at":"2015-02-10T18:23:57Z","pushed_at":"2015-02-11T01:03:49Z","git_url":"git://github.com/saketkc/statsmodels.git","ssh_url":"git@github.com:saketkc/statsmodels.git","clone_url":"https://github.com/saketkc/statsmodels.git","svn_url":"https://github.com/saketkc/statsmodels","homepage":"http://statsmodels.sourceforge.net/devel/","size":19992,"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":"statsmodels:master","ref":"master","sha":"ba2aab7d25aaef0c57ad6eeab5f4982aae43b34c","user":{"login":"statsmodels","id":717666,"avatar_url":"https://avatars.githubusercontent.com/u/717666?v=3","gravatar_id":"","url":"https://api.github.com/users/statsmodels","html_url":"https://github.com/statsmodels","followers_url":"https://api.github.com/users/statsmodels/followers","following_url":"https://api.github.com/users/statsmodels/following{/other_user}","gists_url":"https://api.github.com/users/statsmodels/gists{/gist_id}","starred_url":"https://api.github.com/users/statsmodels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statsmodels/subscriptions","organizations_url":"https://api.github.com/users/statsmodels/orgs","repos_url":"https://api.github.com/users/statsmodels/repos","events_url":"https://api.github.com/users/statsmodels/events{/privacy}","received_events_url":"https://api.github.com/users/statsmodels/received_events","type":"Organization","site_admin":false},"repo":{"id":1885237,"name":"statsmodels","full_name":"statsmodels/statsmodels","owner":{"login":"statsmodels","id":717666,"avatar_url":"https://avatars.githubusercontent.com/u/717666?v=3","gravatar_id":"","url":"https://api.github.com/users/statsmodels","html_url":"https://github.com/statsmodels","followers_url":"https://api.github.com/users/statsmodels/followers","following_url":"https://api.github.com/users/statsmodels/following{/other_user}","gists_url":"https://api.github.com/users/statsmodels/gists{/gist_id}","starred_url":"https://api.github.com/users/statsmodels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statsmodels/subscriptions","organizations_url":"https://api.github.com/users/statsmodels/orgs","repos_url":"https://api.github.com/users/statsmodels/repos","events_url":"https://api.github.com/users/statsmodels/events{/privacy}","received_events_url":"https://api.github.com/users/statsmodels/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statsmodels/statsmodels","description":"Statsmodels: statistical modeling and econometrics in Python","fork":false,"url":"https://api.github.com/repos/statsmodels/statsmodels","forks_url":"https://api.github.com/repos/statsmodels/statsmodels/forks","keys_url":"https://api.github.com/repos/statsmodels/statsmodels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statsmodels/statsmodels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statsmodels/statsmodels/teams","hooks_url":"https://api.github.com/repos/statsmodels/statsmodels/hooks","issue_events_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/events{/number}","events_url":"https://api.github.com/repos/statsmodels/statsmodels/events","assignees_url":"https://api.github.com/repos/statsmodels/statsmodels/assignees{/user}","branches_url":"https://api.github.com/repos/statsmodels/statsmodels/branches{/branch}","tags_url":"https://api.github.com/repos/statsmodels/statsmodels/tags","blobs_url":"https://api.github.com/repos/statsmodels/statsmodels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statsmodels/statsmodels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statsmodels/statsmodels/git/refs{/sha}","trees_url":"https://api.github.com/repos/statsmodels/statsmodels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statsmodels/statsmodels/statuses/{sha}","languages_url":"https://api.github.com/repos/statsmodels/statsmodels/languages","stargazers_url":"https://api.github.com/repos/statsmodels/statsmodels/stargazers","contributors_url":"https://api.github.com/repos/statsmodels/statsmodels/contributors","subscribers_url":"https://api.github.com/repos/statsmodels/statsmodels/subscribers","subscription_url":"https://api.github.com/repos/statsmodels/statsmodels/subscription","commits_url":"https://api.github.com/repos/statsmodels/statsmodels/commits{/sha}","git_commits_url":"https://api.github.com/repos/statsmodels/statsmodels/git/commits{/sha}","comments_url":"https://api.github.com/repos/statsmodels/statsmodels/comments{/number}","issue_comment_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/comments/{number}","contents_url":"https://api.github.com/repos/statsmodels/statsmodels/contents/{+path}","compare_url":"https://api.github.com/repos/statsmodels/statsmodels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statsmodels/statsmodels/merges","archive_url":"https://api.github.com/repos/statsmodels/statsmodels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statsmodels/statsmodels/downloads","issues_url":"https://api.github.com/repos/statsmodels/statsmodels/issues{/number}","pulls_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls{/number}","milestones_url":"https://api.github.com/repos/statsmodels/statsmodels/milestones{/number}","notifications_url":"https://api.github.com/repos/statsmodels/statsmodels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statsmodels/statsmodels/labels{/name}","releases_url":"https://api.github.com/repos/statsmodels/statsmodels/releases{/id}","created_at":"2011-06-12T17:04:50Z","updated_at":"2015-02-11T16:41:45Z","pushed_at":"2015-02-11T16:41:45Z","git_url":"git://github.com/statsmodels/statsmodels.git","ssh_url":"git@github.com:statsmodels/statsmodels.git","clone_url":"https://github.com/statsmodels/statsmodels.git","svn_url":"https://github.com/statsmodels/statsmodels","homepage":"http://statsmodels.sourceforge.net/devel/","size":35369,"stargazers_count":872,"watchers_count":872,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":355,"mirror_url":null,"open_issues_count":835,"forks":355,"open_issues":835,"watchers":872,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247"},"html":{"href":"https://github.com/statsmodels/statsmodels/pull/2247"},"issue":{"href":"https://api.github.com/repos/statsmodels/statsmodels/issues/2247"},"comments":{"href":"https://api.github.com/repos/statsmodels/statsmodels/issues/2247/comments"},"review_comments":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247/comments"},"review_comment":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2247/commits"},"statuses":{"href":"https://api.github.com/repos/statsmodels/statsmodels/statuses/ac74740f01b9f997e3f34a99eecdd1bade55eca7"}}}}