diff --git a/tests/modules/test_brightness.py b/tests/modules/test_brightness.py index 5582bcc..9b91d8f 100644 --- a/tests/modules/test_brightness.py +++ b/tests/modules/test_brightness.py @@ -8,6 +8,11 @@ try: except ImportError: from io import StringIO +try: + FileNotFoundError +except NameError: + FileNotFoundError = IOError + import tests.mocks as mocks from bumblebee.config import Config