/dports/devel/py-pdm-pep517/pdm-pep517-0.9.2/tests/ |
H A D | test_api.py | 10 def test_build_single_module(tmp_path): argument 37 def test_build_package(tmp_path): argument 57 def test_build_src_package(tmp_path): argument 73 def test_build_package_include(tmp_path): argument 110 def test_build_explicit_package_dir(tmp_path): argument 126 def test_prepare_metadata(tmp_path): argument 135 def test_build_legacypackage(tmp_path): argument 167 def test_build_with_cextension(tmp_path): argument 211 def test_build_editable(tmp_path): argument 238 def test_build_editable_src(tmp_path): argument [all …]
|
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/tools/third_party/pytest/testing/ |
H A D | test_findpaths.py | 13 fn = tmp_path / "pytest.ini" 19 fn = tmp_path / "pytest.ini" 25 fn = tmp_path / "custom.ini" 31 fn = tmp_path / "custom.ini" 37 fn = tmp_path / "custom.cfg" 43 fn = tmp_path / "custom.cfg" 49 fn = tmp_path / "custom.cfg" 106 assert get_common_ancestor([tmp_path]) == tmp_path 109 fn = tmp_path / "foo.py" 116 fn = tmp_path / "foo.py" [all …]
|
H A D | test_tmpdir.py | 49 def test_mktemp(self, tmp_path): argument 62 monkeypatch.chdir(tmp_path) 249 def test_make(self, tmp_path): argument 293 self.test_make(tmp_path) 295 root=tmp_path, 302 self._do_cleanup(tmp_path) 321 self._do_cleanup(tmp_path) 331 def test_rm_rf(self, tmp_path): argument 332 adir = tmp_path / "adir" 364 adir = tmp_path / "dir" [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/tests/tools/third_party/pytest/testing/ |
H A D | test_findpaths.py | 13 fn = tmp_path / "pytest.ini" 19 fn = tmp_path / "pytest.ini" 25 fn = tmp_path / "custom.ini" 31 fn = tmp_path / "custom.ini" 37 fn = tmp_path / "custom.cfg" 43 fn = tmp_path / "custom.cfg" 49 fn = tmp_path / "custom.cfg" 106 assert get_common_ancestor([tmp_path]) == tmp_path 109 fn = tmp_path / "foo.py" 116 fn = tmp_path / "foo.py" [all …]
|
H A D | test_tmpdir.py | 49 def test_mktemp(self, tmp_path): argument 62 monkeypatch.chdir(tmp_path) 249 def test_make(self, tmp_path): argument 293 self.test_make(tmp_path) 295 root=tmp_path, 302 self._do_cleanup(tmp_path) 321 self._do_cleanup(tmp_path) 331 def test_rm_rf(self, tmp_path): argument 332 adir = tmp_path / "adir" 364 adir = tmp_path / "dir" [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/tools/third_party/pytest/testing/ |
H A D | test_findpaths.py | 13 fn = tmp_path / "pytest.ini" 19 fn = tmp_path / "pytest.ini" 25 fn = tmp_path / "custom.ini" 31 fn = tmp_path / "custom.ini" 37 fn = tmp_path / "custom.cfg" 43 fn = tmp_path / "custom.cfg" 49 fn = tmp_path / "custom.cfg" 106 assert get_common_ancestor([tmp_path]) == tmp_path 109 fn = tmp_path / "foo.py" 116 fn = tmp_path / "foo.py" [all …]
|
H A D | test_tmpdir.py | 49 def test_mktemp(self, tmp_path): argument 62 monkeypatch.chdir(tmp_path) 249 def test_make(self, tmp_path): argument 293 self.test_make(tmp_path) 295 root=tmp_path, 302 self._do_cleanup(tmp_path) 321 self._do_cleanup(tmp_path) 331 def test_rm_rf(self, tmp_path): argument 332 adir = tmp_path / "adir" 364 adir = tmp_path / "dir" [all …]
|
/dports/devel/py-jupyter-packaging/jupyter_packaging-0.11.1/tests/ |
H A D | test_build_api.py | 42 os.chdir(tmp_path) 44 build_wheel(tmp_path) 49 os.chdir(tmp_path) 53 build_wheel(tmp_path) 60 build_wheel(tmp_path) 66 os.chdir(tmp_path) 76 os.chdir(tmp_path) 78 build_wheel(tmp_path) 83 os.chdir(tmp_path) 94 os.chdir(tmp_path) [all …]
|
/dports/archivers/py-rarfile/rarfile-4.0/test/ |
H A D | test_extract.py | 65 def check_subdir(rf, tmp_path): argument 67 ext1 = tmp_path / "ext1" 76 ext2 = tmp_path / "ext2" 84 ext3 = tmp_path / "ext3" 90 ext4 = tmp_path / "ext4" 96 ext5 = tmp_path / "ext5" 104 ext6 = tmp_path / "ext6" 125 def test_subdirs(fn, tmp_path): argument 141 rf.extractall(tmp_path) 155 def test_symlink(fn, tmp_path): argument [all …]
|
/dports/textproc/py-ocrmypdf/ocrmypdf-12.7.2/tests/ |
H A D | test_helpers.py | 24 helpers.safe_symlink(tmp_path / 'self', tmp_path / 'self') 30 helpers.safe_symlink(tmp_path / 'input', tmp_path / 'regular_file') 36 (tmp_path / 'link').symlink_to(tmp_path / 'regular_file_a') 37 helpers.safe_symlink(tmp_path / 'regular_file_b', tmp_path / 'link') 38 assert (tmp_path / 'link').samefile(tmp_path / 'regular_file_b') or ( 39 tmp_path / 'link' 72 return tmp_path / 'nofile' 76 basic = tmp_path / 'basic' 85 loop = tmp_path / 'loop' 106 def test_shim_paths(tmp_path): argument [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python-pytest/onnx/ |
H A D | test_operators.py | 92 def test_onnx_export_abs(tmp_path): argument 95 op_export_test('abs', M, [x], tmp_path) 105 op_export_test('slice', M, [x], tmp_path) 108 def test_onnx_export_stack(tmp_path): argument 112 op_export_test('stack', M, [x, y], tmp_path) 245 def test_onnx_export_reshape(tmp_path, dtype): argument 342 def test_onnx_export_Concat(tmp_path, dtype): argument 445 op_export_test('Cast', M, [x], tmp_path) 620 op_export_test('topk', M, [A], tmp_path) 1056 def test_onnx_export_log2(tmp_path, dtype): argument [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python-pytest/onnx/ |
H A D | test_operators.py | 92 def test_onnx_export_abs(tmp_path): argument 95 op_export_test('abs', M, [x], tmp_path) 105 op_export_test('slice', M, [x], tmp_path) 108 def test_onnx_export_stack(tmp_path): argument 112 op_export_test('stack', M, [x, y], tmp_path) 245 def test_onnx_export_reshape(tmp_path, dtype): argument 342 def test_onnx_export_Concat(tmp_path, dtype): argument 445 op_export_test('Cast', M, [x], tmp_path) 620 op_export_test('topk', M, [A], tmp_path) 1056 def test_onnx_export_log2(tmp_path, dtype): argument [all …]
|
/dports/devel/py-jupyter-server/jupyter_server-1.12.1/jupyter_server/tests/ |
H A D | test_serverapp.py | 64 def valid_root_dir(tmp_path, request): argument 254 path = str(tmp_path) 262 path = str(tmp_path) 272 path = str(tmp_path) 281 path = str(tmp_path) 290 path = str(tmp_path) 301 path = str(tmp_path / "subdir") 303 not_subdir_path = str(tmp_path) 312 path = str(tmp_path / "subdir") 324 path = str(tmp_path) [all …]
|
/dports/sysutils/py-salt/salt-3004.1/tests/pytests/functional/states/file/ |
H A D | test__check_directory_win.py | 19 path = str(tmp_path) 26 path = str(tmp_path) 47 path = str(tmp_path) 62 path = str(tmp_path) 83 path = str(tmp_path) 107 path = str(tmp_path) 116 path = str(tmp_path) 137 path = str(tmp_path) 152 path = str(tmp_path) 173 path = str(tmp_path) [all …]
|
/dports/devel/py-pygit2/pygit2-1.7.1/test/ |
H A D | conftest.py | 28 def barerepo(tmp_path): argument 29 with utils.TemporaryRepository('testrepo.git', tmp_path) as path: 34 def barerepo_path(tmp_path): argument 40 def blameflagsrepo(tmp_path): argument 46 def dirtyrepo(tmp_path): argument 52 def emptyrepo(tmp_path): argument 57 def encodingrepo(tmp_path): argument 63 def mergerepo(tmp_path): argument 69 def testrepo(tmp_path): argument 75 def testrepo_path(tmp_path): argument [all …]
|
/dports/devel/py-anyio/anyio-3.4.0/tests/ |
H A D | test_fileio.py | 54 path = tmp_path / 'testdata' 67 subdir = tmp_path / 'subdir' 71 return tmp_path 214 path = tmp_path / 'somedir' 222 path = tmp_path / 'somefifo' 228 path = tmp_path / 'somefile' 253 path = tmp_path / 'testfile' 312 target = tmp_path / 'link' 341 path = tmp_path / 'testdir' 403 path = tmp_path / 'somedir' [all …]
|
/dports/math/py-yt/yt-4.0.1/yt/tests/ |
H A D | test_load_errors.py | 14 def tmp_data_dir(tmp_path): argument 18 ytcfg.set("yt", "test_data_dir", str(tmp_path)) 20 yield tmp_path 26 def test_load_not_a_file(tmp_path): argument 28 load(tmp_path / "not_a_file") 43 def tmp_path_with_empty_file(tmp_path): argument 44 empty_file_path = tmp_path / "empty_file" 46 return tmp_path, empty_file_path 52 load(tmp_path) 76 def test_load_ambiguous_data(tmp_path): argument [all …]
|
/dports/devel/py-flit/flit-3.5.1/flit_core/flit_core/tests/ |
H A D | test_build_thyself.py | 24 def test_prepare_metadata(tmp_path): argument 25 tmp_path = str(tmp_path) 30 dist_info = osp.join(tmp_path, dist_info) 37 def test_wheel(tmp_path, cwd_project): argument 38 tmp_path = str(tmp_path) 39 filename = build_thyself.build_wheel(tmp_path) 43 path = osp.join(tmp_path, filename) 48 def test_sdist(tmp_path, cwd_project): argument 49 tmp_path = str(tmp_path) 50 filename = build_thyself.build_sdist(tmp_path) [all …]
|
/dports/devel/py-flit-core/flit_core-3.5.1/flit_core/tests/ |
H A D | test_build_thyself.py | 24 def test_prepare_metadata(tmp_path): argument 25 tmp_path = str(tmp_path) 30 dist_info = osp.join(tmp_path, dist_info) 37 def test_wheel(tmp_path, cwd_project): argument 38 tmp_path = str(tmp_path) 39 filename = build_thyself.build_wheel(tmp_path) 43 path = osp.join(tmp_path, filename) 48 def test_sdist(tmp_path, cwd_project): argument 49 tmp_path = str(tmp_path) 50 filename = build_thyself.build_sdist(tmp_path) [all …]
|
/dports/graphics/py-pyproj/pyproj-3.2.1/test/ |
H A D | test_sync.py | 91 def test_sha256sum(tmp_path): argument 92 test_file = tmp_path / "test.file" 111 directory=tmp_path, 121 expected_file = tmp_path / "test_file.txt" 139 expected_file = tmp_path / "test_file.txt" 154 directory=str(tmp_path), 160 assert not tmp_path.joinpath("test_file.txt").exists() 173 directory=tmp_path, 179 assert not tmp_path.joinpath("test_file.txt").exists() 188 tmp_path.joinpath("files.geojson").touch() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/python/mozbuild/mozbuild/test/ |
H A D | test_util_fileavoidwrite.py | 16 def tmp_path(tmpdir): function 21 def test_overwrite_contents(tmp_path): argument 22 file = tmp_path / "file.txt" 33 file = tmp_path / "file.txt" 43 file = tmp_path / "file.dat" 54 file = tmp_path / "file.txt" 63 file = tmp_path / "file.txt" 75 file = tmp_path / "file.txt" 82 def test_diff_update(tmp_path): argument 99 def test_write_unicode(tmp_path): argument [all …]
|
/dports/www/firefox/firefox-99.0/python/mozbuild/mozbuild/test/ |
H A D | test_util_fileavoidwrite.py | 16 def tmp_path(tmpdir): function 21 def test_overwrite_contents(tmp_path): argument 22 file = tmp_path / "file.txt" 33 file = tmp_path / "file.txt" 43 file = tmp_path / "file.dat" 54 file = tmp_path / "file.txt" 63 file = tmp_path / "file.txt" 75 file = tmp_path / "file.txt" 82 def test_diff_update(tmp_path): argument 99 def test_write_unicode(tmp_path): argument [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/python/mozbuild/mozbuild/test/ |
H A D | test_util_fileavoidwrite.py | 16 def tmp_path(tmpdir): function 21 def test_overwrite_contents(tmp_path): argument 22 file = tmp_path / "file.txt" 33 file = tmp_path / "file.txt" 43 file = tmp_path / "file.dat" 54 file = tmp_path / "file.txt" 63 file = tmp_path / "file.txt" 75 file = tmp_path / "file.txt" 82 def test_diff_update(tmp_path): argument 99 def test_write_unicode(tmp_path): argument [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/python/mozbuild/mozbuild/test/ |
H A D | test_util_fileavoidwrite.py | 15 def tmp_path(tmpdir): function 20 def test_overwrite_contents(tmp_path): argument 21 file = tmp_path / "file.txt" 32 file = tmp_path / "file.txt" 42 file = tmp_path / "file.dat" 53 file = tmp_path / "file.txt" 62 file = tmp_path / "file.txt" 74 file = tmp_path / "file.txt" 81 def test_diff_update(tmp_path): argument 98 def test_write_unicode(tmp_path): argument [all …]
|
/dports/devel/py-pytest/pytest-4.6.11/testing/ |
H A D | test_tmpdir.py | 51 def test_mktemp(self, tmp_path): argument 55 config = FakeConfig(tmp_path) 69 monkeypatch.chdir(tmp_path) 243 def test_make(self, tmp_path): argument 293 self.test_make(tmp_path) 297 root=tmp_path, 304 self._do_cleanup(tmp_path) 326 self._do_cleanup(tmp_path) 339 adir = tmp_path / "adir" 375 adir = tmp_path / "dir" [all …]
|