def test_create_operclass_default(self):
        inmap = self.std_map()
        inmap['schema public'].update({'operator class oc1 using btree': {
            'default': True, 'type': 'myint',
            'operators': {1: '<(myint,myint)', 3: '=(myint,myint)'},
            'functions': {1: 'btmyintcmp(myint,myint)'}}})
        sql = self.to_sql(inmap, [CREATE_TYPE_STMT], superuser=True)
        assert fix_indent(sql[0]) == CREATE_STMT_LONG.replace(
            ' FOR ', ' DEFAULT FOR ').replace('integer', 'myint').replace(
                'int4', 'myint')
Use self.queue, which is a collections.deque, to pop up to
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_operclass.py/OperatorClassToSqlTestCase.test_create_operclass_default--crossover with--dataset/ETHPy150Open graphite-project/carbon/lib/carbon/client.py/CarbonClientFactory.takeSomeFromQueue