test_quoted_character.py 454 B

12345678910111213141516
  1. """See https://github.com/numpy/numpy/pull/10676.
  2. """
  3. import sys
  4. import pytest
  5. from . import util
  6. class TestQuotedCharacter(util.F2PyTest):
  7. sources = [util.getpath("tests", "src", "quoted_character", "foo.f")]
  8. @pytest.mark.skipif(sys.platform == "win32",
  9. reason="Fails with MinGW64 Gfortran (Issue #9673)")
  10. def test_quoted_character(self):
  11. assert self.module.foo() == (b"'", b'"', b";", b"!", b"(", b")")