def test_both_dead(self):
        t = ast.Constant(True)
        f = ast.Constant(False)

        # Should reduce to left
        n = ast.Both(t, f)
        c, r = optimizer.optimization_pass(n)
        assert c == 1
        assert r is t

        # Should reduce to right
        n = ast.Both(f, t)
        c, r = optimizer.optimization_pass(n)
        assert c == 1
        assert r is t
Figures out the content type of the given file
dataset/ETHPy150Open armon/pypred/tests/unit/test_optimizer.py/TestOptimizer.test_both_dead--crossover with--dataset/ETHPy150Open zynga/jasy/jasy/http/Request.py/get_content_type