Skip to content

Commit

Permalink
remove check for start_new in thread so jython works
Browse files Browse the repository at this point in the history
  • Loading branch information
zZeck authored and fabioz committed Oct 5, 2021
1 parent 473ba32 commit ac17851
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def check(self, module, expected_attributes):

if IS_PY2:
with VerifyShadowedImport('thread') as verify_shadowed:
import thread; verify_shadowed.check(thread, ['start_new_thread', 'start_new', 'allocate_lock'])
import thread; verify_shadowed.check(thread, ['start_new_thread', 'allocate_lock'])

with VerifyShadowedImport('Queue') as verify_shadowed:
import Queue as _queue; verify_shadowed.check(_queue, ['Queue', 'LifoQueue', 'Empty', 'Full', 'deque'])
Expand Down

0 comments on commit ac17851

Please sign in to comment.