plexus-python-common 1.1.90__tar.gz → 1.1.91__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.90 → plexus_python_common-1.1.91}/PKG-INFO +1 -1
  2. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus_python_common.egg-info/PKG-INFO +1 -1
  3. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/numutils_test.py +13 -6
  4. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/.editorconfig +0 -0
  5. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/.github/workflows/pr.yml +0 -0
  6. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/.github/workflows/push.yml +0 -0
  7. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/.gitignore +0 -0
  8. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/MANIFEST.in +0 -0
  9. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/README.md +0 -0
  10. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/VERSION +0 -0
  11. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/pyproject.toml +0 -0
  12. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/config/config.cfg +0 -0
  13. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/csvutils/data.csv +0 -0
  14. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/csvutils/data.tsv +0 -0
  15. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.baz/file.bar.baz +0 -0
  16. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.baz/file.foo.bar +0 -0
  17. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.baz/file.foo.baz +0 -0
  18. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.foo/dir.foo.bar/dir.foo.bar.baz/file.foo.bar.baz +0 -0
  19. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.bar.baz +0 -0
  20. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.foo.bar +0 -0
  21. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.foo.baz +0 -0
  22. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.foo/file.bar +0 -0
  23. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.foo/file.baz +0 -0
  24. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/resources/unittest/pathutils/dir.foo/file.foo +0 -0
  25. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/setup.cfg +0 -0
  26. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/setup.py +0 -0
  27. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/__init__.py +0 -0
  28. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/__init__.py +0 -0
  29. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/argutils.py +0 -0
  30. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/config.py +0 -0
  31. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/csvutils.py +0 -0
  32. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/dbutils.py +0 -0
  33. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/dtutils.py +0 -0
  34. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/funcutils.py +0 -0
  35. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/iterutils.py +0 -0
  36. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/jsonutils.py +0 -0
  37. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/logger.py +0 -0
  38. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/numutils.py +0 -0
  39. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/pathutils.py +0 -0
  40. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/randutils.py +0 -0
  41. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/retry.py +0 -0
  42. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/span.py +0 -0
  43. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/strutils.py +0 -0
  44. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/testutils.py +0 -0
  45. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus/common/utils/typeutils.py +0 -0
  46. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus_python_common.egg-info/SOURCES.txt +0 -0
  47. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus_python_common.egg-info/dependency_links.txt +0 -0
  48. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus_python_common.egg-info/not-zip-safe +0 -0
  49. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus_python_common.egg-info/requires.txt +0 -0
  50. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/src/plexus_python_common.egg-info/top_level.txt +0 -0
  51. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/__init__.py +0 -0
  52. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/__init__.py +0 -0
  53. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/__init__.py +0 -0
  54. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/argutils_test.py +0 -0
  55. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/config_test.py +0 -0
  56. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/csvutils_test.py +0 -0
  57. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/dbutils_test.py +0 -0
  58. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/dtutils_test.py +0 -0
  59. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/funcutils_test.py +0 -0
  60. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/iterutils_test.py +0 -0
  61. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/jsonutils_test.py +0 -0
  62. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/logger_test.py +0 -0
  63. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/pathutils_test.py +0 -0
  64. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/randutils_test.py +0 -0
  65. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/retry_test.py +0 -0
  66. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/span_test.py +0 -0
  67. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/strutils_test.py +0 -0
  68. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/testutils_test.py +0 -0
  69. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/test/plexus_tests/common/utils/typeutils_test.py +0 -0
  70. {plexus_python_common-1.1.90 → plexus_python_common-1.1.91}/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.90
3
+ Version: 1.1.91
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python-common
3
- Version: 1.1.90
3
+ Version: 1.1.91
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13
@@ -1,5 +1,6 @@
1
1
  import math
2
2
  import unittest
3
+ from contextlib import nullcontext
3
4
  from decimal import Decimal
4
5
 
5
6
  import ddt
@@ -212,7 +213,8 @@ class NumUtilsTest(unittest.TestCase):
212
213
  @ddt.idata(data_real_nan_greater)
213
214
  @ddt.unpack
214
215
  def test_real_nan_greater(self, a, b, expect):
215
- self.assertResult(expect, real_nan_greater(a, b))
216
+ with self.assertWarns(RuntimeWarning) if is_nan(expect) else nullcontext():
217
+ self.assertResult(expect, real_nan_greater(a, b))
216
218
 
217
219
  data_real_smaller = [
218
220
  (None, None, None),
@@ -256,7 +258,8 @@ class NumUtilsTest(unittest.TestCase):
256
258
  @ddt.idata(data_real_nan_smaller)
257
259
  @ddt.unpack
258
260
  def test_real_nan_smaller(self, a, b, expect):
259
- self.assertResult(expect, real_nan_smaller(a, b))
261
+ with self.assertWarns(RuntimeWarning) if is_nan(expect) else nullcontext():
262
+ self.assertResult(expect, real_nan_smaller(a, b))
260
263
 
261
264
  data_real_max = [
262
265
  ([], None),
@@ -296,7 +299,8 @@ class NumUtilsTest(unittest.TestCase):
296
299
  @ddt.idata(data_real_nan_max)
297
300
  @ddt.unpack
298
301
  def test_real_nan_max(self, xs, expect):
299
- self.assertResult(expect, real_nan_max(xs))
302
+ with self.assertWarns(RuntimeWarning) if is_nan(expect) else nullcontext():
303
+ self.assertResult(expect, real_nan_max(xs))
300
304
 
301
305
  data_real_min = [
302
306
  ([], None),
@@ -336,7 +340,8 @@ class NumUtilsTest(unittest.TestCase):
336
340
  @ddt.idata(data_real_nan_min)
337
341
  @ddt.unpack
338
342
  def test_real_nan_min(self, xs, expect):
339
- self.assertResult(expect, real_nan_min(xs))
343
+ with self.assertWarns(RuntimeWarning) if is_nan(expect) else nullcontext():
344
+ self.assertResult(expect, real_nan_min(xs))
340
345
 
341
346
  data_real_mean = [
342
347
  ([], None),
@@ -376,7 +381,8 @@ class NumUtilsTest(unittest.TestCase):
376
381
  @ddt.idata(data_real_nan_mean)
377
382
  @ddt.unpack
378
383
  def test_real_nan_mean(self, xs, expect):
379
- self.assertResult(expect, real_nan_mean(xs))
384
+ with self.assertWarns(RuntimeWarning) if is_nan(expect) else nullcontext():
385
+ self.assertResult(expect, real_nan_mean(xs))
380
386
 
381
387
  data_real_std = [
382
388
  ([], None),
@@ -416,7 +422,8 @@ class NumUtilsTest(unittest.TestCase):
416
422
  @ddt.idata(data_real_nan_std)
417
423
  @ddt.unpack
418
424
  def test_real_nan_std(self, xs, expect):
419
- self.assertResult(expect, real_nan_std(xs))
425
+ with self.assertWarns(RuntimeWarning) if is_nan(expect) else nullcontext():
426
+ self.assertResult(expect, real_nan_std(xs))
420
427
 
421
428
  def assertResult(self, expect, actual):
422
429
  if expect is None: