punit 0.1.0__tar.gz → 0.1.2__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 (30) hide show
  1. {punit-0.1.0 → punit-0.1.2}/PKG-INFO +3 -2
  2. {punit-0.1.0 → punit-0.1.2}/punit/__init__.py +1 -1
  3. {punit-0.1.0 → punit-0.1.2}/punit/__main__.py +2 -2
  4. {punit-0.1.0 → punit-0.1.2}/punit/assertions/exceptions.py +1 -0
  5. {punit-0.1.0 → punit-0.1.2}/punit.egg-info/PKG-INFO +3 -2
  6. {punit-0.1.0 → punit-0.1.2}/pyproject.toml +1 -1
  7. {punit-0.1.0 → punit-0.1.2}/LICENSE +0 -0
  8. {punit-0.1.0 → punit-0.1.2}/README.md +0 -0
  9. {punit-0.1.0 → punit-0.1.2}/punit/TestResult.py +0 -0
  10. {punit-0.1.0 → punit-0.1.2}/punit/assertions/__init__.py +0 -0
  11. {punit-0.1.0 → punit-0.1.2}/punit/assertions/collections.py +0 -0
  12. {punit-0.1.0 → punit-0.1.2}/punit/assertions/strings.py +0 -0
  13. {punit-0.1.0 → punit-0.1.2}/punit/cli.py +0 -0
  14. {punit-0.1.0 → punit-0.1.2}/punit/discovery/TestModuleDiscovery.py +0 -0
  15. {punit-0.1.0 → punit-0.1.2}/punit/discovery/__init__.py +0 -0
  16. {punit-0.1.0 → punit-0.1.2}/punit/facts/Fact.py +0 -0
  17. {punit-0.1.0 → punit-0.1.2}/punit/facts/FactManager.py +0 -0
  18. {punit-0.1.0 → punit-0.1.2}/punit/facts/__init__.py +0 -0
  19. {punit-0.1.0 → punit-0.1.2}/punit/reports/HtmlReportGenerator.py +0 -0
  20. {punit-0.1.0 → punit-0.1.2}/punit/reports/JUnitReportGenerator.py +0 -0
  21. {punit-0.1.0 → punit-0.1.2}/punit/reports/__init__.py +0 -0
  22. {punit-0.1.0 → punit-0.1.2}/punit/runner.py +0 -0
  23. {punit-0.1.0 → punit-0.1.2}/punit/theories/Theory.py +0 -0
  24. {punit-0.1.0 → punit-0.1.2}/punit/theories/TheoryManager.py +0 -0
  25. {punit-0.1.0 → punit-0.1.2}/punit/theories/__init__.py +0 -0
  26. {punit-0.1.0 → punit-0.1.2}/punit.egg-info/SOURCES.txt +0 -0
  27. {punit-0.1.0 → punit-0.1.2}/punit.egg-info/dependency_links.txt +0 -0
  28. {punit-0.1.0 → punit-0.1.2}/punit.egg-info/entry_points.txt +0 -0
  29. {punit-0.1.0 → punit-0.1.2}/punit.egg-info/top_level.txt +0 -0
  30. {punit-0.1.0 → punit-0.1.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: punit
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: A modernized unit-test framework for Python.
5
5
  Author-email: Shaun Wilson <mrshaunwilson@msn.com>
6
6
  Project-URL: Documentation, https://punit.readthedocs.io/
@@ -16,6 +16,7 @@ Classifier: Intended Audience :: Developers
16
16
  Requires-Python: >=3.12
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
+ Dynamic: license-file
19
20
 
20
21
  `pUnit` is a modernized unit-testing framework for Python, inspired by xUnit.
21
22
 
@@ -1,7 +1,7 @@
1
1
  # SPDX-FileCopyrightText: © 2024 Shaun Wilson
2
2
  # SPDX-License-Identifier: MIT
3
3
 
4
- __version__ = '0.1.0'
4
+ __version__ = '0.1.2'
5
5
 
6
6
  from .assertions import *
7
7
  from .facts import *
@@ -42,8 +42,8 @@ async def async_main():
42
42
  if cli.outputFilename is None:
43
43
  print(report)
44
44
  else:
45
- with open(cli.outputFilename, 'wt') as file:
46
- file.write(report)
45
+ with open(cli.outputFilename, 'wb') as file:
46
+ file.write(report.encode())
47
47
  print(f'\n("{cli.reportFormat}" report written to: {cli.outputFilename})')
48
48
  if failureCount > 0:
49
49
  exit(119)
@@ -31,3 +31,4 @@ class raises[TError:Exception]:
31
31
  return type(ex) is expected
32
32
  else:
33
33
  return issubclass(type(ex), expected)
34
+ return False
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: punit
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: A modernized unit-test framework for Python.
5
5
  Author-email: Shaun Wilson <mrshaunwilson@msn.com>
6
6
  Project-URL: Documentation, https://punit.readthedocs.io/
@@ -16,6 +16,7 @@ Classifier: Intended Audience :: Developers
16
16
  Requires-Python: >=3.12
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
+ Dynamic: license-file
19
20
 
20
21
  `pUnit` is a modernized unit-testing framework for Python, inspired by xUnit.
21
22
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "punit"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "A modernized unit-test framework for Python."
5
5
  keywords = ["test", "unittest", "unit-test"]
6
6
  authors = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes