summaryrefslogtreecommitdiff
path: root/testing/test_pastebin.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-06-02 15:40:34 -0700
committerBruno Oliveira <bruno@esss.com.br>2019-06-03 12:08:02 -0300
commit4df529e5b9e36b32fbe715386200729788478b6c (patch)
tree60f573772ab163489328bc0a81a31cbffe32b511 /testing/test_pastebin.py
parenta91fe1feddbded535a4322ab854429e3a3961fb4 (diff)
downloadpytest-4df529e5b9e36b32fbe715386200729788478b6c.tar.gz
Clean up __future__ and coding: in tests
Diffstat (limited to 'testing/test_pastebin.py')
-rw-r--r--testing/test_pastebin.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/test_pastebin.py b/testing/test_pastebin.py
index eb2fd8fae..48dea14bd 100644
--- a/testing/test_pastebin.py
+++ b/testing/test_pastebin.py
@@ -60,11 +60,10 @@ class TestPasteCapture:
correctly. See #1219.
"""
testdir.makepyfile(
- test_unicode="""
- # -*- coding: utf-8 -*-
+ test_unicode="""\
def test():
assert '☺' == 1
- """
+ """
)
result = testdir.runpytest("--pastebin=all")
expected_msg = "*assert '☺' == 1*"