def test_strings(self):
        # changes in 3.x
        d = {'map': 'inner'}
        s = set([1, 2, 3])
        self.assertEqual(repr(OrderedMap([('two', 2), ('one', 1), (d, 'value'), (s, 'another')])),
                         (d, s) % "OrderedMap([('two', 2), ('one', 1), (%r, 'value'), (%r, 'another')])")

        self.assertEqual(str(OrderedMap([('two', 2), ('one', 1), (d, 'value'), (s, 'another')])),
                         "{'two': 2, 'one': 1, %r: 'value', %r: 'another'}" % (d, s))
dataset/ETHPy150Open datastax/python-driver/tests/unit/test_orderedmap.py/OrderedMapTest.test_strings/swapped operands of `%`