🐍 Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
rename directory: `test` -> `tests` (#2743)
João Gustavo A. Amorim3f9829b339e1
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 55f0e9d8a..f0013f28b 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -73,7 +73,7 @@ jobs:name: Run CPU tests ${{ inputs.pytorch-dtype }}continue-on-error: ${{ inputs.continue-on-error }}shell: bash -l {0}- run: pytest -v --device cpu --dtype ${{ inputs.pytorch-dtype }} ${{ inputs.pytest-extra }} ./test+ run: pytest -v --device cpu --dtype ${{ inputs.pytorch-dtype }} ${{ inputs.pytest-extra }} ./tests/- if: ${{ inputs.coverage }}name: Run CPU tests coverage ${{ inputs.pytorch-dtype }}@@ -81,7 +81,7 @@ jobs:shell: bash -l {0}run: |coverage erase- coverage run -m pytest -v --device cpu --dtype ${{ inputs.pytorch-dtype }} ${{ inputs.pytest-extra }} ./test+ coverage run -m pytest -v --device cpu --dtype ${{ inputs.pytorch-dtype }} ${{ inputs.pytest-extra }} ./tests/- if: ${{ inputs.coverage }}name: Coverage reportdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 665d9e7ca..ef3a46c06 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -128,7 +128,7 @@ repository under your GitHub account.As you develop your code, you should also create test cases for your code. As well as, In addition to ensuring thatthe other tests continue to pass. You can run the tests with:```bash- $ pytest test/<TEST_TO_RUN>.py --dtype=float32,float64 --device=all+ $ pytest tests/<TEST_TO_RUN>.py --dtype=float32,float64 --device=all```With the `dtype` argument, run the tests using tensors with all `dtypes` desired. Options: `bfloat16`, `float16`,`float32`, `float64`, and `all`.diff --git a/Makefile b/Makefileindex 220311b37..1e4822429 100644--- a/Makefile+++ b/Makefile@@ -3,19 +3,19 @@test: mypy lint build-docs test-alltest-all: FORCE- pytest -v --device all --dtype all --cov=kornia test/+ pytest -v --device all --dtype all --cov=kornia tests/test-cpu: FORCE- pytest -v --device cpu --dtype all --cov=kornia test/+ pytest -v --device cpu --dtype all --cov=kornia tests/test-cuda: FORCE- pytest -v --device cuda --dtype all --cov=kornia test/+ pytest -v --device cuda --dtype all --cov=kornia tests/test-mps: FORCE- pytest -v --device mps --dtype float32 -k "not (grad or exception or jit or dynamo)" test/+ pytest -v --device mps --dtype float32 -k "not (grad or exception or jit or dynamo)" tests/test-module: FORCE- pytest -v --device all --dtype all test/$(module)+ pytest -v --device all --dtype all tests/$(module)test-jit: FORCEpytest -v --device all --dtype all -m jit@@ -33,7 +33,7 @@ test-slow: FORCEpytest -v --device all --dtype all -m "(jit or grad or nn)"test-coverage: FORCE- coverage erase && coverage run --source kornia/ -m pytest --device=all --dtype float32,float64 test/ && coverage report+ coverage erase && coverage run --source kornia/ -m pytest --device=all --dtype float32,float64 tests/ && coverage reportlint: FORCEpre-commit run ruff --all-files@@ -57,7 +57,7 @@ install-dev: FORCEpython setup.py developbenchmark: FORCE- for f in test/performance/*.py ; do python -utt $${f}; done+ for f in tests/performance/*.py ; do python -utt $${f}; doneuninstall: FORCEpip uninstall korniadiff --git a/docker/tpu-tests/tpu_test_cases.jsonnet b/docker/tpu-tests/tpu_test_cases.jsonnetindex b7bd817e3..981da077e 100644--- a/docker/tpu-tests/tpu_test_cases.jsonnet+++ b/docker/tpu-tests/tpu_test_cases.jsonnet@@ -23,7 +23,7 @@ local tputests = base.BaseTest {python -c "import torch; print(torch.__version__)"python -c "import torch_xla; print(torch_xla.__version__)"python -c "import kornia; print(kornia.__version__)"- pytest -v kornia/test/color kornia/test/enhance kornia/test/filters kornia/test/test_losses.py --device tpu --dtype float32 -k "not grad"+ pytest -v kornia/tests/color kornia/tests/enhance kornia/tests/filters kornia/tests/test_losses.py --device tpu --dtype float32 -k "not grad"test_exit_code=$?echo "\nFinished running commands.\n"test $test_exit_code -eq 0diff --git a/pyproject.toml b/pyproject.tomlindex 0acfa13b2..d2f698429 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -163,11 +163,10 @@ requires = ["docs/*" = ["S101", "PLR0912", "PLR0915"] # allow assert, ignore max branches and statements"docs/generate_examples.py" = ["C901"] # Allow too complex function"kornia/__init__.py" = ["I001"] # Allow unsorted imports- "test/*" = ["S101", "S311", "BLE", "RUF012", "RUF005"] # allow assert, random, ignore BLE, mutable class attr+ "tests/*" = ["S101", "S311", "BLE", "RUF012", "RUF005"] # allow assert, random, ignore BLE, mutable class attr[tool.pytest.ini_options]addopts = "--color=yes"- testpaths = ["test"]markers =["grad: mark a test as gradcheck test","jit: mark a test as torchscript test",diff --git a/test/__init__.py b/tests/__init__.pysimilarity index 100%rename from test/__init__.pyrename to tests/__init__.pydiff --git a/test/augmentation/test_augmentation.py b/tests/augmentation/test_augmentation.pysimilarity index 100%rename from test/augmentation/test_augmentation.pyrename to tests/augmentation/test_augmentation.pydiff --git a/test/augmentation/test_augmentation_3d.py b/tests/augmentation/test_augmentation_3d.pysimilarity index 100%rename from test/augmentation/test_augmentation_3d.pyrename to tests/augmentation/test_augmentation_3d.pydiff --git a/test/augmentation/test_augmentation_mix.py b/tests/augmentation/test_augmentation_mix.pysimilarity index 100%rename from test/augmentation/test_augmentation_mix.pyrename to tests/augmentation/test_augmentation_mix.pydiff --git a/test/augmentation/test_auto_operation.py b/tests/augmentation/test_auto_operation.pysimilarity index 98%rename from test/augmentation/test_auto_operation.pyrename to tests/augmentation/test_auto_operation.pyindex 5c1848694..2635193a8 100644--- a/test/augmentation/test_auto_operation.py+++ b/tests/augmentation/test_auto_operation.py@@ -13,7 +13,7 @@ from kornia.augmentation.container import AugmentationSequentialfrom kornia.geometry.bbox import bbox_to_maskfrom kornia.testing import assert_closefrom kornia.utils._compat import torch_version-from test.augmentation.test_container import reproducibility_test+from tests.augmentation.test_container import reproducibility_testdef _find_all_ops() -> List[OperationBase]:diff --git a/test/augmentation/test_backward.py b/tests/augmentation/test_backward.pysimilarity index 100%rename from test/augmentation/test_backward.pyrename to tests/augmentation/test_backward.pydiff --git a/test/augmentation/test_backward_3d.py b/tests/augmentation/test_backward_3d.pysimilarity index 100%rename from test/augmentation/test_backward_3d.pyrename to tests/augmentation/test_backward_3d.pydiff --git a/test/augmentation/test_base.py b/tests/augmentation/test_base.pysimilarity index 100%rename from test/augmentation/test_base.pyrename to tests/augmentation/test_base.pydiff --git a/test/augmentation/test_container.py b/tests/augmentation/test_container.pysimilarity index 100%rename from test/augmentation/test_container.pyrename to tests/augmentation/test_container.pydiff --git a/test/augmentation/test_dist_mapper.py b/tests/augmentation/test_dist_mapper.pysimilarity index 100%rename from test/augmentation/test_dist_mapper.pyrename to tests/augmentation/test_dist_mapper.pydiff --git a/test/augmentation/test_motionblur.py b/tests/augmentation/test_motionblur.pysimilarity index 100%rename from test/augmentation/test_motionblur.pyrename to tests/augmentation/test_motionblur.pydiff --git a/test/augmentation/test_perspective_rand.py b/tests/augmentation/test_perspective_rand.pysimilarity index 100%rename from test/augmentation/test_perspective_rand.pyrename to tests/augmentation/test_perspective_rand.pydiff --git a/test/augmentation/test_random_generator.py b/tests/augmentation/test_random_generator.pysimilarity index 100%rename from test/augmentation/test_random_generator.pyrename to tests/augmentation/test_random_generator.pydiff --git a/test/augmentation/test_random_generator_3d.py b/tests/augmentation/test_random_generator_3d.pysimilarity index 100%rename from test/augmentation/test_random_generator_3d.pyrename to tests/augmentation/test_random_generator_3d.pydiff --git a/test/benchmark.py b/tests/benchmark.pysimilarity index 100%rename from test/benchmark.pyrename to tests/benchmark.pydiff --git a/test/color/test_colormap.py b/tests/color/test_colormap.pysimilarity index 100%rename from test/color/test_colormap.pyrename to tests/color/test_colormap.pydiff --git a/test/color/test_gray.py b/tests/color/test_gray.pysimilarity index 100%rename from test/color/test_gray.pyrename to tests/color/test_gray.pydiff --git a/test/color/test_hls.py b/tests/color/test_hls.pysimilarity index 100%rename from test/color/test_hls.pyrename to tests/color/test_hls.pydiff --git a/test/color/test_hsv.py b/tests/color/test_hsv.pysimilarity index 100%rename from test/color/test_hsv.pyrename to tests/color/test_hsv.pydiff --git a/test/color/test_lab.py b/tests/color/test_lab.pysimilarity index 100%rename from test/color/test_lab.pyrename to tests/color/test_lab.pydiff --git a/test/color/test_luv.py b/tests/color/test_luv.pysimilarity index 100%rename from test/color/test_luv.pyrename to tests/color/test_luv.pydiff --git a/test/color/test_raw.py b/tests/color/test_raw.pysimilarity index 100%rename from test/color/test_raw.pyrename to tests/color/test_raw.pydiff --git a/test/color/test_rgb.py b/tests/color/test_rgb.pysimilarity index 100%rename from test/color/test_rgb.pyrename to tests/color/test_rgb.pydiff --git a/test/color/test_sepia.py b/tests/color/test_sepia.pysimilarity index 100%rename from test/color/test_sepia.pyrename to tests/color/test_sepia.pydiff --git a/test/color/test_xyz.py b/tests/color/test_xyz.pysimilarity index 100%rename from test/color/test_xyz.pyrename to tests/color/test_xyz.pydiff --git a/test/color/test_ycbcr.py b/tests/color/test_ycbcr.pysimilarity index 100%rename from test/color/test_ycbcr.pyrename to tests/color/test_ycbcr.pydiff --git a/test/color/test_yuv.py b/tests/color/test_yuv.pysimilarity index 100%rename from test/color/test_yuv.pyrename to tests/color/test_yuv.pydiff --git a/test/contrib/__init__.py b/tests/contrib/__init__.pysimilarity index 100%rename from test/contrib/__init__.pyrename to tests/contrib/__init__.pydiff --git a/test/contrib/models/__init__.py b/tests/contrib/models/__init__.pysimilarity index 100%rename from test/contrib/models/__init__.pyrename to tests/contrib/models/__init__.pydiff --git a/test/contrib/models/test_efficient_vit.py b/tests/contrib/models/test_efficient_vit.pysimilarity index 100%rename from test/contrib/models/test_efficient_vit.pyrename to tests/contrib/models/test_efficient_vit.pydiff --git a/test/contrib/models/test_rt_detr.py b/tests/contrib/models/test_rt_detr.pysimilarity index 100%rename from test/contrib/models/test_rt_detr.pyrename to tests/contrib/models/test_rt_detr.pydiff --git a/test/contrib/models/test_sam.py b/tests/contrib/models/test_sam.pysimilarity index 100%rename from test/contrib/models/test_sam.pyrename to tests/contrib/models/test_sam.pydiff --git a/test/contrib/models/test_tiny_vit.py b/tests/contrib/models/test_tiny_vit.pysimilarity index 100%rename from test/contrib/models/test_tiny_vit.pyrename to tests/contrib/models/test_tiny_vit.pydiff --git a/test/contrib/test_contrib.py b/tests/contrib/test_contrib.pysimilarity index 100%rename from test/contrib/test_contrib.pyrename to tests/contrib/test_contrib.pydiff --git a/test/contrib/test_prompter.py b/tests/contrib/test_prompter.pysimilarity index 100%rename from test/contrib/test_prompter.pyrename to tests/contrib/test_prompter.pydiff --git a/test/core/test_check.py b/tests/core/test_check.pysimilarity index 100%rename from test/core/test_check.pyrename to tests/core/test_check.pydiff --git a/test/core/test_tensor_wrapper.py b/tests/core/test_tensor_wrapper.pysimilarity index 100%rename from test/core/test_tensor_wrapper.pyrename to tests/core/test_tensor_wrapper.pydiff --git a/test/enhance/test_adjust.py b/tests/enhance/test_adjust.pysimilarity index 100%rename from test/enhance/test_adjust.pyrename to tests/enhance/test_adjust.pydiff --git a/test/enhance/test_core.py b/tests/enhance/test_core.pysimilarity index 100%rename from test/enhance/test_core.pyrename to tests/enhance/test_core.pydiff --git a/test/enhance/test_equalization.py b/tests/enhance/test_equalization.pysimilarity index 100%rename from test/enhance/test_equalization.pyrename to tests/enhance/test_equalization.pydiff --git a/test/enhance/test_histogram.py b/tests/enhance/test_histogram.pysimilarity index 100%rename from test/enhance/test_histogram.pyrename to tests/enhance/test_histogram.pydiff --git a/test/enhance/test_integral.py b/tests/enhance/test_integral.pysimilarity index 100%rename from test/enhance/test_integral.pyrename to tests/enhance/test_integral.pydiff --git a/test/enhance/test_normalize.py b/tests/enhance/test_normalize.pysimilarity index 100%rename from test/enhance/test_normalize.pyrename to tests/enhance/test_normalize.pydiff --git a/test/enhance/test_shift_rgb.py b/tests/enhance/test_shift_rgb.pysimilarity index 100%rename from test/enhance/test_shift_rgb.pyrename to tests/enhance/test_shift_rgb.pydiff --git a/test/enhance/test_zca.py b/tests/enhance/test_zca.pysimilarity index 100%rename from test/enhance/test_zca.pyrename to tests/enhance/test_zca.pydiff --git a/test/feature/test_affine_shape_estimator.py b/tests/feature/test_affine_shape_estimator.pysimilarity index 100%rename from test/feature/test_affine_shape_estimator.pyrename to tests/feature/test_affine_shape_estimator.pydiff --git a/test/feature/test_defmo.py b/tests/feature/test_defmo.pysimilarity index 100%rename from test/feature/test_defmo.pyrename to tests/feature/test_defmo.pydiff --git a/test/feature/test_disk.py b/tests/feature/test_disk.pysimilarity index 100%rename from test/feature/test_disk.pyrename to tests/feature/test_disk.pydiff --git a/test/feature/test_hardnet.py b/tests/feature/test_hardnet.pysimilarity index 100%rename from test/feature/test_hardnet.pyrename to tests/feature/test_hardnet.pydiff --git a/test/feature/test_hynet.py b/tests/feature/test_hynet.pysimilarity index 100%rename from test/feature/test_hynet.pyrename to tests/feature/test_hynet.pydiff --git a/test/feature/test_integrated.py b/tests/feature/test_integrated.pysimilarity index 100%rename from test/feature/test_integrated.pyrename to tests/feature/test_integrated.pydiff --git a/test/feature/test_keynet.py b/tests/feature/test_keynet.pysimilarity index 100%rename from test/feature/test_keynet.pyrename to tests/feature/test_keynet.pydiff --git a/test/feature/test_laf.py b/tests/feature/test_laf.pysimilarity index 100%rename from test/feature/test_laf.pyrename to tests/feature/test_laf.pydiff --git a/test/feature/test_lightglue_onnx.py b/tests/feature/test_lightglue_onnx.pysimilarity index 100%rename from test/feature/test_lightglue_onnx.pyrename to tests/feature/test_lightglue_onnx.pydiff --git a/test/feature/test_local_features_orientation.py b/tests/feature/test_local_features_orientation.pysimilarity index 100%rename from test/feature/test_local_features_orientation.pyrename to tests/feature/test_local_features_orientation.pydiff --git a/test/feature/test_loftr.py b/tests/feature/test_loftr.pysimilarity index 100%rename from test/feature/test_loftr.pyrename to tests/feature/test_loftr.pydiff --git a/test/feature/test_matching.py b/tests/feature/test_matching.pysimilarity index 100%rename from test/feature/test_matching.pyrename to tests/feature/test_matching.pydiff --git a/test/feature/test_mkd.py b/tests/feature/test_mkd.pysimilarity index 100%rename from test/feature/test_mkd.pyrename to tests/feature/test_mkd.pydiff --git a/test/feature/test_responces_local_features.py b/tests/feature/test_responces_local_features.pysimilarity index 100%rename from test/feature/test_responces_local_features.pyrename to tests/feature/test_responces_local_features.pydiff --git a/test/feature/test_scale_space_detector.py b/tests/feature/test_scale_space_detector.pysimilarity index 100%rename from test/feature/test_scale_space_detector.pyrename to tests/feature/test_scale_space_detector.pydiff --git a/test/feature/test_siftdesc.py b/tests/feature/test_siftdesc.pysimilarity index 100%rename from test/feature/test_siftdesc.pyrename to tests/feature/test_siftdesc.pydiff --git a/test/feature/test_sold2.py b/tests/feature/test_sold2.pysimilarity index 100%rename from test/feature/test_sold2.pyrename to tests/feature/test_sold2.pydiff --git a/test/feature/test_sosnet.py b/tests/feature/test_sosnet.pysimilarity index 100%rename from test/feature/test_sosnet.pyrename to tests/feature/test_sosnet.pydiff --git a/test/feature/test_tfeat.py b/tests/feature/test_tfeat.pysimilarity index 100%rename from test/feature/test_tfeat.pyrename to tests/feature/test_tfeat.pydiff --git a/test/filters/test_bilateral.py b/tests/filters/test_bilateral.pysimilarity index 100%rename from test/filters/test_bilateral.pyrename to tests/filters/test_bilateral.pydiff --git a/test/filters/test_blur.py b/tests/filters/test_blur.pysimilarity index 100%rename from test/filters/test_blur.pyrename to tests/filters/test_blur.pydiff --git a/test/filters/test_blur_pool.py b/tests/filters/test_blur_pool.pysimilarity index 100%rename from test/filters/test_blur_pool.pyrename to tests/filters/test_blur_pool.pydiff --git a/test/filters/test_canny.py b/tests/filters/test_canny.pysimilarity index 100%rename from test/filters/test_canny.pyrename to tests/filters/test_canny.pydiff --git a/test/filters/test_filters.py b/tests/filters/test_filters.pysimilarity index 100%rename from test/filters/test_filters.pyrename to tests/filters/test_filters.pydiff --git a/test/filters/test_gaussian.py b/tests/filters/test_gaussian.pysimilarity index 100%rename from test/filters/test_gaussian.pyrename to tests/filters/test_gaussian.pydiff --git a/test/filters/test_guided.py b/tests/filters/test_guided.pysimilarity index 100%rename from test/filters/test_guided.pyrename to tests/filters/test_guided.pydiff --git a/test/filters/test_hanning.py b/tests/filters/test_hanning.pysimilarity index 100%rename from test/filters/test_hanning.pyrename to tests/filters/test_hanning.pydiff --git a/test/filters/test_laplacian.py b/tests/filters/test_laplacian.pysimilarity index 100%rename from test/filters/test_laplacian.pyrename to tests/filters/test_laplacian.pydiff --git a/test/filters/test_median.py b/tests/filters/test_median.pysimilarity index 100%rename from test/filters/test_median.pyrename to tests/filters/test_median.pydiff --git a/test/filters/test_motion.py b/tests/filters/test_motion.pysimilarity index 100%rename from test/filters/test_motion.pyrename to tests/filters/test_motion.pydiff --git a/test/filters/test_sobel.py b/tests/filters/test_sobel.pysimilarity index 100%rename from test/filters/test_sobel.pyrename to tests/filters/test_sobel.pydiff --git a/test/filters/test_unsharp_mask.py b/tests/filters/test_unsharp_mask.pysimilarity index 100%rename from test/filters/test_unsharp_mask.pyrename to tests/filters/test_unsharp_mask.pydiff --git a/test/geometry/__init__.py b/tests/geometry/__init__.pysimilarity index 100%rename from test/geometry/__init__.pyrename to tests/geometry/__init__.pydiff --git a/test/geometry/calibration/test_distort.py b/tests/geometry/calibration/test_distort.pysimilarity index 100%rename from test/geometry/calibration/test_distort.pyrename to tests/geometry/calibration/test_distort.pydiff --git a/test/geometry/calibration/test_pnp.py b/tests/geometry/calibration/test_pnp.pysimilarity index 100%rename from test/geometry/calibration/test_pnp.pyrename to tests/geometry/calibration/test_pnp.pydiff --git a/test/geometry/calibration/test_undistort.py b/tests/geometry/calibration/test_undistort.pysimilarity index 100%rename from test/geometry/calibration/test_undistort.pyrename to tests/geometry/calibration/test_undistort.pydiff --git a/test/geometry/camera/test_distortion.py b/tests/geometry/camera/test_distortion.pysimilarity index 100%rename from test/geometry/camera/test_distortion.pyrename to tests/geometry/camera/test_distortion.pydiff --git a/test/geometry/camera/test_perspective.py b/tests/geometry/camera/test_perspective.pysimilarity index 100%rename from test/geometry/camera/test_perspective.pyrename to tests/geometry/camera/test_perspective.pydiff --git a/test/geometry/camera/test_pinhole.py b/tests/geometry/camera/test_pinhole.pysimilarity index 100%rename from test/geometry/camera/test_pinhole.pyrename to tests/geometry/camera/test_pinhole.pydiff --git a/test/geometry/camera/test_projections.py b/tests/geometry/camera/test_projections.pysimilarity index 100%rename from test/geometry/camera/test_projections.pyrename to tests/geometry/camera/test_projections.pydiff --git a/test/geometry/camera/test_stereo.py b/tests/geometry/camera/test_stereo.pysimilarity index 100%rename from test/geometry/camera/test_stereo.pyrename to tests/geometry/camera/test_stereo.pydiff --git a/test/geometry/epipolar/test_common.py b/tests/geometry/epipolar/test_common.pysimilarity index 100%rename from test/geometry/epipolar/test_common.pyrename to tests/geometry/epipolar/test_common.pydiff --git a/test/geometry/epipolar/test_epipolar_metrics.py b/tests/geometry/epipolar/test_epipolar_metrics.pysimilarity index 100%rename from test/geometry/epipolar/test_epipolar_metrics.pyrename to tests/geometry/epipolar/test_epipolar_metrics.pydiff --git a/test/geometry/epipolar/test_essential.py b/tests/geometry/epipolar/test_essential.pysimilarity index 100%rename from test/geometry/epipolar/test_essential.pyrename to tests/geometry/epipolar/test_essential.pydiff --git a/test/geometry/epipolar/test_fundamental.py b/tests/geometry/epipolar/test_fundamental.pysimilarity index 100%rename from test/geometry/epipolar/test_fundamental.pyrename to tests/geometry/epipolar/test_fundamental.pydiff --git a/test/geometry/epipolar/test_numeric.py b/tests/geometry/epipolar/test_numeric.pysimilarity index 100%rename from test/geometry/epipolar/test_numeric.pyrename to tests/geometry/epipolar/test_numeric.pydiff --git a/test/geometry/epipolar/test_projection.py b/tests/geometry/epipolar/test_projection.pysimilarity index 100%rename from test/geometry/epipolar/test_projection.pyrename to tests/geometry/epipolar/test_projection.pydiff --git a/test/geometry/epipolar/test_triangulation.py b/tests/geometry/epipolar/test_triangulation.pysimilarity index 100%rename from test/geometry/epipolar/test_triangulation.pyrename to tests/geometry/epipolar/test_triangulation.pydiff --git a/test/geometry/liegroup/test_se2.py b/tests/geometry/liegroup/test_se2.pysimilarity index 100%rename from test/geometry/liegroup/test_se2.pyrename to tests/geometry/liegroup/test_se2.pydiff --git a/test/geometry/liegroup/test_se3.py b/tests/geometry/liegroup/test_se3.pysimilarity index 100%rename from test/geometry/liegroup/test_se3.pyrename to tests/geometry/liegroup/test_se3.pydiff --git a/test/geometry/liegroup/test_so2.py b/tests/geometry/liegroup/test_so2.pysimilarity index 100%rename from test/geometry/liegroup/test_so2.pyrename to tests/geometry/liegroup/test_so2.pydiff --git a/test/geometry/liegroup/test_so3.py b/tests/geometry/liegroup/test_so3.pysimilarity index 100%rename from test/geometry/liegroup/test_so3.pyrename to tests/geometry/liegroup/test_so3.pydiff --git a/test/geometry/solvers/test_polynomial_solver.py b/tests/geometry/solvers/test_polynomial_solver.pysimilarity index 100%rename from test/geometry/solvers/test_polynomial_solver.pyrename to tests/geometry/solvers/test_polynomial_solver.pydiff --git a/test/geometry/subpix/test_dsnt.py b/tests/geometry/subpix/test_dsnt.pysimilarity index 100%rename from test/geometry/subpix/test_dsnt.pyrename to tests/geometry/subpix/test_dsnt.pydiff --git a/test/geometry/subpix/test_nms.py b/tests/geometry/subpix/test_nms.pysimilarity index 100%rename from test/geometry/subpix/test_nms.pyrename to tests/geometry/subpix/test_nms.pydiff --git a/test/geometry/subpix/test_spatial_softargmax.py b/tests/geometry/subpix/test_spatial_softargmax.pysimilarity index 100%rename from test/geometry/subpix/test_spatial_softargmax.pyrename to tests/geometry/subpix/test_spatial_softargmax.pydiff --git a/test/geometry/test_bbox.py b/tests/geometry/test_bbox.pysimilarity index 100%rename from test/geometry/test_bbox.pyrename to tests/geometry/test_bbox.pydiff --git a/test/geometry/test_boxes.py b/tests/geometry/test_boxes.pysimilarity index 100%rename from test/geometry/test_boxes.pyrename to tests/geometry/test_boxes.pydiff --git a/test/geometry/test_conversions.py b/tests/geometry/test_conversions.pysimilarity index 100%rename from test/geometry/test_conversions.pyrename to tests/geometry/test_conversions.pydiff --git a/test/geometry/test_depth.py b/tests/geometry/test_depth.pysimilarity index 100%rename from test/geometry/test_depth.pyrename to tests/geometry/test_depth.pydiff --git a/test/geometry/test_depth_warper.py b/tests/geometry/test_depth_warper.pysimilarity index 100%rename from test/geometry/test_depth_warper.pyrename to tests/geometry/test_depth_warper.pydiff --git a/test/geometry/test_homography.py b/tests/geometry/test_homography.pysimilarity index 100%rename from test/geometry/test_homography.pyrename to tests/geometry/test_homography.pydiff --git a/test/geometry/test_linalg.py b/tests/geometry/test_linalg.pysimilarity index 100%rename from test/geometry/test_linalg.pyrename to tests/geometry/test_linalg.pydiff --git a/test/geometry/test_line.py b/tests/geometry/test_line.pysimilarity index 100%rename from test/geometry/test_line.pyrename to tests/geometry/test_line.pydiff --git a/test/geometry/test_plane.py b/tests/geometry/test_plane.pysimilarity index 100%rename from test/geometry/test_plane.pyrename to tests/geometry/test_plane.pydiff --git a/test/geometry/test_pose.py b/tests/geometry/test_pose.pysimilarity index 100%rename from test/geometry/test_pose.pyrename to tests/geometry/test_pose.pydiff --git a/test/geometry/test_quaternion.py b/tests/geometry/test_quaternion.pysimilarity index 100%rename from test/geometry/test_quaternion.pyrename to tests/geometry/test_quaternion.pydiff --git a/test/geometry/test_ransac.py b/tests/geometry/test_ransac.pysimilarity index 100%rename from test/geometry/test_ransac.pyrename to tests/geometry/test_ransac.pydiff --git a/test/geometry/test_vector.py b/tests/geometry/test_vector.pysimilarity index 100%rename from test/geometry/test_vector.pyrename to tests/geometry/test_vector.pydiff --git a/test/geometry/transform/test_affine.py b/tests/geometry/transform/test_affine.pysimilarity index 100%rename from test/geometry/transform/test_affine.pyrename to tests/geometry/transform/test_affine.pydiff --git a/test/geometry/transform/test_crop2d.py b/tests/geometry/transform/test_crop2d.pysimilarity index 100%rename from test/geometry/transform/test_crop2d.pyrename to tests/geometry/transform/test_crop2d.pydiff --git a/test/geometry/transform/test_crop3d.py b/tests/geometry/transform/test_crop3d.pysimilarity index 100%rename from test/geometry/transform/test_crop3d.pyrename to tests/geometry/transform/test_crop3d.pydiff --git a/test/geometry/transform/test_elastic_transform.py b/tests/geometry/transform/test_elastic_transform.pysimilarity index 100%rename from test/geometry/transform/test_elastic_transform.pyrename to tests/geometry/transform/test_elastic_transform.pydiff --git a/test/geometry/transform/test_flip.py b/tests/geometry/transform/test_flip.pysimilarity index 100%rename from test/geometry/transform/test_flip.pyrename to tests/geometry/transform/test_flip.pydiff --git a/test/geometry/transform/test_homography_warper.py b/tests/geometry/transform/test_homography_warper.pysimilarity index 100%rename from test/geometry/transform/test_homography_warper.pyrename to tests/geometry/transform/test_homography_warper.pydiff --git a/test/geometry/transform/test_image_registrator.py b/tests/geometry/transform/test_image_registrator.pysimilarity index 100%rename from test/geometry/transform/test_image_registrator.pyrename to tests/geometry/transform/test_image_registrator.pydiff --git a/test/geometry/transform/test_imgwarp.py b/tests/geometry/transform/test_imgwarp.pysimilarity index 100%rename from test/geometry/transform/test_imgwarp.pyrename to tests/geometry/transform/test_imgwarp.pydiff --git a/test/geometry/transform/test_imgwarp3d.py b/tests/geometry/transform/test_imgwarp3d.pysimilarity index 100%rename from test/geometry/transform/test_imgwarp3d.pyrename to tests/geometry/transform/test_imgwarp3d.pydiff --git a/test/geometry/transform/test_pyramid.py b/tests/geometry/transform/test_pyramid.pysimilarity index 100%rename from test/geometry/transform/test_pyramid.pyrename to tests/geometry/transform/test_pyramid.pydiff --git a/test/geometry/transform/test_thin_plate_spline.py b/tests/geometry/transform/test_thin_plate_spline.pysimilarity index 100%rename from test/geometry/transform/test_thin_plate_spline.pyrename to tests/geometry/transform/test_thin_plate_spline.pydiff --git a/test/grad_estimator/test_ste.py b/tests/grad_estimator/test_ste.pysimilarity index 100%rename from test/grad_estimator/test_ste.pyrename to tests/grad_estimator/test_ste.pydiff --git a/test/image/test_image.py b/tests/image/test_image.pysimilarity index 100%rename from test/image/test_image.pyrename to tests/image/test_image.pydiff --git a/test/integration/test_conversions.py b/tests/integration/test_conversions.pysimilarity index 100%rename from test/integration/test_conversions.pyrename to tests/integration/test_conversions.pydiff --git a/test/integration/test_focal.py b/tests/integration/test_focal.pysimilarity index 100%rename from test/integration/test_focal.pyrename to tests/integration/test_focal.pydiff --git a/test/integration/test_soft_argmax2d.py b/tests/integration/test_soft_argmax2d.pysimilarity index 100%rename from test/integration/test_soft_argmax2d.pyrename to tests/integration/test_soft_argmax2d.pydiff --git a/test/integration/test_warp.py b/tests/integration/test_warp.pysimilarity index 100%rename from test/integration/test_warp.pyrename to tests/integration/test_warp.pydiff --git a/test/io/test_io_image.py b/tests/io/test_io_image.pysimilarity index 100%rename from test/io/test_io_image.pyrename to tests/io/test_io_image.pydiff --git a/test/losses/test_hd.py b/tests/losses/test_hd.pysimilarity index 100%rename from test/losses/test_hd.pyrename to tests/losses/test_hd.pydiff --git a/test/losses/test_losses.py b/tests/losses/test_losses.pysimilarity index 100%rename from test/losses/test_losses.pyrename to tests/losses/test_losses.pydiff --git a/test/losses/test_ssim.py b/tests/losses/test_ssim.pysimilarity index 100%rename from test/losses/test_ssim.pyrename to tests/losses/test_ssim.pydiff --git a/test/morphology/test_bottom_hat.py b/tests/morphology/test_bottom_hat.pysimilarity index 100%rename from test/morphology/test_bottom_hat.pyrename to tests/morphology/test_bottom_hat.pydiff --git a/test/morphology/test_closing.py b/tests/morphology/test_closing.pysimilarity index 100%rename from test/morphology/test_closing.pyrename to tests/morphology/test_closing.pydiff --git a/test/morphology/test_dilation.py b/tests/morphology/test_dilation.pysimilarity index 100%rename from test/morphology/test_dilation.pyrename to tests/morphology/test_dilation.pydiff --git a/test/morphology/test_erosion.py b/tests/morphology/test_erosion.pysimilarity index 100%rename from test/morphology/test_erosion.pyrename to tests/morphology/test_erosion.pydiff --git a/test/morphology/test_gradient.py b/tests/morphology/test_gradient.pysimilarity index 100%rename from test/morphology/test_gradient.pyrename to tests/morphology/test_gradient.pydiff --git a/test/morphology/test_opening.py b/tests/morphology/test_opening.pysimilarity index 100%rename from test/morphology/test_opening.pyrename to tests/morphology/test_opening.pydiff --git a/test/morphology/test_top_hat.py b/tests/morphology/test_top_hat.pysimilarity index 100%rename from test/morphology/test_top_hat.pyrename to tests/morphology/test_top_hat.pydiff --git a/test/nerf/test_camera_utils.py b/tests/nerf/test_camera_utils.pysimilarity index 100%rename from test/nerf/test_camera_utils.pyrename to tests/nerf/test_camera_utils.pydiff --git a/test/nerf/test_data_utils.py b/tests/nerf/test_data_utils.pysimilarity index 97%rename from test/nerf/test_data_utils.pyrename to tests/nerf/test_data_utils.pyindex 74b76add4..5d3f47413 100755--- a/test/nerf/test_data_utils.py+++ b/tests/nerf/test_data_utils.py@@ -6,7 +6,7 @@ from kornia.core import Device, Tensorfrom kornia.geometry.camera import PinholeCamerafrom kornia.nerf.data_utils import RayDataset, instantiate_ray_dataloaderfrom kornia.testing import assert_close-from test.nerf.test_rays import create_four_cameras+from tests.nerf.test_rays import create_four_camerasdef create_random_images_for_cameras(cameras: PinholeCamera) -> list[Tensor]:diff --git a/test/nerf/test_nerf_model.py b/tests/nerf/test_nerf_model.pysimilarity index 100%rename from test/nerf/test_nerf_model.pyrename to tests/nerf/test_nerf_model.pydiff --git a/test/nerf/test_nerf_solver.py b/tests/nerf/test_nerf_solver.pysimilarity index 94%rename from test/nerf/test_nerf_solver.pyrename to tests/nerf/test_nerf_solver.pyindex a823be1ba..7a4e4bb52 100755--- a/test/nerf/test_nerf_solver.py+++ b/tests/nerf/test_nerf_solver.py@@ -6,8 +6,8 @@ from kornia.geometry.camera import PinholeCamerafrom kornia.nerf.nerf_model import NerfModelRendererfrom kornia.nerf.nerf_solver import NerfSolverfrom kornia.testing import assert_close-from test.nerf.test_data_utils import create_random_images_for_cameras, create_red_images_for_cameras-from test.nerf.test_rays import create_four_cameras, create_one_camera+from tests.nerf.test_data_utils import create_random_images_for_cameras, create_red_images_for_cameras+from tests.nerf.test_rays import create_four_cameras, create_one_cameraclass TestNerfSolver:diff --git a/test/nerf/test_positional_encoder.py b/tests/nerf/test_positional_encoder.pysimilarity index 100%rename from test/nerf/test_positional_encoder.pyrename to tests/nerf/test_positional_encoder.pydiff --git a/test/nerf/test_rays.py b/tests/nerf/test_rays.pysimilarity index 100%rename from test/nerf/test_rays.pyrename to tests/nerf/test_rays.pydiff --git a/test/nerf/test_renderer.py b/tests/nerf/test_renderer.pysimilarity index 100%rename from test/nerf/test_renderer.pyrename to tests/nerf/test_renderer.pydiff --git a/test/performance/test_imgwarp_speed.py b/tests/performance/test_imgwarp_speed.pysimilarity index 100%rename from test/performance/test_imgwarp_speed.pyrename to tests/performance/test_imgwarp_speed.pydiff --git a/test/performance/test_project_points_speed.py b/tests/performance/test_project_points_speed.pysimilarity index 100%rename from test/performance/test_project_points_speed.pyrename to tests/performance/test_project_points_speed.pydiff --git a/test/sensors/camera/test_camera_model.py b/tests/sensors/camera/test_camera_model.pysimilarity index 100%rename from test/sensors/camera/test_camera_model.pyrename to tests/sensors/camera/test_camera_model.pydiff --git a/test/sensors/camera/test_distortion_model.py b/tests/sensors/camera/test_distortion_model.pysimilarity index 100%rename from test/sensors/camera/test_distortion_model.pyrename to tests/sensors/camera/test_distortion_model.pydiff --git a/test/sensors/camera/test_projection_model.py b/tests/sensors/camera/test_projection_model.pysimilarity index 100%rename from test/sensors/camera/test_projection_model.pyrename to tests/sensors/camera/test_projection_model.pydiff --git a/test/smoke_test.py b/tests/smoke_test.pysimilarity index 100%rename from test/smoke_test.pyrename to tests/smoke_test.pydiff --git a/test/test_metrics.py b/tests/test_metrics.pysimilarity index 100%rename from test/test_metrics.pyrename to tests/test_metrics.pydiff --git a/test/tracking/test_planar_tracking.py b/tests/tracking/test_planar_tracking.pysimilarity index 100%rename from test/tracking/test_planar_tracking.pyrename to tests/tracking/test_planar_tracking.pydiff --git a/test/utils/test_draw.py b/tests/utils/test_draw.pysimilarity index 100%rename from test/utils/test_draw.pyrename to tests/utils/test_draw.pydiff --git a/test/utils/test_grid.py b/tests/utils/test_grid.pysimilarity index 100%rename from test/utils/test_grid.pyrename to tests/utils/test_grid.pydiff --git a/test/utils/test_helpers.py b/tests/utils/test_helpers.pysimilarity index 100%rename from test/utils/test_helpers.pyrename to tests/utils/test_helpers.pydiff --git a/test/utils/test_image_utils.py b/tests/utils/test_image_utils.pysimilarity index 100%rename from test/utils/test_image_utils.pyrename to tests/utils/test_image_utils.pydiff --git a/test/utils/test_memory.py b/tests/utils/test_memory.pysimilarity index 100%rename from test/utils/test_memory.pyrename to tests/utils/test_memory.pydiff --git a/test/utils/test_one_hot.py b/tests/utils/test_one_hot.pysimilarity index 100%rename from test/utils/test_one_hot.pyrename to tests/utils/test_one_hot.pydiff --git a/test/utils/test_pointcloud_io.py b/tests/utils/test_pointcloud_io.pysimilarity index 100%rename from test/utils/test_pointcloud_io.pyrename to tests/utils/test_pointcloud_io.pydiff --git a/test/utils/test_print.py b/tests/utils/test_print.pysimilarity index 100%rename from test/utils/test_print.pyrename to tests/utils/test_print.pydiff --git a/test/x/__init__.py b/tests/x/__init__.pysimilarity index 100%rename from test/x/__init__.pyrename to tests/x/__init__.pydiff --git a/test/x/test_detection.py b/tests/x/test_detection.pysimilarity index 100%rename from test/x/test_detection.pyrename to tests/x/test_detection.pydiff --git a/test/x/test_image_classification.py b/tests/x/test_image_classification.pysimilarity index 100%rename from test/x/test_image_classification.pyrename to tests/x/test_image_classification.pydiff --git a/test/x/test_segmentation.py b/tests/x/test_segmentation.pysimilarity index 100%rename from test/x/test_segmentation.pyrename to tests/x/test_segmentation.pydiff --git a/test/x/test_x.py b/tests/x/test_x.pysimilarity index 100%rename from test/x/test_x.pyrename to tests/x/test_x.py