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

Commit

Permalink
Not sure how much this test is adding so remove.
Browse files Browse the repository at this point in the history
OrderedDict isn't available in core Python 2.6, and keeping 2.6 compat is probably worth more than this test.
  • Loading branch information
cjw296 committed Jun 9, 2016
1 parent 8ef8df0 commit 5c4babf
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions xlutils/tests/test_styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# This Software is released under the MIT License:
# http://www.opensource.org/licenses/mit-license.html
# See license.txt for more details.
from collections import OrderedDict

from mock import Mock
from testfixtures import ShouldRaise
from unittest import TestSuite,TestCase,makeSuite
Expand Down Expand Up @@ -48,15 +46,7 @@ def test_multiple_names_for_xfi_bad_1(self):
}
with ShouldRaise(AssertionError()):
Styles(self.wb)

def test_multiple_names_for_xfi_bad_2(self):
self.wb.style_name_map = OrderedDict((
('A', (0,0)),
('', (0,0)),
))
with ShouldRaise(AssertionError()):
Styles(self.wb)


def test_suite():
return TestSuite((
makeSuite(TestStyles),
Expand Down

0 comments on commit 5c4babf

Please sign in to comment.