Update bugout token #99
GitHub Actions / JUnit Test Report
failed
Oct 10, 2023 in 0s
21621 tests run, 11439 passed, 10180 skipped, 2 failed.
Annotations
Check failure on line 68 in deeplake/core/tests/test_locking.py
github-actions / JUnit Test Report
test_locking.test_dataset_locking[s3_ds_generator]
assert not [<warnings.WarningMessage object at 0x00000265876A5900>, <warnings.WarningMessage object at 0x00000265876A7CD0>, <warn...>, <warnings.WarningMessage object at 0x00000265876B1E40>, <warnings.WarningMessage object at 0x00000265876B3B20>, ...]
Raw output
ds_generator = <function s3_ds_generator.<locals>.generate_s3_ds at 0x00000265E90D2B90>
@requires_non_python11
@enabled_persistent_non_gdrive_dataset_generators
@pytest.mark.slow
def test_dataset_locking(ds_generator):
deeplake.constants.LOCKS_ENABLED = True
try:
orig_ds = ds_generator()
orig_ds.create_tensor("x")
arr = np.random.random((32, 32))
orig_ds.x.append(arr)
with VM():
# Make sure read only warning is raised
with pytest.warns(UserWarning):
ds = ds_generator()
np.testing.assert_array_equal(arr, ds.x[0].numpy())
assert ds.read_only == True
with pytest.raises(LockedException):
ds.read_only = False
# Raise error if user explicitly asks for write access
with pytest.raises(LockedException):
ds = ds_generator(read_only=False)
# No warnings if user requests read only mode
with warnings.catch_warnings(record=True) as ws:
ds = ds_generator(read_only=True)
np.testing.assert_array_equal(arr, ds.x[0].numpy())
> assert not ws
E assert not [<warnings.WarningMessage object at 0x00000265876A5900>, <warnings.WarningMessage object at 0x00000265876A7CD0>, <warn...>, <warnings.WarningMessage object at 0x00000265876B1E40>, <warnings.WarningMessage object at 0x00000265876B3B20>, ...]
deeplake\core\tests\test_locking.py:68: AssertionError
Check failure on line 90 in deeplake/core/tests/test_locking.py
github-actions / JUnit Test Report
test_locking.test_vc_locking[s3_ds_generator]
AssertionError: {message : DeprecationWarning("The 'strict' parameter is no longer needed on Python 3+. This will raise an error in urllib3 v2.1.0."), category : 'DeprecationWarning', filename : 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\urllib3\\poolmanager.py', lineno : 315, line : None}
assert not [<warnings.WarningMessage object at 0x0000026587302830>, <warnings.WarningMessage object at 0x0000026587300790>, <warn...>, <warnings.WarningMessage object at 0x0000026587303FA0>, <warnings.WarningMessage object at 0x0000026587300130>, ...]
Raw output
ds_generator = <function s3_ds_generator.<locals>.generate_s3_ds at 0x00000265E8341090>
@requires_non_python11
@enabled_persistent_non_gdrive_dataset_generators
@pytest.mark.slow
def test_vc_locking(ds_generator):
deeplake.constants.LOCKS_ENABLED = True
try:
ds = ds_generator()
ds.create_tensor("x")
arr = np.random.random((32, 32))
ds.x.append(arr)
ds.commit()
ds.checkout("branch", create=True)
with VM():
with warnings.catch_warnings(record=True) as ws:
ds = ds_generator()
np.testing.assert_array_equal(arr, ds.x[0].numpy())
> assert not ws, str(ws[0])
E AssertionError: {message : DeprecationWarning("The 'strict' parameter is no longer needed on Python 3+. This will raise an error in urllib3 v2.1.0."), category : 'DeprecationWarning', filename : 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\urllib3\\poolmanager.py', lineno : 315, line : None}
E assert not [<warnings.WarningMessage object at 0x0000026587302830>, <warnings.WarningMessage object at 0x0000026587300790>, <warn...>, <warnings.WarningMessage object at 0x0000026587303FA0>, <warnings.WarningMessage object at 0x0000026587300130>, ...]
deeplake\core\tests\test_locking.py:90: AssertionError
Loading