diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2024-10-23 00:41:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-23 13:41:33 +0900 |
commit | c75ff2ef8eb71d91b1f92db9c2bc7ff18c582ab1 (patch) | |
tree | 9533b26bfb3a89ae045f36c9513d93a4cc0faa47 /Lib/test/test_unittest/namespace_test_pkg/noop | |
parent | 34653bba644aa5481613f398153757d7357e39ea (diff) | |
download | cpython-c75ff2ef8eb71d91b1f92db9c2bc7ff18c582ab1.tar.gz cpython-c75ff2ef8eb71d91b1f92db9c2bc7ff18c582ab1.zip |
gh-80958: unittest: discovery support for namespace packages as start directory (#123820)
Diffstat (limited to 'Lib/test/test_unittest/namespace_test_pkg/noop')
3 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/test_unittest/namespace_test_pkg/noop/no2/__init__.py b/Lib/test/test_unittest/namespace_test_pkg/noop/no2/__init__.py new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Lib/test/test_unittest/namespace_test_pkg/noop/no2/__init__.py diff --git a/Lib/test/test_unittest/namespace_test_pkg/noop/no2/test_no2.py b/Lib/test/test_unittest/namespace_test_pkg/noop/no2/test_no2.py new file mode 100644 index 00000000000..05b184d9eba --- /dev/null +++ b/Lib/test/test_unittest/namespace_test_pkg/noop/no2/test_no2.py @@ -0,0 +1,5 @@ +import unittest + +class PassingTest(unittest.TestCase): + def test_true(self): + self.assertTrue(True) diff --git a/Lib/test/test_unittest/namespace_test_pkg/noop/test_noop.py b/Lib/test/test_unittest/namespace_test_pkg/noop/test_noop.py new file mode 100644 index 00000000000..05b184d9eba --- /dev/null +++ b/Lib/test/test_unittest/namespace_test_pkg/noop/test_noop.py @@ -0,0 +1,5 @@ +import unittest + +class PassingTest(unittest.TestCase): + def test_true(self): + self.assertTrue(True) |