diff options
Diffstat (limited to 'Lib/test/test_sys.py')
| -rw-r--r-- | Lib/test/test_sys.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index e6d8e5082f..9aeb28a898 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -393,6 +393,9 @@ class SysModuleTest(unittest.TestCase): thread_id = thread_info[0] d = sys._current_frames() + for tid in d: + self.assertIsInstance(tid, int) + self.assertGreater(tid, 0) main_id = threading.get_ident() self.assertIn(main_id, d) |
