Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesParrott committed May 1, 2023
1 parent ce553dd commit 3a9671a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# toml_tools, Tomli and Tomli-W for Python 2 and Iron Python

v2.0.0 - Returns OrderedDict in Pythons before 3.7 or in IronPython. Passes all 74 tests (refactored to use unittest, which counts fewer than pytest) in cPythons 2.7, and 3.7 to 3.12, and in Iron Pythons 2.7 and 3.4.
v2.0.0
- dump and dumps now return an OrderedDict, in Pythons before 3.7 or in IronPython which should preserve the order of entries (other than listing the root table entries first).
- integers and floats can have underscores in in Python 2
- Passes 312 tests in each of cPythons 2.7, and 3.7 to 3.12, and in Iron Pythons 2.7 and 3.4.

v1.1.1 - fit for purpose! Passes 52 of Hukkin's unittest tests, in Python 2 and Iron Python 2.7
v1.1.1
- fit for purpose! Passes 52 of Hukkin's unittest tests, in Python 2 and Iron Python 2.7

v1.0.0 is a complete overhaul - toml_tools is now based on tomli and tomli-w. Note, unlike toml_tools v0, toml and tomlkit, toml_tools v1 and tomli require files to be opened in bytes mode ('rb').
v1.0.0 is a complete overhaul
- toml_tools is now based on tomli and tomli-w. Note unlike toml_tools v0, toml and tomlkit, that both toml_tools v1 and tomli require files to be opened in bytes mode ('rb'), not text mode ('rt').


# Parent Project number (1/2)'s Readme File (Tomli)
Expand Down
3 changes: 1 addition & 2 deletions tests/test_valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_valid(self, valid = valid):
method = make_test_valid_method(valid_file)
if stem(valid_file) in ("qa-array-inline-nested-1000"
,"qa-table-inline-nested-1000"):
method = unittest.expectedFailure(method)# pytest.xfail("This much recursion is not supported")
continue # pytest.xfail("This much recursion is not supported")

setattr(ValidTests, method_name, method)

Expand All @@ -97,4 +97,3 @@ def test_obj_to_str_mapping(self,
setattr(ValidTests, name, make_test_obj_to_str_mapping_test(obj, expected, multiline_strings))



0 comments on commit 3a9671a

Please sign in to comment.