Skip to content

Commit 6bd75c1

Browse files
committed
Fix test again
1 parent 1069547 commit 6bd75c1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/TECHNICAL_OVERVIEW.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ When arguments contain class instances, a custom JSON encoder serializes them vi
297297
```json
298298
{
299299
"id": "a1b2c3d4e5f6",
300-
"graph": "{\"version\": \"0.1.0\", \"objects\": {...}, ...}",
300+
"graph": "{\"version\": \"0.1.2\", \"objects\": {...}, ...}",
301301
"function": "mymodule.hypotenuse",
302302
"args": [3.0, 4.0],
303303
"kwargs": {},
@@ -382,7 +382,7 @@ Functions are stored in a content-addressable JSON format. Each function is iden
382382

383383
```json
384384
{
385-
"version": "0.1.0",
385+
"version": "0.1.2",
386386
"objects": {
387387
"a1b2...": {
388388
"name": "add",

examples/package_installation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ async def main() -> None:
139139

140140
# Mismatched package names
141141
print("\n--- PyYAML (install_package_as) ---")
142-
result = await to_yaml.run({"framework": "offwork", "version": "0.1.0"})
142+
result = await to_yaml.run({"framework": "offwork", "version": "0.1.2"})
143143
print(f" YAML output:\n{result}")
144144

145145
print("--- python-dateutil (install_package_as) ---")

tests/test_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def test_json_roundtrip(self) -> None:
332332
def test_to_dict_format(self) -> None:
333333
store = _chain_store()
334334
data = store.to_dict()
335-
assert data["version"] == "0.1.0"
335+
assert data["version"].startswith("0.1")
336336
assert "objects" in data
337337
assert "deps" in data
338338
assert "refs" in data

0 commit comments

Comments
 (0)