@util.writes_bytecode_files
def test_magic_only(self):

    def test(name, mapping, bytecode_path):
        self.import_(mapping[name], name)
        with open(bytecode_path, 'rb') as file:
            self.assertGreater(len(file.read()), 16)
    self._test_magic_only(test)
@util.writes_bytecode_files
def test_magic_only(self):

    def test(name, mapping, bytecode_path):
        self.import_(mapping[name], name)
        with open(bytecode_path, 'rb') as file:
            self.assertGreater(len(file.read()), 16)
    self._test_magic_only(test)