def test_binary_suppresses_when_not_terminal_but_pretty(self):
        env = TestEnvironment(stdin_isatty=True, stdout_isatty=False)
        r = http('--pretty=all', 'GET', self.url,
                 env=env)
        assert BINARY_SUPPRESSED_NOTICE.decode() in r
dataset/ETHPy150Open jkbrzt/httpie/tests/test_binary.py/TestBinaryResponseData.test_binary_suppresses_when_not_terminal_but_pretty/original