Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BTrees
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
BTrees
Commits
8753e36a
Commit
8753e36a
authored
Mar 22, 2020
by
Jason Madden
Committed by
GitHub
Mar 22, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #139 from zopefoundation/issue137
Ensure resolution order for all objects is consistent
parents
94809065
e7fec591
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
9 deletions
+25
-9
.travis.yml
.travis.yml
+9
-7
BTrees/Interfaces.py
BTrees/Interfaces.py
+1
-1
BTrees/tests/test_dynamic_btrees.py
BTrees/tests/test_dynamic_btrees.py
+5
-0
CHANGES.rst
CHANGES.rst
+2
-0
tox.ini
tox.ini
+8
-1
No files found.
.travis.yml
View file @
8753e36a
...
...
@@ -30,12 +30,12 @@ jobs:
-
name
:
"
Python:
2.7,
pure
(no
C
extensions)"
python
:
2.7
env
:
PURE_PYTHON=1
-
name
:
"
Python:
3.
6,
pure
(no
C
extensions),
with
coverage
"
python
:
3.
6
env
:
PURE_PYTHON=1 WITH_COVERAGE=1
-
name
:
"
Python:
3.
6,
with
coverage
"
python
:
3.
6
env
:
WITH_COVERAGE=1
-
name
:
"
Python:
3.
8,
pure
(no
C
extensions),
with
coverage,
strict
IRO
"
python
:
3.
8
env
:
PURE_PYTHON=1 WITH_COVERAGE=1
ZOPE_INTERFACE_STRICT_IRO=1
-
name
:
"
Python:
3.
8,
with
coverage,
strict
IRO
"
python
:
3.
8
env
:
WITH_COVERAGE=1
ZOPE_INTERFACE_STRICT_IRO=1
# manylinux wheel builds
-
name
:
64-bit manylinux wheels (all Pythons)
...
...
@@ -91,9 +91,11 @@ install:
script
:
-
python --version
# Temporary use of unittest over zope.testrunner; see tox.ini.
# (WITH_COVERAGE implies STRICT_IRO)
-
|
if [[ "$WITH_COVERAGE" == "1" ]]; then
python -m coverage run -m
zope.testrunner --test-path=. --auto-color --auto-progress --verbose
python -m coverage run -m
unittest discover -s .
else
python -m zope.testrunner --test-path=. --auto-color --auto-progress --verbose
fi
...
...
BTrees/Interfaces.py
View file @
8753e36a
...
...
@@ -129,7 +129,7 @@ class ISet(IKeySequence, ISetMutable):
pass
class
ITreeSet
(
I
Keyed
,
I
SetMutable
):
class
ITreeSet
(
ISetMutable
):
pass
class
IMinimalDictionary
(
ISized
,
IKeyed
):
...
...
BTrees/tests/test_dynamic_btrees.py
View file @
8753e36a
...
...
@@ -43,4 +43,9 @@ for family in _FAMILIES:
_suite
.
addTest
(
unittest
.
defaultTestLoader
.
loadTestsFromModule
(
mod
))
def
test_suite
():
# zope.testrunner protocol
return
_suite
def
load_tests
(
loader
,
standard_tests
,
pattern
):
# pylint:disable=unused-argument
# Pure unittest protocol.
return
test_suite
()
CHANGES.rst
View file @
8753e36a
...
...
@@ -9,6 +9,8 @@
incorrectly left out names. See `PR 132
<https://github.com/zopefoundation/BTrees/pull/132>`_.
- Ensure the interface resolution order of all objects is consistent.
See `issue 137 <https://github.com/zopefoundation/BTrees/issues/137>`_.
4.7.0 (2020-03-17)
==================
...
...
tox.ini
View file @
8753e36a
...
...
@@ -10,9 +10,13 @@ usedevelop = true
extras
=
test
commands
=
zope-testrunner
--test-path
=
. --auto-color --auto-progress []
# Temporary work around. Avoid zope.testrunner pending
# https://github.com/zopefoundation/zope.security/issues/71
python
-m
unittest
discover
-s
BTrees
-t
.
setenv
=
PYTHONFAULTHANDLER
=
1
PYTHONDEVMODE
=
1
ZOPE_INTERFACE_STRICT_IRO
=
1
pure:
PURE_PYTHON
=
1
#[testenv:jython]
...
...
@@ -33,6 +37,9 @@ commands =
coverage
report
--fail-under
=
92
deps
=
coverage
# Temporary; see main testenv.
setenv
=
ZOPE_INTERFACE_STRICT_IRO
=
0
[testenv:docs]
basepython
=
...
...
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