def _calculateEncodingKey(comparator):
    encodingName = None
    for k, v in _encodings.viewitems():
        if v == comparator:
            encodingName = k
            break
    return encodingName
Test for return a dictionary of information about
dataset/ETHPy150Open datalyze-solutions/pandas-qt/pandasqt/views/CSVDialogs.py/_calculateEncodingKey--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/network_test.py/NetworkTestCase.test_interfaces