plexus-python-common 1.1.87__tar.gz → 1.1.88__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/PKG-INFO +1 -1
  2. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/testutils.py +4 -1
  3. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/PKG-INFO +1 -1
  4. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/.editorconfig +0 -0
  5. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/.github/workflows/pr.yml +0 -0
  6. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/.github/workflows/push.yml +0 -0
  7. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/.gitignore +0 -0
  8. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/MANIFEST.in +0 -0
  9. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/README.md +0 -0
  10. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/VERSION +0 -0
  11. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/pyproject.toml +0 -0
  12. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/config/config.cfg +0 -0
  13. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/csvutils/data.csv +0 -0
  14. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/csvutils/data.tsv +0 -0
  15. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.baz/file.bar.baz +0 -0
  16. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.baz/file.foo.bar +0 -0
  17. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.baz/file.foo.baz +0 -0
  18. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/dir.foo.bar.baz/file.foo.bar.baz +0 -0
  19. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.bar.baz +0 -0
  20. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.foo.bar +0 -0
  21. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.foo.baz +0 -0
  22. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/file.bar +0 -0
  23. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/file.baz +0 -0
  24. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/file.foo +0 -0
  25. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/setup.cfg +0 -0
  26. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/setup.py +0 -0
  27. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/__init__.py +0 -0
  28. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/__init__.py +0 -0
  29. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/argutils.py +0 -0
  30. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/config.py +0 -0
  31. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/csvutils.py +0 -0
  32. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/dbutils.py +0 -0
  33. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/dtutils.py +0 -0
  34. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/funcutils.py +0 -0
  35. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/iterutils.py +0 -0
  36. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/jsonutils.py +0 -0
  37. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/logger.py +0 -0
  38. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/numutils.py +0 -0
  39. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/pathutils.py +0 -0
  40. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/randutils.py +0 -0
  41. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/retry.py +0 -0
  42. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/span.py +0 -0
  43. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/strutils.py +0 -0
  44. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus/common/utils/typeutils.py +0 -0
  45. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/SOURCES.txt +0 -0
  46. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/dependency_links.txt +0 -0
  47. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/not-zip-safe +0 -0
  48. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/requires.txt +0 -0
  49. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/top_level.txt +0 -0
  50. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/__init__.py +0 -0
  51. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/__init__.py +0 -0
  52. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/__init__.py +0 -0
  53. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/argutils_test.py +0 -0
  54. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/config_test.py +0 -0
  55. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/csvutils_test.py +0 -0
  56. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/dbutils_test.py +0 -0
  57. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/dtutils_test.py +0 -0
  58. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/funcutils_test.py +0 -0
  59. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/iterutils_test.py +0 -0
  60. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/jsonutils_test.py +0 -0
  61. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/logger_test.py +0 -0
  62. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/numutils_test.py +0 -0
  63. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/pathutils_test.py +0 -0
  64. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/randutils_test.py +0 -0
  65. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/retry_test.py +0 -0
  66. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/span_test.py +0 -0
  67. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/strutils_test.py +0 -0
  68. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/testutils_test.py +0 -0
  69. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/typeutils_test.py +0 -0
  70. {plexus_python_common-1.1.87 → plexus_python_common-1.1.88}/test/testenv.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python-common
3
- Version: 1.1.87
3
+ Version: 1.1.88
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13
@@ -1,4 +1,5 @@
1
1
  import abc
2
+ import datetime
2
3
  from decimal import Decimal
3
4
  from typing import Any, Protocol
4
5
 
@@ -69,7 +70,9 @@ def nested_approx(expected, rel: float = None, abs: float = None, nan_ok: bool =
69
70
  return ApproxNestedSequenceLike(expected, rel, abs, nan_ok)
70
71
  if isinstance(expected, Decimal):
71
72
  return ApproxDecimal(expected, to_decimal(rel), to_decimal(abs), nan_ok)
72
- return pytest.approx(expected, rel, abs, nan_ok)
73
+ if isinstance(expected, (datetime.datetime, datetime.date, datetime.time, datetime.timedelta)):
74
+ return pytest.approx(expected, abs=datetime.timedelta(0))
75
+ return pytest.approx(expected, rel=rel, abs=abs, nan_ok=nan_ok)
73
76
 
74
77
 
75
78
  class MockedCallable(Protocol):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python-common
3
- Version: 1.1.87
3
+ Version: 1.1.88
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13