projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: test_field.py: enable tests using _test_binop_lhs_value_same
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_field.py
diff --git
a/tests/bindings/python/bt2/test_field.py
b/tests/bindings/python/bt2/test_field.py
index 2f4a7a76bac7031b647b680928aa27d4f90c9010..99532e1005ba537ede48ec63d2a1ac70f1dcb18c 100644
(file)
--- a/
tests/bindings/python/bt2/test_field.py
+++ b/
tests/bindings/python/bt2/test_field.py
@@
-323,9
+323,8
@@
class _TestNumericField:
# Tests that the binary operation `op`, when applied to `self._def`,
# does not change its value.
# Tests that the binary operation `op`, when applied to `self._def`,
# does not change its value.
- @unittest.skip('copy is not implemented')
def _test_binop_lhs_value_same(self, op, rhs):
def _test_binop_lhs_value_same(self, op, rhs):
- value_before = copy.copy(self._def)
+ value_before = copy.copy(self._def
_value
)
r, rv = self._binop(op, rhs)
self.assertEqual(self._def, value_before)
r, rv = self._binop(op, rhs)
self.assertEqual(self._def, value_before)
This page took
0.024581 seconds
and
4
git commands to generate.