This commit is contained in:
Florian Bruhin 2016-06-09 22:03:35 +02:00
parent 185b4bc18b
commit 14a04f1535

View File

@ -20,7 +20,6 @@
"""Tests for the global page history.""" """Tests for the global page history."""
import base64 import base64
import logging
import pytest import pytest
import hypothesis import hypothesis
@ -161,7 +160,7 @@ def test_entry_parse_invalid(line):
@hypothesis.given(strategies.text()) @hypothesis.given(strategies.text())
def test_entry_parse_hypothesis(text): def test_entry_parse_hypothesis(text):
"""Make sure parsing works or gives us ValueError""" """Make sure parsing works or gives us ValueError."""
try: try:
history.Entry.from_str(text) history.Entry.from_str(text)
except ValueError: except ValueError: