summaryrefslogtreecommitdiff
path: root/src/isodate/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/isodate/tests/__init__.py')
-rw-r--r--src/isodate/tests/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/isodate/tests/__init__.py b/src/isodate/tests/__init__.py
index f68a79b..ea0f433 100644
--- a/src/isodate/tests/__init__.py
+++ b/src/isodate/tests/__init__.py
@@ -3,6 +3,7 @@ Collect all test suites into one TestSuite instance.
"""
import unittest
+import warnings
from isodate.tests import (
test_date,
test_time,
@@ -17,6 +18,8 @@ def test_suite():
"""
Return a new TestSuite instance consisting of all available TestSuites.
"""
+ warnings.filterwarnings("error", module=r"isodate(\..)*")
+
return unittest.TestSuite(
[
test_date.test_suite(),