Skip to content

Commit 15bc509

Browse files
committed
Merge branch 'explicit-cb' of https://github.com/cpcloud/pandas into cpcloud-explicit-cb
Conflicts: doc/source/release.rst
2 parents b596852 + 9149c93 commit 15bc509

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,33 @@ matrix:
1414
include:
1515
- python: 2.6
1616
env:
17-
- NOSE_ARGS="not slow and not network"
17+
- NOSE_ARGS="not slow and not network and not disabled"
1818
- CLIPBOARD=xclip
1919
- LOCALE_OVERRIDE="it_IT.UTF-8"
2020
- JOB_NAME: "26_nslow_nnet" # ScatterCI Build name, 20 chars max
2121
- python: 2.7
2222
env:
23-
- NOSE_ARGS="slow and not network"
23+
- NOSE_ARGS="slow and not network and not disabled"
2424
- LOCALE_OVERRIDE="zh_CN.GB18030"
2525
- FULL_DEPS=true
2626
- JOB_TAG=_LOCALE
2727
- JOB_NAME: "27_slow_nnet_LOCALE" # ScatterCI Build name, 20 chars max
2828
- python: 2.7
2929
env:
30-
- NOSE_ARGS="not slow"
30+
- NOSE_ARGS="not slow and not disabled"
3131
- FULL_DEPS=true
3232
- CLIPBOARD_GUI=gtk2
3333
- JOB_NAME: "27_nslow" # ScatterCI Build name, 20 chars max
3434
- DOC_BUILD=true # if rst files were changed, build docs in parallel with tests
3535
- python: 3.2
3636
env:
37-
- NOSE_ARGS="not slow"
37+
- NOSE_ARGS="not slow and not disabled"
3838
- FULL_DEPS=true
3939
- CLIPBOARD_GUI=qt4
4040
- JOB_NAME: "32_nslow" # ScatterCI Build name, 20 chars max
4141
- python: 3.3
4242
env:
43-
- NOSE_ARGS="not slow"
43+
- NOSE_ARGS="not slow and not disabled"
4444
- FULL_DEPS=true
4545
- CLIPBOARD=xsel
4646
- JOB_NAME: "33_nslow" # ScatterCI Build name, 20 chars max

doc/source/release.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ Bug Fixes
112112
(:issue:`6351`)
113113
- Bug correctly handle placements of ``-inf`` in Panels when dividing by integer 0 (:issue:`6178`)
114114
- ``DataFrame.shift`` with ``axis=1`` was raising (:issue:`6371`)
115+
- Disabled clipboard tests until release time (run locally with ``nosetests -A disabled`` (:issue:`6048`).
115116

116117
pandas 0.13.1
117118
-------------

pandas/io/tests/test_clipboard.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from pandas import read_clipboard
99
from pandas import get_option
1010
from pandas.util import testing as tm
11-
from pandas.util.testing import makeCustomDataframe as mkdf
11+
from pandas.util.testing import makeCustomDataframe as mkdf, disabled
1212

1313

1414
try:
@@ -17,6 +17,7 @@
1717
raise nose.SkipTest("no clipboard found")
1818

1919

20+
@disabled
2021
class TestClipboard(tm.TestCase):
2122
@classmethod
2223
def setUpClass(cls):
@@ -38,7 +39,7 @@ def setUpClass(cls):
3839
max_rows = get_option('display.max_rows')
3940
cls.data['longdf'] = mkdf(max_rows+1, 3, data_gen_f=lambda *args: randint(2),
4041
c_idx_type='s', r_idx_type='i',
41-
c_idx_names=[None], r_idx_names=[None])
42+
c_idx_names=[None], r_idx_names=[None])
4243
cls.data_types = list(cls.data.keys())
4344

4445
@classmethod

pandas/util/testing.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ def dec(f):
10021002
60, # urllib.error.URLError: [Errno 60] Connection timed out
10031003
)
10041004

1005-
# Both of the above shouldn't mask reasl issues such as 404's
1005+
# Both of the above shouldn't mask real issues such as 404's
10061006
# or refused connections (changed DNS).
10071007
# But some tests (test_data yahoo) contact incredibly flakey
10081008
# servers.
@@ -1402,3 +1402,8 @@ def skip_if_no_ne(engine='numexpr'):
14021402
if ne.__version__ < LooseVersion('2.0'):
14031403
raise nose.SkipTest("numexpr version too low: "
14041404
"%s" % ne.__version__)
1405+
1406+
1407+
def disabled(t):
1408+
t.disabled = True
1409+
return t

0 commit comments

Comments
 (0)