def test_partial_hash(self):

    def test(name, mapping, bytecode_path):
        with self.assertRaises(EOFError):
            self.import_(bytecode_path, name)
    self._test_partial_hash(test, del_source=True)
def test_partial_hash(self):

    def test(name, mapping, bytecode_path):
        with self.assertRaises(EOFError):
            self.import_(bytecode_path, name)
    self._test_partial_hash(test, del_source=True)