summaryrefslogtreecommitdiffstats
path: root/contrib/python/traitlets/py3/tests/test_traitlets.py
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2023-11-08 08:02:42 +0300
committerrobot-contrib <[email protected]>2023-11-08 08:31:37 +0300
commitfd01b46f68dae86217fed11f93dbdce52d09fae5 (patch)
treec5c6b0d8e04a284b719fd6ef186973a922f6529a /contrib/python/traitlets/py3/tests/test_traitlets.py
parentc29324adfbbd2c4bafa31109bc5890e9771fd541 (diff)
Update contrib/python/traitlets/py3 to 5.12.0
Diffstat (limited to 'contrib/python/traitlets/py3/tests/test_traitlets.py')
-rw-r--r--contrib/python/traitlets/py3/tests/test_traitlets.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/python/traitlets/py3/tests/test_traitlets.py b/contrib/python/traitlets/py3/tests/test_traitlets.py
index 62fa726f19b..07c95ca2519 100644
--- a/contrib/python/traitlets/py3/tests/test_traitlets.py
+++ b/contrib/python/traitlets/py3/tests/test_traitlets.py
@@ -2013,7 +2013,7 @@ class TestLink(TestCase):
a = A(value=9)
b = A(value=8)
- # Conenct the two classes.
+ # Connect the two classes.
c = link((a, "value"), (b, "value"))
# Make sure the values are the same at the point of linking.
@@ -2038,7 +2038,7 @@ class TestLink(TestCase):
a = A(value=9)
b = B(count=8)
- # Conenct the two classes.
+ # Connect the two classes.
c = link((a, "value"), (b, "count"))
# Make sure the values are the same at the point of linking.
@@ -2126,7 +2126,7 @@ class TestLink(TestCase):
a = A(value=9)
b = A(value=8)
- # Conenct the two classes.
+ # Connect the two classes.
c = link((a, "value"), (b, "value"), transform=(lambda x: 2 * x, lambda x: int(x / 2.0)))
# Make sure the values are correct at the point of linking.
@@ -2178,7 +2178,7 @@ class TestDirectionalLink(TestCase):
a = A(value=9)
b = A(value=8)
- # Conenct the two classes.
+ # Connect the two classes.
c = directional_link((a, "value"), (b, "value"))
# Make sure the values are the same at the point of linking.
@@ -2201,7 +2201,7 @@ class TestDirectionalLink(TestCase):
a = A(value=9)
b = A(value=8)
- # Conenct the two classes.
+ # Connect the two classes.
c = directional_link((a, "value"), (b, "value"), lambda x: 2 * x)
# Make sure the values are correct at the point of linking.
@@ -2227,7 +2227,7 @@ class TestDirectionalLink(TestCase):
a = A(value=9)
b = B(count=8)
- # Conenct the two classes.
+ # Connect the two classes.
c = directional_link((a, "value"), (b, "count"))
# Make sure the values are the same at the point of linking.