Skip to content

Commit

Permalink
Merge pull request #437 from jakirkham/tst_pickle5
Browse files Browse the repository at this point in the history
Test with `pickle5` (for older Python versions)
  • Loading branch information
shwina authored Jul 14, 2020
2 parents 74fdeb4 + cb1a1f4 commit 7d2e8d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- PR #421 Capture thread id in logging and improve logger testing
- PR #426 Added multi-threaded support to replay benchmark.
- PR #435 Update conda upload versions for new supported CUDA/Python
- PR #437 Test with `pickle5` (for older Python versions)

## Bug Fixes

Expand Down
9 changes: 8 additions & 1 deletion python/rmm/tests/test_rmm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (c) 2020, NVIDIA CORPORATION.

import pickle
import sys
import tempfile
from itertools import product
Expand All @@ -11,6 +10,14 @@

import rmm

if sys.version_info < (3, 8):
try:
import pickle5 as pickle
except ImportError:
import pickle
else:
import pickle

cuda.set_memory_manager(rmm.RMMNumbaManager)


Expand Down

0 comments on commit 7d2e8d1

Please sign in to comment.