datahold 3.0.0.dev3__py3-none-any.whl → 3.0.1__py3-none-any.whl
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.
- datahold/tests/test_0.py +2 -6
- datahold/tests/test_generic.py +1 -1
- {datahold-3.0.0.dev3.dist-info → datahold-3.0.1.dist-info}/METADATA +2 -2
- {datahold-3.0.0.dev3.dist-info → datahold-3.0.1.dist-info}/RECORD +7 -7
- {datahold-3.0.0.dev3.dist-info → datahold-3.0.1.dist-info}/WHEEL +0 -0
- {datahold-3.0.0.dev3.dist-info → datahold-3.0.1.dist-info}/licenses/LICENSE.txt +0 -0
- {datahold-3.0.0.dev3.dist-info → datahold-3.0.1.dist-info}/top_level.txt +0 -0
datahold/tests/test_0.py
CHANGED
|
@@ -6,7 +6,7 @@ from datahold.core import *
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class TestData(unittest.TestCase):
|
|
9
|
-
def
|
|
9
|
+
def test_constructor_abc(self: Self) -> None:
|
|
10
10
|
with self.assertRaises(Exception):
|
|
11
11
|
core.DataDict.DataDict()
|
|
12
12
|
with self.assertRaises(Exception):
|
|
@@ -14,15 +14,11 @@ class TestData(unittest.TestCase):
|
|
|
14
14
|
with self.assertRaises(Exception):
|
|
15
15
|
core.DataSet.DataSet()
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
class TestHold(unittest.TestCase):
|
|
19
|
-
def test_constructor(self: Self) -> None:
|
|
17
|
+
def test_constructor_core(self: Self) -> None:
|
|
20
18
|
core.HoldDict.HoldDict()
|
|
21
19
|
core.HoldList.HoldList()
|
|
22
20
|
core.HoldSet.HoldSet()
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
class TestDoc(unittest.TestCase):
|
|
26
22
|
def test_doc(self: Self) -> None:
|
|
27
23
|
name: str
|
|
28
24
|
s: str
|
datahold/tests/test_generic.py
CHANGED
|
@@ -23,9 +23,9 @@ class TestDataholdGenerics(unittest.TestCase):
|
|
|
23
23
|
origin: Any
|
|
24
24
|
params: tuple[type, ...]
|
|
25
25
|
sample_types: tuple[type, ...]
|
|
26
|
+
|
|
26
27
|
# Pick some arbitrary distinct types for the parameters
|
|
27
28
|
sample_types = (int, str, float, bytes)
|
|
28
|
-
|
|
29
29
|
params = sample_types[:n_type_params]
|
|
30
30
|
try:
|
|
31
31
|
alias = cls[params if n_type_params > 1 else params[0]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datahold
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1
|
|
4
4
|
Summary: This project wraps common mutable datastructures for inheritance with modification.
|
|
5
5
|
Author-email: Johannes <johannes.programming@gmail.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -28,7 +28,7 @@ Project-URL: Download, https://pypi.org/project/datahold/#files
|
|
|
28
28
|
Project-URL: Index, https://pypi.org/project/datahold/
|
|
29
29
|
Project-URL: Source, https://github.com/johannes-programming/datahold/
|
|
30
30
|
Project-URL: Website, http://datahold.johannes-programming.online/
|
|
31
|
-
Classifier: Development Status ::
|
|
31
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
32
32
|
Classifier: Intended Audience :: Developers
|
|
33
33
|
Classifier: License :: OSI Approved :: MIT License
|
|
34
34
|
Classifier: Natural Language :: English
|
|
@@ -27,7 +27,7 @@ datahold/core/HoldObject.py,sha256=duufyWWUWadr74kXArb4IG0rfORqHoKmy8lE7I-HcFo,2
|
|
|
27
27
|
datahold/core/HoldSet.py,sha256=iRvMne9W-vagEyDrKZF9EQmzXTO1mGPPYe-86mRsqEY,505
|
|
28
28
|
datahold/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
datahold/tests/__init__.py,sha256=xI1RvZiSO-6BYMUNtbtEE10vOk2JdlZnvB5YeBUwEck,430
|
|
30
|
-
datahold/tests/test_0.py,sha256=
|
|
30
|
+
datahold/tests/test_0.py,sha256=ZV_9nO7daqKw5C_royZ1yp0nDqtYrkV2aMrgVWmVjqA,1820
|
|
31
31
|
datahold/tests/test_datahold_TestAbstractness.py,sha256=6-7s6ghjpCSGUEhZs4I7JIMn5BIdeWG2VbCBiwQeQAM,1799
|
|
32
32
|
datahold/tests/test_datahold_TestCopy.py,sha256=l5uyg0RlyzqgTrTPtJ56JUVNQSduoj285gsjQ5Ec-Kc,2748
|
|
33
33
|
datahold/tests/test_datahold_TestDataAttribute.py,sha256=iQhsDkl8X25rA0Mf0d6beIt0I_0ovT1HSkRdAjF-lfo,1589
|
|
@@ -35,9 +35,9 @@ datahold/tests/test_datahold_TestFrozenMutability.py,sha256=GDlSdOHDJMJKDLLh2zNT
|
|
|
35
35
|
datahold/tests/test_datahold_TestInheritance.py,sha256=B-qvhmDjT6zD5atm2g4jgYidduR5IllDJymkTB19P20,2636
|
|
36
36
|
datahold/tests/test_datahold_TestMutableBehavior.py,sha256=Od9_sdtkMDMdTrSV30GKzZRB8hb_TPQEDsaTtNb3Kag,1114
|
|
37
37
|
datahold/tests/test_datahold_TestProtocols.py,sha256=9qobSeQmvEeUXkIeiO6EEu4r4syowBhiVWV4FCojPrk,1831
|
|
38
|
-
datahold/tests/test_generic.py,sha256=
|
|
39
|
-
datahold-3.0.
|
|
40
|
-
datahold-3.0.
|
|
41
|
-
datahold-3.0.
|
|
42
|
-
datahold-3.0.
|
|
43
|
-
datahold-3.0.
|
|
38
|
+
datahold/tests/test_generic.py,sha256=dkSaLAFbHS_8wX61AXXcjwBroEI44O692rqjXC9i2BU,2698
|
|
39
|
+
datahold-3.0.1.dist-info/licenses/LICENSE.txt,sha256=QwqYepQwTN5xG57cngKt6xxYD9z9hw9d3lcI8zSLiNg,1074
|
|
40
|
+
datahold-3.0.1.dist-info/METADATA,sha256=DP_PJ0Cb99EJXpVrfRpyAaTslLvaVV2zZihZcUbNQxo,2585
|
|
41
|
+
datahold-3.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
42
|
+
datahold-3.0.1.dist-info/top_level.txt,sha256=HVRwLAGYbE8XqAfyA2mE3JOS3k6Es4t74wEPmHbojis,9
|
|
43
|
+
datahold-3.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|