From e4b244736a53014b2bd38a9ffa5ef44348263681 Mon Sep 17 00:00:00 2001 From: Alex Hall Date: Thu, 2 May 2019 20:32:18 +0200 Subject: [PATCH] Remove empty parens from exceptions --- pysnooper/variables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pysnooper/variables.py b/pysnooper/variables.py index d233d60..a5a0a6f 100644 --- a/pysnooper/variables.py +++ b/pysnooper/variables.py @@ -21,7 +21,7 @@ class BaseVariable(ABC): @abstractmethod def _items(self, key): - raise NotImplementedError() + raise NotImplementedError class CommonVariable(BaseVariable): @@ -51,10 +51,10 @@ class CommonVariable(BaseVariable): return () def _format_key(self, key): - raise NotImplementedError() + raise NotImplementedError def _get_value(self, main_value, key): - raise NotImplementedError() + raise NotImplementedError class Attrs(CommonVariable):