diff --git a/tests/test_typeutils.py b/tests/test_typeutils.py index 66ba1db..68c5fe9 100644 --- a/tests/test_typeutils.py +++ b/tests/test_typeutils.py @@ -1,3 +1,4 @@ +import copy import pickle from boltons.typeutils import make_sentinel @@ -10,3 +11,8 @@ def test_sentinel_falsiness(): def test_sentinel_pickle(): assert pickle.dumps(NOT_SET) + +def test_sentinel_copy(): + test = make_sentinel('test') + assert test is copy.copy(test) + assert test is copy.deepcopy(test)