tests: test_unicode_plus_minus: use unicode sign directly (#6727)
Was globbed for Python 2 before (57c448991
).
This commit is contained in:
parent
dbae5a7ff8
commit
83137c89e9
|
@ -452,7 +452,7 @@ class TestApprox:
|
||||||
expected = "4.0e-06"
|
expected = "4.0e-06"
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
result.stdout.fnmatch_lines(
|
result.stdout.fnmatch_lines(
|
||||||
["*At index 0 diff: 3 != 4 * {}".format(expected), "=* 1 failed in *="]
|
["*At index 0 diff: 3 != 4 ± {}".format(expected), "=* 1 failed in *="]
|
||||||
)
|
)
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
|
Loading…
Reference in New Issue