tests: test_unicode_plus_minus: use unicode sign directly (#6727)

Was globbed for Python 2 before (57c448991).
This commit is contained in:
Daniel Hahler 2020-02-14 02:16:25 +01:00 committed by GitHub
parent dbae5a7ff8
commit 83137c89e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ class TestApprox:
expected = "4.0e-06"
result = testdir.runpytest()
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(