Commit dbfea935 authored by Kirill Smelkov's avatar Kirill Smelkov

*: Cosmetics

Fix noticed typos, remove shebang from py source not intended to be
executed.
parent 7f45f6da
......@@ -70,7 +70,7 @@ class ZTestData(object):
# - when ZODB does not have txn.extension_bytes support
# - when ZODB might have txn.extension_bytes support
#
# in a test, zext should be used as as follows:
# in a test, zext should be used as follows:
#
# def test_something(zext):
# # bytes for an extension dict
......
......@@ -166,7 +166,7 @@ def ext4subj(subj):
xcookie = "x-cookie" + rand.choice(alnum)
d[xcookie] = cookie
# shufle extension dict randomly - to likely trigger different ordering on save
# shuffle extension dict randomly - to likely trigger different ordering on save
keyv = keys(d)
rand.shuffle(keyv)
ext = {}
......@@ -323,7 +323,7 @@ def gen_testdb(outfs_path, zext=True):
# create a cyclic object -> object reference
# pretty=zpickledis used not to handle this well because in ZODB pickle the reference
# referes to referred type by GET that is prepared by PUT in class part of the pickle.
# refers to referred type by GET that is prepared by PUT in class part of the pickle.
name = rand.choice(keys(root))
obj = root[name]
obj.value = obj
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2019-2022 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment