From cf82491cdac405cb5b9480c4d923c53cce5aa1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Mon, 4 Mar 2024 10:36:36 +0100 Subject: [PATCH] unit test for overloading --- satella/__init__.py | 2 +- tests/test_coding/test_overloading.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/satella/__init__.py b/satella/__init__.py index 13bf4972..fd3c76e6 100644 --- a/satella/__init__.py +++ b/satella/__init__.py @@ -1 +1 @@ -__version__ = '2.24.1a5' +__version__ = '2.24.1a6' diff --git a/tests/test_coding/test_overloading.py b/tests/test_coding/test_overloading.py index 931bed3f..be72a045 100644 --- a/tests/test_coding/test_overloading.py +++ b/tests/test_coding/test_overloading.py @@ -23,4 +23,5 @@ class TestOverloading(unittest.TestCase): self.assertIsInstance(i, str) fun(2) + self.assertRaises(TypeError, lambda: fun(2.5)) fun('test') -- GitLab