Skip to content

Commit fdbfb7c

Browse files
committed
Fix error in test_concat
1 parent 1adcf89 commit fdbfb7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ install:
2222
- python setup.py install
2323
# Run test
2424
script:
25-
- nosetests -v
25+
- nosetests

test/test_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def test_concat(self):
370370
data0, data1 = deepcopy(split_data)
371371
data1['foo'] = ('bar', np.random.randn(10))
372372
Dataset.concat([data0, data1], 'dim1')
373-
with self.assertRaisesRegexp(ValueError, 'not equal across datasets'):
373+
with self.assertRaisesRegexp(ValueError, 'unsafe to merge datasets'):
374374
data0, data1 = deepcopy(split_data)
375375
data1['dim2'] *= 2
376376
Dataset.concat([data0, data1], 'dim1')

0 commit comments

Comments
 (0)