Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MAINT: Instantiate HasTraits object in test.
  • Loading branch information
jvkersch committed Jun 16, 2017
1 parent 13b1781 commit dcacdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traits/tests/test_regression.py
Expand Up @@ -101,7 +101,7 @@ def test_default_value_for_property(self):
"""
# Regression test for enthought/traits#336.
y_trait = SimpleProperty.class_traits()['y']
simple_property = SimpleProperty
simple_property = SimpleProperty()
self.assertIsNone(y_trait.default_value_for(simple_property, "y"))

def test_subclasses_weakref(self):
Expand Down

0 comments on commit dcacdef

Please sign in to comment.