Skip to content
Snippets Groups Projects
Commit 76813338 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fixed unit tests to run on Py3.12

parent ff3f537b
No related branches found
No related tags found
Loading
......@@ -8,4 +8,5 @@ Build system
* Python 3.6 support dropped as it does not emply pyproject.toml, which is necessary
to build this
* fixed unit tests to run on Py3.12
* removed Docker unit tests
......@@ -35,11 +35,11 @@ class TestOverloading(unittest.TestCase):
@overload
def fun(a: B):
self.assertEquals(type(a), B)
self.assertEqual(type(a), B)
@fun.overload
def fun(a: A):
self.assertEquals(type(a), A)
self.assertEqual(type(a), A)
fun(A())
fun(B())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment