diff options
author | Ryan Huber <rhuber@gmail.com> | 2017-02-01 12:21:52 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2017-02-01 12:21:52 -0800 |
commit | ad6277ba742e0a9e1a751df2f4a7c395273b1b63 (patch) | |
tree | f0e4f937192910504607294a7f616290f7080941 | |
parent | a84c7a06aa17c018acaac44fe72270fcbb4c4357 (diff) | |
download | wee-slack-ad6277ba742e0a9e1a751df2f4a7c395273b1b63.tar.gz |
use a set
-rw-r--r-- | _pytest/test_everything.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_pytest/test_everything.py b/_pytest/test_everything.py index e65b3d8..0c04213 100644 --- a/_pytest/test_everything.py +++ b/_pytest/test_everything.py @@ -22,7 +22,7 @@ def test_process_message(monkeypatch, realish_eventrouter, mock_websocket): print datafiles #assert False - notimplemented = [] + notimplemented = set() for fname in datafiles: try: @@ -31,7 +31,7 @@ def test_process_message(monkeypatch, realish_eventrouter, mock_websocket): eventrouter.receive_ws_callback(t) eventrouter.handle_next() except ProcessNotImplemented as e: - notimplemented += [str(e)] + notimplemented.add(str(e)) #this handles some message data not existing - need to fix except KeyError: pass |