mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Update unittest
This commit is contained in:
1 parent
cc3456b466
commit
5f4d2dd9cd
2 files changed
+5
-1
No files matched your search
Vendored
+1
-1
@@ -8,9 +8,9 @@ Run this script with -h or --help for documentation.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
from test.libregrtest.main import main
|
||||
|
||||
|
||||
# Alias for backward compatibility (just in case)
|
||||
main_in_temp_cwd = main
|
||||
|
||||
|
||||
Vendored
+4
@@ -3121,6 +3121,10 @@ class ThreadingMixin(Base):
|
||||
|
||||
return ret_value
|
||||
|
||||
def _increment_mock_call(self, /, *args, **kwargs):
|
||||
with self._mock_calls_events_lock:
|
||||
super()._increment_mock_call(*args, **kwargs)
|
||||
|
||||
def wait_until_called(self, *, timeout=_timeout_unset):
|
||||
"""Wait until the mock object is called.
|
||||
|
||||
|
||||
Reference in new issue
Block a user