Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit 5c4babf

Browse files
committed
Not sure how much this test is adding so remove.
OrderedDict isn't available in core Python 2.6, and keeping 2.6 compat is probably worth more than this test.
1 parent 8ef8df0 commit 5c4babf

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

xlutils/tests/test_styles.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# This Software is released under the MIT License:
44
# http://www.opensource.org/licenses/mit-license.html
55
# See license.txt for more details.
6-
from collections import OrderedDict
7-
86
from mock import Mock
97
from testfixtures import ShouldRaise
108
from unittest import TestSuite,TestCase,makeSuite
@@ -48,15 +46,7 @@ def test_multiple_names_for_xfi_bad_1(self):
4846
}
4947
with ShouldRaise(AssertionError()):
5048
Styles(self.wb)
51-
52-
def test_multiple_names_for_xfi_bad_2(self):
53-
self.wb.style_name_map = OrderedDict((
54-
('A', (0,0)),
55-
('', (0,0)),
56-
))
57-
with ShouldRaise(AssertionError()):
58-
Styles(self.wb)
59-
49+
6050
def test_suite():
6151
return TestSuite((
6252
makeSuite(TestStyles),

0 commit comments

Comments
 (0)