dummyfunction 1.0.0__py3-none-any.whl → 1.0.2__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.
@@ -3,6 +3,6 @@ from typing import *
3
3
  __all__ = ["dummyfunction"]
4
4
 
5
5
 
6
- def dummyfunction(*args: object, **kwargs: object) -> None:
6
+ def dummyfunction(*args: Any, **kwargs: Any) -> None:
7
7
  "This function does nothing."
8
8
  pass
@@ -1,9 +1,38 @@
1
1
  import unittest
2
2
 
3
+ from dummyfunction.core import dummyfunction
3
4
 
4
- class Test1984(unittest.TestCase):
5
- def test_1984(self):
6
- self.assertEqual(2 + 2, 4, "Ignorance is Strength")
5
+
6
+ class TestDummyFunction(unittest.TestCase):
7
+ def test_dummyfunction_no_args(self):
8
+ """Test dummyfunction with no arguments."""
9
+ try:
10
+ dummyfunction()
11
+ except Exception as e:
12
+ self.fail(f"dummyfunction() raised an exception: {e}")
13
+
14
+ def test_dummyfunction_with_args(self):
15
+ """Test dummyfunction with positional arguments."""
16
+ try:
17
+ dummyfunction(1, 2, 3, "test")
18
+ except Exception as e:
19
+ self.fail(f"dummyfunction(1, 2, 3, 'test') raised an exception: {e}")
20
+
21
+ def test_dummyfunction_with_kwargs(self):
22
+ """Test dummyfunction with keyword arguments."""
23
+ try:
24
+ dummyfunction(a=1, b=2, c="test")
25
+ except Exception as e:
26
+ self.fail(f"dummyfunction(a=1, b=2, c='test') raised an exception: {e}")
27
+
28
+ def test_dummyfunction_with_args_and_kwargs(self):
29
+ """Test dummyfunction with both positional and keyword arguments."""
30
+ try:
31
+ dummyfunction(1, "string", key1=True, key2=None)
32
+ except Exception as e:
33
+ self.fail(
34
+ f"dummyfunction(1, 'string', key1=True, key2=None) raised an exception: {e}"
35
+ )
7
36
 
8
37
 
9
38
  if __name__ == "__main__":
@@ -1,8 +1,8 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: dummyfunction
3
- Version: 1.0.0
4
- Summary: dummyfunction
5
- Author-email: Johannes <johannes-programming@mailfence.com>
3
+ Version: 1.0.2
4
+ Summary: This project provides the dummy function.
5
+ Author-email: Johannes <johannes.programming@gmail.com>
6
6
  License: The MIT License (MIT)
7
7
 
8
8
  Copyright (c) 2025 Johannes
@@ -29,15 +29,18 @@ Project-URL: Index, https://pypi.org/project/dummyfunction/
29
29
  Project-URL: Source, https://github.com/johannes-programming/dummyfunction/
30
30
  Project-URL: Website, https://dummyfunction.johannes-programming.online/
31
31
  Classifier: Development Status :: 5 - Production/Stable
32
+ Classifier: Intended Audience :: Developers
32
33
  Classifier: License :: OSI Approved :: MIT License
33
34
  Classifier: Natural Language :: English
34
35
  Classifier: Operating System :: OS Independent
35
36
  Classifier: Programming Language :: Python
36
37
  Classifier: Programming Language :: Python :: 3
37
38
  Classifier: Programming Language :: Python :: 3 :: Only
38
- Requires-Python: >=3.8
39
+ Classifier: Typing :: Typed
40
+ Requires-Python: >=3.9
39
41
  Description-Content-Type: text/x-rst
40
42
  License-File: LICENSE.txt
43
+ Dynamic: license-file
41
44
 
42
45
  =============
43
46
  dummyfunction
@@ -0,0 +1,9 @@
1
+ dummyfunction/__init__.py,sha256=AKIr1h2RbpFUNNabbduYCRGD70zCugtTb8iAF6M5RrM,67
2
+ dummyfunction/core/__init__.py,sha256=ffmQxu87mnx-JqsSdKDHnJqJbUX40u56Ht_Chd8x5t0,149
3
+ dummyfunction/tests/__init__.py,sha256=ccuQf8RUinh2ZI7Pr2uOY-P3ZVCwNTylyRk896u8cdI,301
4
+ dummyfunction/tests/test_1984.py,sha256=-ZOjJqXtSV3iS-QSg2R0KmX8TAgIpm-hGD3ZtHSCTb8,1311
5
+ dummyfunction-1.0.2.dist-info/licenses/LICENSE.txt,sha256=fOh9FHccUt9OcJPBaVJ482GX4yrl_FxCUk9YRZ53JOI,1074
6
+ dummyfunction-1.0.2.dist-info/METADATA,sha256=RL6PyExdBnA395DA8YEFRptrpjlLMh4S2soogD0KDc0,2398
7
+ dummyfunction-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ dummyfunction-1.0.2.dist-info/top_level.txt,sha256=0n329vR1fNs3LoSrIBywz3WXySZi0ra4Xqpjgf9WtXg,14
9
+ dummyfunction-1.0.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- dummyfunction/__init__.py,sha256=AKIr1h2RbpFUNNabbduYCRGD70zCugtTb8iAF6M5RrM,67
2
- dummyfunction/core/__init__.py,sha256=49JISjsaJT8g6-TurUpQ8ZRVJt0KntSjNQXZ6AhKlsM,155
3
- dummyfunction/tests/__init__.py,sha256=ccuQf8RUinh2ZI7Pr2uOY-P3ZVCwNTylyRk896u8cdI,301
4
- dummyfunction/tests/test_1984.py,sha256=GPfy8FPaGbj-w9uGHkJYSjmlSReVAXwiHS8JydJaERw,187
5
- dummyfunction-1.0.0.dist-info/LICENSE.txt,sha256=fOh9FHccUt9OcJPBaVJ482GX4yrl_FxCUk9YRZ53JOI,1074
6
- dummyfunction-1.0.0.dist-info/METADATA,sha256=2Cq2EAXPKU0FEBB-n7HQ8xOOArNdqxF8GeHt5YI3DVk,2280
7
- dummyfunction-1.0.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
8
- dummyfunction-1.0.0.dist-info/top_level.txt,sha256=0n329vR1fNs3LoSrIBywz3WXySZi0ra4Xqpjgf9WtXg,14
9
- dummyfunction-1.0.0.dist-info/RECORD,,