Skip to content

Commit

Permalink
test_gdb: skip test_threads when running without GIL
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Apr 23, 2023
1 parent 9ab9696 commit cff3269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ def test_bt_full(self):

@unittest.skipIf(python_is_optimized(),
"Python was compiled with optimizations")
@unittest.skipIf(sys.flags.nogil, "Python is running without the GIL")
def test_threads(self):
'Verify that "py-bt" indicates threads that are waiting for the GIL'
cmd = '''
Expand Down

0 comments on commit cff3269

Please sign in to comment.