Skip to content

Commit

Permalink
TST: gh11389
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfaff committed Feb 12, 2020
1 parent fb343de commit 19478b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scipy/io/tests/test_mmio.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from tempfile import mkdtemp, mktemp
import os
import io
import shutil

import numpy as np
Expand Down Expand Up @@ -698,3 +699,9 @@ def test_precision(self):
assert_array_equal(A.col, [n-1])
assert_array_almost_equal(A.data,
[float('%%.%dg' % precision % value)])


def test_gh11389():
mmread(io.StringIO("%%MatrixMarket matrix coordinate complex symmetric\n"
" 1 1 1\n"
"1 1 -2.1846000000000e+02 0.0000000000000e+00"))

0 comments on commit 19478b6

Please sign in to comment.