diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2016-11-20 18:59:15 -0200 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2016-11-20 18:59:15 -0200 |
commit | 1eb5a690d4c416962b6ccf46618367f68e54ea89 (patch) | |
tree | 6d9b8c722c6d78747f5c617fcfd1145c61065558 /testing/test_pastebin.py | |
parent | cbf261c74ef1713f88ac56f2c382f096b252dedb (diff) | |
download | pytest-1eb5a690d4c416962b6ccf46618367f68e54ea89.tar.gz |
Fix flake8 E305 and E306 errors
These errors started to appear with flake8-3.1.1, while they don't appear with
version 3.1.0 (weird).
Diffstat (limited to 'testing/test_pastebin.py')
-rw-r--r-- | testing/test_pastebin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/test_pastebin.py b/testing/test_pastebin.py index 03570a5c7..8123424ca 100644 --- a/testing/test_pastebin.py +++ b/testing/test_pastebin.py @@ -84,8 +84,10 @@ class TestPaste: function that connects to bpaste service. """ calls = [] + def mocked(url, data): calls.append((url, data)) + class DummyFile: def read(self): # part of html of a normal response |