Skip to content

Commit cb992d5

Browse files
committed
Add missing imports
1 parent b2bfc4f commit cb992d5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

traits/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
Module,
7979
Python,
8080
ReadOnly,
81+
TypedReadOnly,
8182
Disallow,
8283
Constant,
8384
Delegate,

traits/tests/test_typed_read_only.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
# Date: 05/24/2019
1515
#
1616
# ------------------------------------------------------------------------------
17+
import unittest
18+
19+
20+
from traits.api import (
21+
HasStrictTraits, Int, List, TraitError, TypedReadOnly, Undefined)
22+
1723

1824
class Dummy(HasStrictTraits):
1925

@@ -35,7 +41,6 @@ def _value_2_changed(self, old, new):
3541
self.events_2.append((old, new))
3642

3743

38-
3944
class TestTypedReadOnly(unittest.TestCase):
4045

4146
def test_initialization(self):

0 commit comments

Comments
 (0)