Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
700d6bdd
Commit
700d6bdd
authored
Sep 25, 2024
by
Kirill Smelkov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Remove ZODB3 leftovers
Support for ZODB3 was dropped in 2021 in
0802da2b
(Drop support for ZODB3).
parent
38a786a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
lib/testing.py
lib/testing.py
+3
-8
No files found.
lib/testing.py
View file @
700d6bdd
# Wendelin. Testing utilities
# Copyright (C) 2014-202
1
Nexedi SA and Contributors.
# Copyright (C) 2014-202
4
Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
#
# This program is free software: you can Use, Study, Modify and Redistribute
...
...
@@ -249,16 +249,11 @@ class TestDB_ZEO(TestDB_Base):
self
.
zeo_forker
=
forker
# .z5 represents whether we are running with ZEO5 or earlier
dzodb3
=
pkg_resources
.
working_set
.
find
(
pkg_resources
.
Requirement
.
parse
(
'ZODB3'
))
dzeo
=
pkg_resources
.
working_set
.
find
(
pkg_resources
.
Requirement
.
parse
(
'ZEO'
))
v5
=
pkg_resources
.
parse_version
(
'5.0dev'
)
v311
=
pkg_resources
.
parse_version
(
'3.11dev'
)
if
dzodb3
is
not
None
and
dzodb3
.
parsed_version
<
v311
:
self
.
z5
=
False
# ZODB 3.11 just requires latest ZODB & ZEO
else
:
assert
dzeo
is
not
None
self
.
z5
=
(
dzeo
.
parsed_version
>=
v5
)
assert
dzeo
is
not
None
self
.
z5
=
(
dzeo
.
parsed_version
>=
v5
)
def
setup
(
self
):
...
...
Kirill Smelkov
@kirr
·
Sep 25, 2024
Maintainer
.
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment