diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-31 03:24:43 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-31 03:41:53 -0600 |
commit | 6b50631a8d0aa1b64995ce562972068b9f214759 (patch) | |
tree | be6e241f8a9ae5991cdb0331583b6a52c673997c /build-aux/measurestack/test_misc.py | |
parent | a30e879a82b06df850698e6bd30068dc0893a845 (diff) |
stack.c.gen: Set up pytest
Diffstat (limited to 'build-aux/measurestack/test_misc.py')
-rw-r--r-- | build-aux/measurestack/test_misc.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build-aux/measurestack/test_misc.py b/build-aux/measurestack/test_misc.py new file mode 100644 index 0000000..5cdf629 --- /dev/null +++ b/build-aux/measurestack/test_misc.py @@ -0,0 +1,12 @@ +# build-aux/measurestack/test_misc.py - Miscellaneous tests for measurestack +# +# Copyright (C) 2025 Luke T. Shumaker <lukeshu@lukeshu.com> +# SPDX-License-Identifier: AGPL-3.0-or-later + +# pylint: disable=unused-variable + +from . import BaseName, QName + + +def test_basename() -> None: + assert QName("foo.c:bar.1").base() == BaseName("bar") |