This simplifies the way that `InteractiveConsole` does stream redirections and adds stream redirection for `stdin`. I also moved `banner` from a class method of `InteractiveConsole` to a module level constant `BANNER`.
Rearrange InteractiveConsole stream redirections. This simplifies the way that `InteractiveConsole` does stream redirections and adds stream redirection for `stdin`. I also moved `banner` from a class method of `InteractiveConsole` to a module level constant `BANNER`.
package:
  name: mpmath
  version: 1.1.0

source:
  sha256: fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6
  url: 'https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/mpmath-1.1.0.tar.gz'

  patches:
    - patches/fix-warnings.patch

test:
  imports:
    - mpmath

package:
  name: mpmath
  version: 1.1.0

source:
  sha256: fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6
  url: 'https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/mpmath-1.1.0.tar.gz'

  patches:
    - patches/fix-warnings.patch

test:
  imports:
    - mpmath
