diff --git a/_pytest/assertion/reinterpret.py b/_pytest/assertion/reinterpret.py index 6c52ee63f..dfb2fec93 100644 --- a/_pytest/assertion/reinterpret.py +++ b/_pytest/assertion/reinterpret.py @@ -46,7 +46,7 @@ class AssertionError(BuiltinAssertionError): if sys.version_info > (3, 0): AssertionError.__module__ = "builtins" -if sys.version_info >= (2, 6) or (sys.platform.startswith("java")): +if sys.version_info >= (2, 6) or sys.platform.startswith("java"): from _pytest.assertion.newinterpret import interpret as reinterpret else: from _pytest.assertion.oldinterpret import interpret as reinterpret