Skip to content

Commit

Permalink
Fix traitlets deprecation warning (#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Apr 1, 2022
1 parent 6621e05 commit 5a1f33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctapipe/core/tests/test_traits.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def mock_subarray():

def test_path_allow_none_false():
class C(Component):
path = Path(allow_none=False)
path = Path(default_value=None, allow_none=False)

c = C()

Expand Down

0 comments on commit 5a1f33b

Please sign in to comment.