summaryrefslogtreecommitdiffstats
path: root/contrib/python/portalocker/py3/tests/temporary_file_lock.py
diff options
context:
space:
mode:
authoralevitskii <[email protected]>2025-09-02 06:57:05 +0300
committeralevitskii <[email protected]>2025-09-02 07:19:27 +0300
commit7e399723cf6d967e20c8f9d2ee975426636242c5 (patch)
treeabd5283daba11c07afc8fc16f02aec2c19e2272a /contrib/python/portalocker/py3/tests/temporary_file_lock.py
parent14e9c865541d5abe545cb496c0143e4905b00c78 (diff)
Drop LINTER param from styling macroses and cleanup deps
Drop LINTER param from styling macroses commit_hash:00dd2e2ee103e509cff38f520d4779974abe39a7
Diffstat (limited to 'contrib/python/portalocker/py3/tests/temporary_file_lock.py')
-rw-r--r--contrib/python/portalocker/py3/tests/temporary_file_lock.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/python/portalocker/py3/tests/temporary_file_lock.py b/contrib/python/portalocker/py3/tests/temporary_file_lock.py
deleted file mode 100644
index b250bad6510..00000000000
--- a/contrib/python/portalocker/py3/tests/temporary_file_lock.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import os
-import portalocker
-
-
-def test_temporary_file_lock(tmpfile):
- with portalocker.TemporaryFileLock(tmpfile):
- pass
-
- assert not os.path.isfile(tmpfile)
-
- lock = portalocker.TemporaryFileLock(tmpfile)
- lock.acquire()
- del lock
-