Skip to content

Commit caec81c

Browse files
committed
Merge branch 'release0.11'
2 parents 22e3123 + 47a2684 commit caec81c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
### Changed
1414
- dpctl-capi is now renamed to `libsyclinterface` (#666).
1515

16-
## [0.11.3] - 11/30/2021
16+
## [0.11.4] - 12/03/2021
1717

1818
### Fixed
19+
- Fix tests for nested context factories expecting for integration environment by @PokhodenkoSA in https://github.com/IntelPython/dpctl/pull/705
20+
21+
## [0.11.3] - 11/30/2021
1922

23+
### Fixed
2024
- Set the last byte in allocated char array to zero [cherry picked from #650] (#699)
2125

2226
## [0.11.2] - 11/29/2021

dpctl/tests/test_sycl_queue_manager.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ def test_get_current_backend():
159159
dpctl.set_global_queue("cpu")
160160

161161

162-
def test_nested_context_factory_is_empty_list():
162+
def test_nested_context_factory_is_list():
163163
assert isinstance(dpctl.nested_context_factories, list)
164-
assert not dpctl.nested_context_factories
165164

166165

167166
@contextlib.contextmanager
@@ -181,7 +180,7 @@ def factory():
181180
assert factory in dpctl.nested_context_factories
182181

183182
assert isinstance(dpctl.nested_context_factories, list)
184-
assert not dpctl.nested_context_factories
183+
assert factory not in dpctl.nested_context_factories
185184

186185

187186
@pytest.mark.skipif(not has_cpu(), reason="No OpenCL CPU queues available")

0 commit comments

Comments
 (0)