mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 11:15:50 +08:00
Merge remote-tracking branch 'origin/pyfdbgenerators' into pyfdbgenerators
This commit is contained in:
commit
4b65da6db7
@ -132,7 +132,7 @@ def test_fdb_transactional_generator(db):
|
||||
@fdb.transactional
|
||||
def function_that_yields(tr):
|
||||
yield 0
|
||||
assert fdb.get_api_version() < 630, "Pre-6.3, a decorators may wrap a function that yield"
|
||||
assert fdb.get_api_version() < 630, "Pre-6.3, a decorator may wrap a function that yields"
|
||||
except ValueError as e:
|
||||
assert fdb.get_api_version() >= 630, "Post-6.3, a decorator should throw if wrapped function yields"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user