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